Add noexecute taint on longhorn

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
rewrite
Tuan-Dat Tran 2024-10-13 21:49:10 +02:00
parent 5d0f56ce38
commit 28d946cae5
1 changed files with 1 additions and 0 deletions

View File

@ -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 }}"