<1>

<2>
replicaSets 줄임말 rs 사용

<3>

<4>

<5>

<6>

<7>


<8>

<9>

<10>

<11>

apiVersion 이 안맞다고 하는 것 같다.
kubernetes 공홈 -> replicaSets 검색, 보니까 apiVersion 이 apps/v1 이다

vi replicaset-definition-1.yaml 로 수정


<12>



<13>

<14>


kubectl edit 으로 바꿔줬는데, 갱신이 안돼서 pod 전부 kill 했더니 된다.
<15>

<16>

'TIL > Udemy Kubernetes' 카테고리의 다른 글
| Kubernetes KodeKloud Lab - Practice Test - Imperative Commands (0) | 2024.09.23 |
|---|---|
| Kubernetes KodeKloud Lab - Practice Test - Services (0) | 2024.09.23 |
| Kubernetes KodeKloud Lab - Practice Test - Namespaces (0) | 2024.09.23 |
| Kubernetes KodeKloud Lab - Practice Test - Pods (0) | 2024.09.23 |