Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- vscode
- pytorch
- python
- 코딩테스트
- 알고리즘
- NLP
- FastAPI
- 완전탐색
- PytorchLightning
- DeepLearning
- Matplotlib
- docker
- torchserve
- 네이버AItech
- Kaggle
- FDS
- leetcode
- Kubernetes
- GCP
- github
- wandb
- GIT
- 백준
- autoencoder
- datascience
- pep8
- GitHub Action
- rnn
- NaverAItech
- 프로그래머스
Archives
- Today
- Total
목록kubectl selector (1)
Sangmun

쿠버네티스의 Label은 쿠버네티스의 리소스를 논리적인 그룹으로 나누기 위해 붙이는 레이블링이다. selector는 Label을 이용하여 조회하려는 리소스만 조회할 수 있게 하는 기능이다. yaml 파일 안에서 Label은 아래와 같이 metadata아래에서 선언을 하며 해당 이미지에는 app=backend, version=v1, env=prod라는 라벨링을 생성하였다. apiVersion: v1 kind: Pod metadata: name: my-pod labels: app: backend version: v1 env: prod spec: containers: - image: my-pod name: my-pod 또한 yaml에서 선언하지 않아도 kubectl 명령어로도 label을 생성하거나 삭제가 가..
개발/kubernetes
2023. 2. 15. 21:52