강의

멘토링

커뮤니티

Inflearn Community Q&A

normalbrand05171018's profile image
normalbrand05171018

asked

Learning Kubernetes with Pictures (v1.30) - {{ x86-64, arm64 }}

2.13. Frequently Used kubectl Option Commands (-o yaml, --dry-run=client) Part 1

run nginx 와 deploy nginx 의 차이가 궁금합니다.

Written on

·

224

0

kubectl로 

kubectl run nginx  --image=nginx

kubectl create deploy  --image=nginx

이후에 둘의 차이가 무엇인가요? 위에는 네임이 nginx로만 나오고 아래의 경우엔 뒤에 nginx-6799fc88d8-5bscx 이렇게 붙는데 무슨 차이점이 있는지 궁금합니다. 

dockerkubernetes

Answer 1

0

kubernetes님의 프로필 이미지
kubernetes
Instructor

안녕하세요 

해당 내용은 '쉽게 시작하는 쿠버네티스'에서 다뤘으며,

'그림으로 배우는 쿠버네티스' 중에 아래의 과정에서도 다룹니다. 

짧은 글로 보시는 것보다 해당 내용을 보시는게 나을꺼 같습니다. 

위의 질문으로 미루어보아 pod와 deployment 그리고 replicaset에 대해서 모두 이해가 필요할 것 같습니다. 

 

normalbrand05171018's profile image
normalbrand05171018

asked

Ask a question