Kubernetes replicas 수 변경 (CLI)
잘 모르면 몸이 고생한다고, Deployment replicas를 계속 변경하며 테스트 할 일이 있었는데 `kubectl edit` 으로 replicas를 변경해가며 사용했다. 근데 더 간단하게 CLI 상에서 replicas를 변경할 수 있는 `kubectl scale` 명령어가 있었다. # Scale a replica set named 'foo' to 3 kubectl scale --replicas=3 rs/foo # Scale a resource identified by type and name specified in "foo.yaml" to 3 kubectl scale --replicas=3 -f foo.yaml # If the deployment named mysql's current size i..
Development/Docker & Kubernetes (K8s)
2022. 4. 5. 18:33
반응형
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Spring
- c++
- 로그
- jasync
- tag
- gradle
- 일상
- 쿠버네티스
- Algorithm
- OpenTelemetry
- 백준
- Istio
- container
- 클린 아키텍처
- k8s
- WebFlux
- Spring boot
- 비동기
- 알고리즘
- Kubernetes
- docker
- MySQL
- HTTP
- 하루
- java
- boj
- Clean Architecture
- Log
- Intellij
- python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함