9035: Make Cilium rolling-restart delay/timeout configurable (#9176)

See #9035
This commit is contained in:
Tristan
2022-08-22 10:37:44 +01:00
committed by GitHub
parent ab938602a9
commit bbd1161147
3 changed files with 35 additions and 2 deletions

View File

@@ -14,8 +14,8 @@
command: "{{ kubectl }} -n kube-system get pods -l k8s-app=cilium -o jsonpath='{.items[?(@.status.containerStatuses[0].ready==false)].metadata.name}'" # noqa 601
register: pods_not_ready
until: pods_not_ready.stdout.find("cilium")==-1
retries: 30
delay: 10
retries: "{{ cilium_rolling_restart_wait_retries_count | int }}"
delay: "{{ cilium_rolling_restart_wait_retries_delay_seconds | int }}"
failed_when: false
when: inventory_hostname == groups['kube_control_plane'][0]