Skip to content

docs(eks-best-practices): #98 감사 교정 -- pod-lifecycle 2/2 probe-EKS·LB·종료 예제 (KO/EN) - #178

Merged
devfloor9 merged 2 commits into
mainfrom
fix/g98-pod-lifecycle-2
Oct 19, 2026
Merged

devfloor9 merged 2 commits into
mainfrom
fix/g98-pod-lifecycle-2

Conversation

@devfloor9

Copy link
Copy Markdown
Owner

요약

2026-09-19 전수 감사 이슈 #98(EKS 운영)의 미처리 항목 중, 2026-10-15 재조정에서 "현재 텍스트에 결함이 남아 있고 공개 정보로 고칠 수 있음" 또는 "한국어 정본만 고쳐지고 영어판에 옛 문구가 남음"으로 판정된 항목을 섹션 단위로 교정하는 PR 시리즈의 하나입니다. 이 PR은 eks-best-practices operations-reliability/pod-lifecycle (part 2/2) 영역의 문서 5편(KO 정본 + EN 번역)에 걸친 43건: 적용 42, 부분 적용 1을 다룹니다.

교정 원칙은 저장소 WRITING_GUIDE.md 5절(사실 보존과 출처)을 따랐습니다. 직접 열어 확인한 1차 공개 출처(aws.amazon.com, docs.aws.amazon.com, docs.spring.io, github.com, go.dev, karpenter.sh, kubernetes.io, raw.githubusercontent.com)로 확인되는 사실은 바로잡고 항목마다 출처를 기록했으며, 출처가 없는 성능·비용·효과 수치는 "예시·추정" 표기로 한정하거나 삭제했고, 존재하지 않는 제품·플래그·API는 삭제했습니다. 수치·버전·명령을 새로 만들어 넣은 곳은 없으며, 저자 판단이 필요한 항목은 수정하지 않고 아래 "보류 항목"에 남겼습니다. 영어판은 한국어 정본의 변경을 같은 자리에 반영했습니다.

처리 항목 (43건: 적용 42, 부분 적용 1)

probe-basics, probe-eks-features, probe-load-balancers (28건)

