설명
새 GKE Standard 노드 풀에서는 자동 복구가 기본으로 켜집니다. Autopilot에서는 끌 수 없습니다. Crossplane 명세에 autoRepair가 없으면 GKE에서 실제 노드 풀의 설정을 확인하세요.
잠재적 영향
복구를 끄면 상태 점검에 계속 실패하는 노드가 수동 조치를 기다리게 됩니다. 복구 중에는 노드가 비워지고 다시 만들어질 수 있습니다.
해결 방법
spec.forProvider.management.autoRepair를 true로 설정하세요. Crossplane이 변경을 반영한 뒤 GKE에서 해당 풀의 설정, 노드 상태와 복구 이벤트를 확인하세요. 노드가 사라져도 다른 복제본이 서비스를 계속할 수 있게 하고 영구 데이터는 백업하세요. 애플리케이션 오류는 별도로 해결해야 합니다.
예시
예시는 모두 initialNodeCount: 3을 유지하고 자동 복구 설정만 바꿉니다. 리소스 이름과 대상 클러스터 등 배포에 필요한 값을 추가하세요.
변경 전
yaml
apiVersion: container.gcp.crossplane.io/v1beta1
kind: NodePool
spec:
forProvider:
management:
autoRepair: false
initialNodeCount: 3
변경 후
yaml
apiVersion: container.gcp.crossplane.io/v1beta1
kind: NodePool
spec:
forProvider:
management:
autoRepair: true
initialNodeCount: 3