Add noexecute taint on longhorn
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>rewrite
parent
5d0f56ce38
commit
28d946cae5
|
@ -15,6 +15,7 @@
|
||||||
when: not k3s_status.stat.exists
|
when: not k3s_status.stat.exists
|
||||||
ansible.builtin.command: |
|
ansible.builtin.command: |
|
||||||
/tmp/k3s_install.sh \
|
/tmp/k3s_install.sh \
|
||||||
|
--node-taint CriticalAddonsOnly=true:NoExecute \
|
||||||
--node-label longhorn=true
|
--node-label longhorn=true
|
||||||
environment:
|
environment:
|
||||||
K3S_URL: "https://{{ k3s.loadbalancer.ip }}:{{ k3s.loadbalancer.default_port }}"
|
K3S_URL: "https://{{ k3s.loadbalancer.ip }}:{{ k3s.loadbalancer.default_port }}"
|
||||||
|
|
Loading…
Reference in New Issue