Add --timeout option to Longhorn Helm upgrade tasks for improved deployment control
This commit is contained in:
4
ansible/roles/noble_longhorn/defaults/main.yml
Normal file
4
ansible/roles/noble_longhorn/defaults/main.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
# Helm --wait default (5m) is often too short for first Longhorn install on several nodes
|
||||||
|
# (image pulls + manager/driver ordering). See ansible/roles/noble_metallb/defaults/main.yml.
|
||||||
|
noble_helm_longhorn_wait_timeout: 20m
|
||||||
@@ -27,6 +27,8 @@
|
|||||||
- "{{ noble_repo_root }}/clusters/noble/bootstrap/longhorn/values.yaml"
|
- "{{ noble_repo_root }}/clusters/noble/bootstrap/longhorn/values.yaml"
|
||||||
- --force-conflicts
|
- --force-conflicts
|
||||||
- --wait
|
- --wait
|
||||||
|
- --timeout
|
||||||
|
- "{{ noble_helm_longhorn_wait_timeout }}"
|
||||||
environment:
|
environment:
|
||||||
KUBECONFIG: "{{ noble_kubeconfig }}"
|
KUBECONFIG: "{{ noble_kubeconfig }}"
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|||||||
Reference in New Issue
Block a user