본문 바로가기 메뉴 바로가기

니즈 개발 일기

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

니즈 개발 일기

검색하기 폼
  • 분류 전체보기 (47)
    • Development (47)
      • Python (13)
      • Go (1)
      • Cloud (2)
      • Algorithms (8)
      • Docker and k8s (7)
      • Javascript (1)
    • Product Review (0)
    • Books (0)
    • ETC (0)
  • 방명록

node (1)
[k8s] 특정 node 에 배포하기

Label 확인 kubectl get nodes --show-labels 해당 명령어로 node 별로 설정되어 있는 label을 확인할 수 있으며, label의 종류가 꽤나 많습니다... Label 추가 kubectl label node = 추가한 후 아래 커맨드로 확인 시 추가 되어 있는 걸 볼 수 있습니다. kubectl describe nodes Label 삭제 key-만 넣어주면 삭제가 됩니다. kubectl label nodes - Label이 설정이 됬으니 deployment에서 spec.nodeSelector.. 를 추가하고 배포하면 됩니다. apiVersion: apps/v1 kind: Deployment ... spec: containers: ... nodeSelector: : 그 후에 ..

Development/Docker and k8s 2021. 12. 29. 23:52
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Container
  • Fine-Tuning
  • collator
  • Gemma
  • Git
  • book
  • csv
  • kubernetes context
  • error
  • kubens
  • Kubernetes
  • Shell
  • 책리뷰
  • Binary
  • K8S
  • AWS
  • Python
  • go
  • docker
  • feed-forward
  • 키보드
  • 파이썬
  • leetcode
  • Algorithm
  • 나는리뷰어다
  • LLM
  • 한빛미디어
  • BASIC
  • lllm
  • palindrome
more
«   2026/02   »
일 월 화 수 목 금 토
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
글 보관함
반응형

Blog is powered by Tistory / Designed by Tistory

티스토리툴바