We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2447e07 commit 5582d85Copy full SHA for 5582d85
_posts/2025-07-22-headroom-controller.md
@@ -173,16 +173,16 @@ spec:
173
spec:
174
template:
175
176
- serviceAccountName: headroom-scaler
+ serviceAccountName: headroom-scaler
177
containers:
178
- name: kubectl
179
image: alpine/kubectl:latest # Or a specific version
180
command:
181
- - "/bin/sh"
182
- - "-c"
183
- - |
184
- apk add --no-cache kubectl
185
- kubectl scale headroom/openfaas-fn-buffer --replicas=0
+ - "/bin/sh"
+ - "-c"
+ - |
+ apk add --no-cache kubectl
+ kubectl scale headroom/openfaas-fn-buffer --replicas=0
186
```
187
188
The Cron Job will scale the headroom down to 0 replicas at midnight every day.
0 commit comments