반응형 k8s annotation1 [k8s]Kubernetes - Annotation Annotation Label과 동일하게 key-value를 통해 리소스의 특성을 기록 Kubernetes에게 특정 정보 전달할 용도로 사용 예를 들어 Deployment의 rolling update 정보 기록 관리를 위해 필요한 정보를 기록할 용도로 사용 릴리즈, 로깅, 모니터링에 필요한 정보들을 기록 describe에서 정보 확인 가능 Annotation Example annotation example pod 생성 kubectl create -f annotation-exam1.yaml describe로 pod의 anootation 정보 확인 kubectl describe pod annon-pod Reference 따배쿠31강 2023. 3. 16. 이전 1 다음 반응형