Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-12515

Redeploy squash to Kubernetes 1.8

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      SQuaSH database backups required alpha features enabled to use CronJob resource (batch/v2alpha1)

      This has been deprecated and cluster version 1.8 switchs to batch/v1beta1 which is enabled by default in the API server.

      Also we need to fix the squash-dash.lsst.codes -> squash.lsst.codes creation which is done manual currently.

        Attachments

          Issue Links

            Activity

            Hide
            afausti Angelo Fausti added a comment - - edited

            Manual backups can be executed with this command, the AWS S3 credentials and the slack webook are obtained from the squash-db-backup secret in the squash-prod namespace.

             
             kubectl run --attach --rm  --restart=Never --image=lsstsqre/kube-backup:latest squash-db-backup -- --task=backup-mysql-exec --namespace=squash-prod --secret=squash-db-backup --pod=<squash-db pod name>  --container=mariadb
            

            Show
            afausti Angelo Fausti added a comment - - edited Manual backups can be executed with this command, the AWS S3 credentials and the slack webook are obtained from the squash-db-backup secret in the squash-prod namespace.   kubectl run --attach --rm --restart=Never --image=lsstsqre/kube-backup:latest squash-db-backup -- --task=backup-mysql-exec --namespace=squash-prod --secret=squash-db-backup --pod=<squash-db pod name> --container=mariadb
            Show
            afausti Angelo Fausti added a comment - - edited Merged PR's with reviewed README instructions: https://github.com/lsst-sqre/squash-db/pull/6/ https://github.com/lsst-sqre/squash-api/pull/9 https://github.com/lsst-sqre/squash-bokeh/pull/8 https://github.com/lsst-sqre/squash-dash/pull/6 https://github.com/lsst-sqre/squash-deployment/pull/9

              People

              Assignee:
              afausti Angelo Fausti
              Reporter:
              afausti Angelo Fausti
              Watchers:
              Angelo Fausti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.