Description
During one of the recent refactor PRs, a spelling suggestion came up to better align with the HPA spec:
{{- with .Values.multidim.autoscaling.behavior }}
to match with the spelling in the spec
Originally posted by @sunu in #220 (comment)
The eoapi/values.yaml has always used the UK English behaviour
, but the HPA templates reference the arg as the US English behavior
(even before the refactor):
eoapi-k8s/helm-chart/eoapi/templates/services/hpa.yaml
Lines 16 to 17 in c7176cf
eoapi-k8s/helm-chart/eoapi/templates/services/stac/hpa.yaml
Lines 15 to 16 in 5cdf18e
eoapi-k8s/helm-chart/eoapi/values.yaml
Lines 353 to 355 in 5cdf18e
Options depend on impact and, since we're still getting a sense of usage, these err on the side of caution:
- The template should be patched to use the current value spelling (UK English)
- If we want to align with the HPA spec (US English):
- Changing at the values level seems like a larger versioning consideration. Include when we cut the next minor/major.
- If we know we aren't doing a bigger release anytime soon, we could also patch the template and values file to use either UK/US until switching to just US.
- This risks some of the conditional complexity described in Helm Chart Refactoring Proposal: Improving Readability and Maintainability #211, but mentioning because deployed instances have likely always used the HPA defaults.
- According to the spec, our
behavior.scaleDown.stabilizationWindowSeconds
setting is 1/5 of the default — not sure if that's significant enough to justify supporting both. FWIW, its one of only a few values specifically documented:
eoapi-k8s/docs/configuration.md
Lines 59 to 61 in 5cdf18e
Wanted to open up the floor for input. Happy to jump on a PR — would likely start with patching the template spelling to UK (1.) if I hear nothing here.