Concept
Kubernetes 자원들의 메타데이터를 관리하는 데 사용
Label
- selector와 함께 특정 label이 있는 자원들을 선택할 때 주로 사용.
- 클러스터 안에서 사용자가 오브젝트를 생성할 때 해당 오브젝트를 구분하는 용도. 사용자가 임의로 원하는 값을 지정해서 사용
Annotation
- 주석 성격의 메타데이터를 기록하는 데 사용
- 사용자가 원하는 값을 설정하기보다 쿠버네티스 시스템에서 필요한 정보들을 표시하는 데 사용.
'Cloud-native > Kubernetes' 카테고리의 다른 글
[Kubernetes]What is kube-proxy (userspace, iptables, IPVS) (0) | 2022.06.05 |
---|---|
[Kubernetes]What is Pause Container(Infra Container) (0) | 2022.06.03 |
[Kubernetes]Install EFK for Kubernetes logging with helm chart in Kubernetes (0) | 2022.05.28 |
[Kubernetes]Nginx-Ingress custom errors page (0) | 2022.05.28 |
[Kubernetes]Pull an Image from a Private Registry with Secret in Kubernetes (0) | 2022.05.28 |