티스토리 뷰
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
- 비트코인
- 백준
- Spring
- 알고리즘
- Blockchain
- Vue.js
- Redis
- 암호화폐
- Java
- 카르다노
- vuejs
- 아키텍처
- CARDANO
- Nealford
- Bitcoin
- gRPC
- architecture
- leetcode
- 스프링 시큐리티
- 스프링
- k8s
- 동적계획법
- white paper
- SpringBoot
- DP
- 블록체인
- kubernetes
- excel parsing
- Bruteforce
- 사토시 나가모토
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |