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