mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2026-10-23 20:22:03 +02:00
fix(ci): harden calico apiserver wait and extend molecule job timeout
- Bump calico system resources wait retries 30->60 and delay 7->10 so the slow-to-reconcile calico-apiserver deployment has enough time under nested-virt - Raise the molecule step timeout-minutes from 90 to 150 to accommodate contended 5-node scenarios (cilium, kube-vip) that were hitting the 90-min cap
This commit is contained in:
1 parent
a5a14c95a7
commit
c40c5f124d
2 files changed
+3
-3
No files matched your search
@@ -88,7 +88,7 @@ jobs:
|
|||||||
trap stop_monitor EXIT
|
trap stop_monitor EXIT
|
||||||
/usr/bin/time -v -o "$timing_file" \
|
/usr/bin/time -v -o "$timing_file" \
|
||||||
molecule test --scenario-name ${{ matrix.scenario }}
|
molecule test --scenario-name ${{ matrix.scenario }}
|
||||||
timeout-minutes: 90
|
timeout-minutes: 150
|
||||||
env:
|
env:
|
||||||
ANSIBLE_K3S_LOG_DIR: ${{ runner.temp }}/logs/k3s-ansible/${{ matrix.scenario }}
|
ANSIBLE_K3S_LOG_DIR: ${{ runner.temp }}/logs/k3s-ansible/${{ matrix.scenario }}
|
||||||
ANSIBLE_SSH_RETRIES: 4
|
ANSIBLE_SSH_RETRIES: 4
|
||||||
|
|||||||
@@ -104,8 +104,8 @@
|
|||||||
register: cr_result
|
register: cr_result
|
||||||
changed_when: false
|
changed_when: false
|
||||||
until: cr_result is succeeded
|
until: cr_result is succeeded
|
||||||
retries: 30
|
retries: 60
|
||||||
delay: 7
|
delay: 10
|
||||||
with_items:
|
with_items:
|
||||||
- { name: calico-typha, type: deployment, namespace: calico-system }
|
- { name: calico-typha, type: deployment, namespace: calico-system }
|
||||||
- { name: calico-kube-controllers, type: deployment, namespace: calico-system }
|
- { name: calico-kube-controllers, type: deployment, namespace: calico-system }
|
||||||
|
|||||||
Reference in new issue
Block a user