bcgov/MFIN-Data-Catalogue

ToDo's out of DevOps Q&A meetings

Closed this issue · 10 comments

OP timer


The following tasks are from notes taken in the two Q&A sessions with Will.

These are tasks we agreed to do, but I'm not sure if they are all Will or not. I'll assign @sylus and @chrislaick .

Chris, I would like to assume these are Will unless they have your name beside them. Could you please add your name beside items (if any) you will be looking after?

    • Allow to configure the backup days to keep from hardcoded
    • Set the maintenance mode so is hardcoded during updatedb process
    • Proper inheritance for postgres cluster resources into values.yaml
    • Push the solr configuration to the private tenants repo
    • Chris to send Will the HA proxy yaml for the router from another config using IP cidr block egress
    • Will to check into the key job failed for chris
    • Document the the backup / restore with PGO process and give the dev/devOps folks a little page for the 24th
    • Do a backup / restore from an hour before meeting and walk through the restore (only got to discuss)
    • Collaboratively go through a helm dep chart upgrade such as solr / varnish as part of dev walkthrough

Assigned to @sylus

    • Please provide drush command for exporting postgres DB for use in things like DDEV

@NicoledeGreef is 11 the deployment that AppOps did with Liam?

The solr core's configuration I pushed to the tenants repo since that is where solr is installed think made the most sense.

I haven't been able to find any information about that failed job but I'll check again tomorrow.

@CraigClark so there is no easy or clean way to print a custom message when exec'ing into a container.

Is it possible that when drush status is run we get @lkmorlan to add a custom message prepended to the output?

Perhaps using pre-command instead of alter?

https://github.com/drush-ops/example-drush-extension/blob/78f98a333a7d12460329ba2dbb54e66b36188b57/ExampleStatusFieldHook.php#L51

The custom message to prepend:

    # Reminder to execute the following command
    source /vault/secrets/secrets.env

@sylus I've provided the route example with IP address ranges to allow.

I haven't been able to find any information about that failed job but I'll check again tomorrow.

@sylus This might be old, but the Alerts page here is showing which Job has failed:
https://console.apps.silver.devops.gov.bc.ca/dev-monitoring/ns/ea352d-prod/alerts

And this is the offending Job:
https://console.apps.silver.devops.gov.bc.ca/k8s/ns/ea352d-prod/jobs/mfin-data-catalogue-drupal-cron-28487625
Reason: BackoffLimitExceeded

Please provide drush command for exporting postgres DB for use in things like DDEV

There isn't a drush command for this. However we did meet with Chris and Dan yesterday and walked them through the process of getting a DB off prod and importing it locally on DDEV. There is a recording of this session and @chrislaick is going to document the commands in the wiki for local development

Collaboratively go through a helm dep chart upgrade such as solr / varnish as part of dev walkthrough

Session completed for updating SOLR on May 24

Do a backup / restore from an hour before meeting and walk through the restore

@NicoledeGreef I don't think we are going to have time for this.

Do a backup / restore from an hour before meeting and walk through the restore

@NicoledeGreef I don't think we are going to have time for this.

@CraigClark I did go over it verbally in one of the meetings but in addition I added some quick notes in my M.R. for the bcbb-gitops-docs repo.

https://github.com/bcgov/bcbb-gitops-docs/pull/5/files#diff-d5950c0d6bb7ac4b4e8ee8223b7a1e466d851d8b8772ae703797d5f95a0c4723