This repository is used to track all work for the BCGov Platform Services Team (This includes work for: 1. Platform Experience, 2. Developer Experience 3. Platform Operations/OCP 3)
Apache License 2.0
8
stars
17
forks
source link
Update auto-scaledown script to exclude CrunchyDB deployments #4861
Describe the issue
Because the operator owns everything about CrunchyDB deployments, users don't have much direct control over when and how their images and deployments are updated. When the images are updated in Artifactory, this doesn't trigger an update of the deployments so the automation script considers the deployment to be un-updated, and will target them for shutdown.
The automation scripts should be updated to exclude deployments and stateful sets with postgres-operator.crunchydata.com in the label key. This will prevent the automation scripts from shutting down crunchy deployments.
How does this benefit the users of our platform?
Crunchy deployments in dev and test namespaces will not be wrongly scaled down because Openshift thinks the images haven't been updated lately.
Definition of done
[x] Automation scripts now exclude deployments and statefulsets with postgres-operator.crunchydata.com in the label key.
Describe the issue Because the operator owns everything about CrunchyDB deployments, users don't have much direct control over when and how their images and deployments are updated. When the images are updated in Artifactory, this doesn't trigger an update of the deployments so the automation script considers the deployment to be un-updated, and will target them for shutdown.
The automation scripts should be updated to exclude deployments and stateful sets with postgres-operator.crunchydata.com in the label key. This will prevent the automation scripts from shutting down crunchy deployments.
How does this benefit the users of our platform?
Crunchy deployments in dev and test namespaces will not be wrongly scaled down because Openshift thinks the images haven't been updated lately.
Definition of done