Skip to content

Commit 90fd447

Browse files
committed
Fix numbering and Helm repo
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent b357d68 commit 90fd447

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

_posts/2025-07-22-headroom-controller.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -108,32 +108,32 @@ Now set up two priority classes.
108108
109109
1. Create a default priority priorityClassName
110110
111-
```bash
112-
kubectl apply -f - << EOF
113-
apiVersion: scheduling.k8s.io/v1
114-
kind: PriorityClass
115-
metadata:
116-
name: default
117-
value: 1000
118-
globalDefault: true
119-
description: "Default priority class for all pods"
120-
EOF
121-
```
111+
```bash
112+
kubectl apply -f - << EOF
113+
apiVersion: scheduling.k8s.io/v1
114+
kind: PriorityClass
115+
metadata:
116+
name: default
117+
value: 1000
118+
globalDefault: true
119+
description: "Default priority class for all pods"
120+
EOF
121+
```
122122

123123
2. Create a low priority class for the headroom Custom Resources
124124

125-
```bash
126-
kubectl apply -f - <<EOF
127-
apiVersion: scheduling.k8s.io/v1
128-
kind: PriorityClass
129-
metadata:
130-
name: headroom
131-
description: Low priority class for headroom pods
132-
globalDefault: false
133-
preemptionPolicy: Never
134-
value: -10
135-
EOF
136-
```
125+
```bash
126+
kubectl apply -f - <<EOF
127+
apiVersion: scheduling.k8s.io/v1
128+
kind: PriorityClass
129+
metadata:
130+
name: headroom
131+
description: Low priority class for headroom pods
132+
globalDefault: false
133+
preemptionPolicy: Never
134+
value: -10
135+
EOF
136+
```
137137
138138
Within a short period of time, a new Deployment will be created with the request values you specified.
139139
@@ -255,7 +255,7 @@ spec:
255255
You can get started right away, even if you're not an OpenFaaS customer. OpenFaaS is not a pre-requisite, but we've put it under the brand to signal to customers that this is something we are supporting, and think is an important add-on for any cluster autoscaler.
256256
257257
```bash
258-
helm repo add openfaas https://openfaas.github.io/faas-helm/
258+
helm repo add openfaas https://openfaas.github.io/faas-netes/
259259
helm repo update
260260
```
261261

0 commit comments

Comments
 (0)