[쿠버네티스] 명령어
kubectl run web-nginx –image=nginx:1.29.3-alpine
kubectl expose pod web-nginx —name=web-svc-1 —type=NodePort —port=8080 —target-port=80
kubectl get
kubectl describe : 상세 정보 조회
| kubectl run | create | appaly |
- –port
- –restart Nver / Always / OnFailure
- –rm
- –env
- –it
- dryrun=client
- -o yaml
kuabectl exec
- kubectl exec -it
-- mysql - u root -p # mysql 이랑 짝대기 공백 있는거임
This post is licensed under CC BY 4.0 by the author.