Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pkg/templates/partials/manifests.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,14 @@ spec:
app: toe
control-plane: controller-manager
spec:
# TOE mounts the device keys from hostPath /etc/teknoir and signs its MQTT JWT with them, so
# it must run on the k3s server node (the device identity). k3s labels server nodes with
# node-role.kubernetes.io/control-plane=true; joined agent nodes do not carry it.
# Keep nodeSelector on the line right after priorityClassName: playbooks/toe-image.yml in the
# ansible repo recognises the pin only there.
priorityClassName: high-priority-toe
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
containers:
- args:
- --health-probe-bind-address=:8081
Expand Down
7 changes: 7 additions & 0 deletions pkg/templates/testdata/docker_server.golden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,14 @@ spec:
app: toe
control-plane: controller-manager
spec:
# TOE mounts the device keys from hostPath /etc/teknoir and signs its MQTT JWT with them, so
# it must run on the k3s server node (the device identity). k3s labels server nodes with
# node-role.kubernetes.io/control-plane=true; joined agent nodes do not carry it.
# Keep nodeSelector on the line right after priorityClassName: playbooks/toe-image.yml in the
# ansible repo recognises the pin only there.
priorityClassName: high-priority-toe
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
containers:
- args:
- --health-probe-bind-address=:8081
Expand Down
7 changes: 7 additions & 0 deletions pkg/templates/testdata/server.golden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2763,7 +2763,14 @@ spec:
app: toe
control-plane: controller-manager
spec:
# TOE mounts the device keys from hostPath /etc/teknoir and signs its MQTT JWT with them, so
# it must run on the k3s server node (the device identity). k3s labels server nodes with
# node-role.kubernetes.io/control-plane=true; joined agent nodes do not carry it.
# Keep nodeSelector on the line right after priorityClassName: playbooks/toe-image.yml in the
# ansible repo recognises the pin only there.
priorityClassName: high-priority-toe
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
containers:
- args:
- --health-probe-bind-address=:8081
Expand Down
7 changes: 7 additions & 0 deletions pkg/templates/testdata/server.roles.golden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2916,7 +2916,14 @@ spec:
app: toe
control-plane: controller-manager
spec:
# TOE mounts the device keys from hostPath /etc/teknoir and signs its MQTT JWT with them, so
# it must run on the k3s server node (the device identity). k3s labels server nodes with
# node-role.kubernetes.io/control-plane=true; joined agent nodes do not carry it.
# Keep nodeSelector on the line right after priorityClassName: playbooks/toe-image.yml in the
# ansible repo recognises the pin only there.
priorityClassName: high-priority-toe
nodeSelector:
node-role.kubernetes.io/control-plane: "true"
containers:
- args:
- --health-probe-bind-address=:8081
Expand Down
Loading