Scale to Zero Replicas
Scale to zero replicas⚓︎
To autoscale everything in a cluster off except for the operator pod, add this line to the top level spec:
scale_off : true
Only the operator pod remains running, to allow scaling back up.
... kubernetes_profile: gcp hydrolix_url: https://host.hydrolix.net env: EMAIL_PASSWORD: db_bucket_region: us-central1 scale_off: true <--- Turn everything off
It takes a few minutes for all components to scale down.
To scale back up, remove scale_off : true and apply the changes to the hydrolixcluster.yaml file.