티스토리 뷰
Q. Create a new pod with the NGINX image
A. kubectl run nginx --image=nginx
결과
Q. How many pods are created now?
A. kubectl get pods
결과
Q. What is the image used to create the new pods?
A. kubectl get pods -o wide
A. kubectl describe pod newpods
Q. Which nodes are these pods placed on?
A. kubectl describe pod newpods
Q. What images are used in the new 'webapp' pod?
A. kubectl describe pod webapp
Q. What is the state of the container 'agentx' in the pod 'webapp'?
위 정보로 찾으면 됨
Q. Delete the 'webapp' Pod.
A. kubectl delete pod webapp
Q. Create a new pod with the name 'redis' and with the image 'redis123'
A. kubectl run redis --image=redis123
Q. Now fix the image on the pod to 'redis'
A. kubectl edit pod redis
A. kubectl apply -f ~.yaml
'Architecture > k8s' 카테고리의 다른 글
[Helm] 로컬 환경 Helm 테스트 구성 (0) | 2021.03.24 |
---|---|
[CKAD] ReplicaSets (0) | 2021.03.22 |
- Total
- Today
- Yesterday
- 사토시 나가모토
- gRPC
- 동적계획법
- 블록체인
- Vue.js
- Nealford
- leetcode
- CARDANO
- k8s
- excel parsing
- Bitcoin
- Redis
- 비트코인
- DP
- white paper
- vuejs
- architecture
- kubernetes
- 스프링
- 알고리즘
- 카르다노
- Java
- 아키텍처
- SpringBoot
- 암호화폐
- Spring
- Bruteforce
- 백준
- Blockchain
- 스프링 시큐리티
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |