Skip to content

Commit 3c19de2

Browse files
committed
fix: SSM 세션 타임아웃 360초로 증가, Calico wait 원복
kubectl wait --timeout=300s 복원, SSM 타임아웃(기본 60초)을 360초로 증가하여 장시간 명령 실행 지원.
1 parent 22a54aa commit 3c19de2

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

IaC/3-v3/ansible/inventory/aws_ec2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ compose:
3030
ansible_connection: "'aws_ssm'"
3131
ansible_aws_ssm_region: "'ap-northeast-2'"
3232
ansible_aws_ssm_bucket_name: "'dojangkok-v3-ansible-ssm'"
33+
ansible_aws_ssm_timeout: 360
3334
ansible_user: ubuntu
3435
k8s_role: tags['k8s:role']
3536
k8s_nodepool: tags['k8s:nodepool']

IaC/3-v3/ansible/roles/calico/tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
kubectl --kubeconfig=/home/ubuntu/.kube/config
3838
wait --for=condition=Ready pods
3939
--all -n calico-system
40-
--timeout=50s
41-
retries: 10
42-
delay: 15
40+
--timeout=300s
41+
retries: 3
42+
delay: 10
4343
register: calico_ready
4444
until: calico_ready.rc == 0

0 commit comments

Comments
 (0)