add no schedule taint to casa-mini-minion-01, add toleration to deployments
This commit is contained in:
@@ -326,3 +326,7 @@ curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.36.1+k3s1 INSTALL_K3S_EXEC
|
|||||||
```
|
```
|
||||||
|
|
||||||
Change kubectl -n kube-system edit configmap local-path-config on kube-system to set path to provisioner.
|
Change kubectl -n kube-system edit configmap local-path-config on kube-system to set path to provisioner.
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
kubectl taint nodes casa-mini-minion-01 infra.limbosolutions.com/dedicated=casa-mini-minion-01:NoSchedule
|
||||||
|
```
|
||||||
|
|||||||
@@ -19,6 +19,11 @@ spec:
|
|||||||
|
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/hostname: casa-mini-minion-01
|
kubernetes.io/hostname: casa-mini-minion-01
|
||||||
|
tolerations:
|
||||||
|
- key: "infra.limbosolutions.com/dedicated"
|
||||||
|
operator: "Equal"
|
||||||
|
value: "casa-mini-minion-01"
|
||||||
|
effect: "NoSchedule"
|
||||||
|
|
||||||
ingressClass:
|
ingressClass:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -16,6 +16,12 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/hostname: casa-mini-minion-01
|
kubernetes.io/hostname: casa-mini-minion-01
|
||||||
|
tolerations:
|
||||||
|
- key: "infra.limbosolutions.com/dedicated"
|
||||||
|
operator: "Equal"
|
||||||
|
value: "casa-mini-minion-01"
|
||||||
|
effect: "NoSchedule"
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: zigbee2mqtt
|
- name: zigbee2mqtt
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|||||||
Reference in New Issue
Block a user