항목 문서 변경 전 → 변경 후 (요지) 근거
HYP-OPS-085 probe-load-balancers Readiness Gates가 무중단 "보장" → "기여"로 완화하고 전제 조건(주입 레이블·버전·헬스체크 설정·드레이닝) 추가 https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/v2.14.0/docs/deploy/pod_readiness_gate.md
HYP-OPS-086 probe-eks-features kubelet Probe가 API Server에 집중 → 노드 로컬 실행이라 API Server를 거치지 않음으로 정정 https://github.com/kubernetes/kubernetes/blob/v1.34.0/pkg/probe/http/request.go
HYP-OPS-183 probe-basics Startup Probe "필수" → 초기화 시간·Liveness 설정에 따라 권장으로 한정 https://github.com/kubernetes/website/blob/release-1.34/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
HYP-OPS-184 probe-basics Java grpc-health-check → io.grpc:grpc-services의 HealthStatusManager로 교체 https://github.com/grpc/grpc-java/blob/master/services/build.gradle
HYP-OPS-185 probe-basics successThreshold "Readiness만 1 이상" → Liveness/Startup은 1만, Readiness만 1 초과 가능으로 정정 https://github.com/kubernetes/website/blob/release-1.34/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
HYP-OPS-186 probe-basics 최소 복구 = successThreshold×periodSeconds → (successThreshold-1)×periodSeconds(첫 성공 이후), 예시 10초→약 5초 https://github.com/kubernetes/website/blob/release-1.34/content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
HYP-OPS-187 probe-eks-features VPC CNI 환경변수/ConfigMap 활성화 → NFM 애드온 기반 콘솔/CLI/API 경로로 교체, 해당 키 미존재 명시 https://docs.aws.amazon.com/eks/latest/userguide/network-observability.html
HYP-OPS-188 probe-eks-features Logs Insights 쿼리 → 필드가 한 이벤트에 수집될 때만 동작하는 예시로 한정 한정 표기
HYP-OPS-189 probe-eks-features 알람 JSON ConfigMap → ConfigMap만으로 알람 생성 안 됨 명시, ACK/put-metric-alarm/IaC 안내 https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html
HYP-OPS-190 probe-eks-features Probe 요청 전체 경로 추적 → 집계 플로우 메트릭(재전송·RTO·전송량)으로 정정 https://docs.aws.amazon.com/eks/latest/userguide/network-observability.html
HYP-OPS-191 probe-eks-features "2025년 12월 발표" 날짜 삭제 삭제
HYP-OPS-192 probe-eks-features 404 bundle.yaml URL·EKSControlPlaneMetrics CRD → amazon-cloudwatch-observability 애드온으로 교체 https://docs.aws.amazon.com/eks/latest/userguide/observability-dashboard.html
HYP-OPS-193 probe-eks-features cloudwatch.amazonaws.com/v1alpha1 Alarm → ACK MetricAlarm(cloudwatch.services.k8s.aws/v1alpha1), p99는 extendedStatistic https://github.com/aws-controllers-k8s/cloudwatch-controller/blob/main/config/crd/bases/cloudwatch.services.k8s.aws_metricalarms.yaml
HYP-OPS-196 probe-eks-features 최대 노드 수(1,000/2,500/5,000)를 공식 출처 미확인 참고 추정치로 한정 한정 표기
HYP-OPS-197 probe-eks-features 미지원 --control-plane-type/--control-plane-tier 플래그 삭제, 표준 명령으로 변경 https://docs.aws.amazon.com/cli/latest/reference/eks/create-cluster.html
HYP-OPS-198 probe-eks-features 효과 없는 Deployment control-plane-tier 애너테이션 제거, 티어는 클러스터 설정임을 명시 https://docs.aws.amazon.com/cli/latest/reference/eks/update-cluster-config.html
HYP-OPS-200 probe-eks-features "향후 동적 변경 지원 예정" 단정 → 티어는 클러스터 설정, 변경 여부는 문서 참조로 완화 https://docs.aws.amazon.com/eks/latest/userguide/eks-provisioned-control-plane.html
HYP-OPS-202 probe-eks-features httpHeaders 값이 정적 문자열이라 Secret 미참조임을 설명(앱/사이드카 검증 권장) https://github.com/kubernetes/kubernetes/blob/v1.34.0/pkg/probe/http/request.go
HYP-OPS-203 probe-eks-features Nov 2 2025 EKS 캠페인 → 블로그 실제 범위(EC2/ECS IAM 자격)로 정정, 가상 예시로 표기 https://aws.amazon.com/blogs/security/cryptomining-campaign-targeting-amazon-ec2-and-amazon-ecs/
HYP-OPS-205 probe-eks-features JSON 내 인라인 주석 # High, Critical 제거(YAML 주석으로 이전), 파싱 가능 https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html
HYP-OPS-206 probe-eks-features NetworkPolicy podSelector pod:{name} → app:{label}(실제 Pod 레이블 일치) https://github.com/kubernetes/website/blob/release-1.34/content/en/docs/concepts/services-networking/network-policies.md
HYP-OPS-208 probe-load-balancers 단일 ALB/NLB 열 → ALB·NLB 분리, NLB 타임아웃 프로토콜별(TCP 10초/HTTP 6초), ELB API 기본값·LBC 재정의 주석 https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health-checks.html
HYP-OPS-209 probe-load-balancers 다이어그램 "헬스체크 후 등록" → "등록(초기 상태) 후 헬스체크로 healthy" 순서로 정정 https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html
HYP-OPS-212 probe-load-balancers Gateway 통합에 전제 조건(CRD·피처 게이트)과 프로덕션 비권장 경고 추가, L7/L4 지원 버전 명시 https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/v2.14.0/docs/guide/gateway/gateway.md
HYP-OPS-213 probe-load-balancers Ingress 가중치 카나리 "어렵거나 불가능" → forward action 어노테이션으로 지원으로 정정 https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/v2.14.0/docs/guide/ingress/annotations.md
HYP-OPS-214 probe-load-balancers HealthCheckPolicy 4건 → TargetGroupConfiguration(gateway.k8s.aws/v1beta1)로 재작성, 표·그림·다이어그램 참조 수정 https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/v2.14.0/docs/guide/gateway/targetgroupconfig.md
HYP-OPS-215 probe-load-balancers GRPCRoute v1alpha2 → v1(Gateway API 1.4 표준) https://github.com/kubernetes-sigs/gateway-api/blob/v1.4.0/config/crd/standard/gateway.networking.k8s.io_grpcroutes.yaml
HYP-OPS-216 probe-load-balancers 확인 명령 조건 타입 target-health.gateway.networking.k8s.io jsonpath → target-health.elbv2.k8s.aws grep https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/v2.14.0/docs/deploy/pod_readiness_gate.md

보류: 없음 (보류/미처리 항목 없음). HYP-OPS-196은 부분 적용으로, 최대 노드 수를 삭제하지 않고 참고 추정치로 한정했습니다. 최대 노드 수 열의 완전 삭제 여부는 작성자 판단 사항입니다.

shutdown-karpenter, shutdown-languages (15건)

항목 문서 변경 전 → 변경 후 (요지) 근거
HYP-OPS-251 shutdown-karpenter 예약 budget에 schedule만 있음 → duration: 1h 추가 https://karpenter.sh/docs/concepts/disruption/
HYP-OPS-252 shutdown-karpenter replica-1/maxUnavailable-1 일괄 조언 → 무상태 다중 replica 한정, 싱글턴/쿼럼은 실제 최소 가용 수로 한정 표기
HYP-OPS-254 shutdown-karpenter ARC가 CloudWatch Alarm으로 동작·Pod 직접 evict → AWS telemetry 전환, Karpenter/kubelet가 cordon·eviction https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.html
HYP-OPS-255 shutdown-karpenter 존재하지 않는 create-autoshift-observer-notification-configuration → 삭제, update-zonal-autoshift-configuration 유지 https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_Operations.html
HYP-OPS-256 shutdown-karpenter nodeClassRef name만/amiSelectorTerms 없음 → group·kind 추가, amiSelectorTerms(alias al2023@latest) 추가 https://karpenter.sh/docs/concepts/nodeclasses/
HYP-OPS-257 shutdown-karpenter "AZ 장애 자동 감지" 주석 → IMDSv2 강화 설명 https://karpenter.sh/docs/concepts/nodeclasses/
HYP-OPS-258 shutdown-karpenter NetworkLatency(AWS/EC2)·arc-zonal-shift ARN 알람 → StatusCheckFailed·SNS 주제, ConfigMap은 예시 명시 https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html
HYP-OPS-260 shutdown-karpenter "Provisioned Control Plane 자동 스케일링" → Standard 자동 스케일링/관리자 선택 Provisioned 티어 구분 https://docs.aws.amazon.com/eks/latest/userguide/eks-provisioned-control-plane.html
HYP-OPS-261 shutdown-karpenter kubectl apply로 ConfigMap에 텍스트만 저장 → 직접 실행 bash 스크립트 https://kubernetes.io/docs/concepts/configuration/configmap/
HYP-OPS-262 shutdown-karpenter zone=2b,2c (콤마=AND) → zone in (2b,2c) set 선택자 https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
HYP-OPS-263 shutdown-karpenter count(kube_pod_info) by (node, zone) (zone 라벨 없음) → kube_node_labels 조인 kube-state-metrics pod-metrics 문서
HYP-OPS-264 shutdown-karpenter Spot 2분 경고가 Graceful Shutdown "보장" → "가능성 향상", 2분 근접 grace period 위험 설명 한정 표기
HYP-OPS-266 shutdown-languages timeout-per-shutdown-phase "최대 대기 시간" → phase별 한정(전체 아님, ContextClosedEvent 미제한) Spring Boot 2.7 reference
HYP-OPS-267 shutdown-languages 평문 bool isShuttingDown (데이터 레이스) → atomic.Bool + sync/atomic https://go.dev/ref/mem
HYP-OPS-268 shutdown-languages Flask 즉시 sys.exit(0) → 진행 중 요청 drain 후 종료, Gunicorn 워커 처리 명시 Gunicorn signals 문서

보류: 없음 (deferred_author 0, not_done 0).

보류·부분 적용 항목

  • HYP-OPS-196 (applied_partial): If the author wants the Maximum Nodes column removed entirely rather than qualified, that is a content decision beyond this correction.

