Wait for termination grace period when scaling down the deployments (#1537)

This commit is contained in:
Hao Liu
2023-08-28 18:37:45 -04:00
committed by GitHub
parent 0e0f413e82
commit c949d6e58d

View File

@@ -16,6 +16,7 @@
namespace: "{{ ansible_operator_meta.namespace }}"
replicas: 0
wait: yes
wait_timeout: "{{ termination_grace_period_seconds | default(120) }}"
loop:
- "{{ ansible_operator_meta.name }}-task"
- "{{ ansible_operator_meta.name }}-web"