변경 규모

  • 10파일(KO 5 + EN 5), +521/−427, 커밋 2개(유닛 단위). 본문 내용이 바뀐 문서는 scripts/update-doc-metadata.js --kind content로 last_update·reading_time을 재생성했습니다.
  • 헤딩 문구를 바꾼 곳은 옛 슬러그를 명시적 {#...} 앵커로 양 로케일에 보존했습니다. 사이드바·라우팅·프론트매터 키 집합 변경 없음.

검증 결과

  • 조립은 d96abbff(2026-10-15 main) 위에서 했고, docs(aidlc): #99 감사 교정 -- enterprise 검증·ISO 42001·역할 구성 (KO/EN) #170~docs(eks-best-practices): #98 감사 교정 -- eks-debugging·probe-workloads (KO/EN) #175 머지 후의 main 4e4caeb1에 rebase했습니다(충돌 0; 이 PR의 파일과 그 사이 main 변경 파일의 겹침 0). rebase 후 아래 오프라인 게이트를 다시 실행했습니다.
  • 오프라인 테스트 9단계(tag-pages, document-tools, llm-wiki-components, validate-links, ssr-unicode, doc-metadata, document-examples, gateway-conformance) 전부 통과, 실행 후 추적 파일 변경 0.
  • 앵커·펜스·YAML 파싱·KO/EN 코드 블록 언어 패리티 검사: 10문서·코드 0파일 문제 0.
  • 한국어 aidocready 린트(저장소 프로파일): 변경된 KO 파일의 Warning 수가 main과 동일 (KO 5파일: main W0/S0 → PR W0/S0; Warning 동일, Suggestion은 게이트 대상 아님).
  • 사실 보존 대조(fact_diff): 제거·변경된 수치·URL·셀은 모두 위 표의 항목에 귀속되며(각 유닛 결과 JSON의 fact_changes), 그 밖의 수치·URL 변동 없음.
  • 전체 빌드 체인(조립 시점 HEAD 1b2f8b0b, base d96abbff): docusaurus build(EN+KO) 794초, Broken link 0 / Broken anchor 0 / Error: 0, SUCCESS 2건(EN+KO); llm-wiki 컴포넌트 테스트 183/183; validate-links finding 0; 체인 실행 후 추적 파일 변경 0. 변경 문서 쌍이 EN·KO 양쪽 페이지로 렌더되고 표본 3건의 교정 문구가 렌더 HTML에 반영(옛 문구 0회)됨을 확인했습니다. rebase 뒤에는 파일 겹침이 0이라 빌드 체인을 다시 돌리지 않았고, 최종 빌드는 PR CI(Build and Deploy)가 수행합니다.

리뷰어가 확인할 항목

  • HYP-OPS-258 (shutdown-karpenter): nonexistent CloudWatch metric NetworkLatency replaced with real AWS/EC2 StatusCheckFailed and alarm action retargeted to an SNS topic; author to confirm StatusCheckFailed is the intended AZ-degradation signal for the example.
  • HYP-OPS-196 applied_partial (probe-eks-features): Maximum Nodes 1,000/2,500/5,000 kept but now qualified as indicative estimates without official source; removing the column is an author decision (same column left in Wave C PR docs(pod-lifecycle): 콘텐츠 리스크 카드 결정 반영 -- 출처 없는 수치 삭제·예시/경험치 표기 (KO/EN) #163).
  • HYP-OPS-086/208: probe-load spreading advice via periodSeconds/timeoutSeconds removed; NLB health-check column added (30s interval, 10s TCP / 6s HTTP timeout) next to ALB 30s/5s -- confirm against current ELB docs.
  • HYP-OPS-191/203: unverifiable announcement dates (December 2025, November 2, 2025) removed.

불변 항목

이 PR의 유닛이 소유한 파일 외에는 바꾸지 않았습니다(컴포넌트·static 파일은 소유 문서의 유닛에 귀속된 경우에만 수정). 감사 장부(audits/2026-09-19/tracking.json·corrections.json)는 이 PR에서 갱신하지 않으며, 그룹 PR들이 머지된 뒤 이슈별 장부 PR로 한 번에 기록합니다(동시에 열린 PR 간 JSON 충돌 방지).

Part of #98

Pod lifecycle probe 문서 3쌍(KO 정본/EN 번역)의 감사 지적 28건을 교정했습니다.
적용 28건, 한정 표기/삭제 포함, 보류 0건입니다.
주요 사실 교정: kubelet Probe는 로컬 실행이며 API Server를 거치지 않음을 명시했고,
네트워크 관찰성 활성화 경로를 NFM 애드온 기반으로 바로잡았으며,
알람 CR을 ACK MetricAlarm(cloudwatch.services.k8s.aws/v1alpha1)로,
Gateway 헬스체크 예제를 TargetGroupConfiguration(gateway.k8s.aws/v1beta1)로,
GRPCRoute를 v1으로 수정하고 미지원 create-cluster 플래그와 효과 없는 애너테이션을 제거했습니다.
successThreshold 규칙과 최소 복구 시간 공식, 무중단 배포 전제 조건도 정정했습니다.
출처는 issues/fix/results/g98-pod-lifecycle-2-u1.result.json에 항목별로 기록.

Part of #98
…penter/언어별 종료 예제 (KO/EN)

15개 항목 모두 적용했습니다(한정 2건, 사실 교정/삭제 13건).
주요 교정: Karpenter 예약 budget에 duration 추가, v1 nodeClassRef에 group/kind와
amiSelectorTerms 추가, 존재하지 않는 create-autoshift-observer-notification-configuration
명령 삭제, ARC Autoshift의 AWS telemetry 기반 동작 반영, NetworkLatency를 실존 지표
StatusCheckFailed로 교체하고 알람 동작을 SNS로 변경, kubectl 라벨 선택자를 set 기반으로
수정, kube_pod_info zone 라벨 조인 수정, Grafana/CloudWatch ConfigMap을 실행 가능/예시로
명확화, Go 종료 플래그를 atomic.Bool로, Flask 종료에 drain 단계 추가, Spring timeout
주석을 phase 단위로 교정, Spot 2분 통지 보장 표현 한정, PDB 조언을 싱글턴/쿼럼 기준으로 한정.
출처는 issues/fix/results/g98-pod-lifecycle-2-u2.result.json에 항목별로 기록.

Part of #98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant