1. kubeadm 업그레이드 -> kubelet 업그레이드
2. kubectl custom output 작성하기
# kubectl -n admin2406 get deployment -o custom-columns=
DEPLOYMENT:.metadata.name,
CONTAINER_IMAGE:.spec.template.spec.containers[].image,
READY_REPLICAS:.status.readyReplicas,
NAMESPACE:.metadata.namespace
--sort-by=.metadata.name > /opt/admin2406_data
3. admin.kubeconfig 수정하기
A kubeconfig file called admin.kubeconfig has been created in /root/CKA. There is something wrong with the configuration. Troubleshoot and fix it.
kube-api server 포트 6443 수정
4. deployment 업그레이드 하기
Create a new deployment called nginx-deploy, with image nginx:1.16 and 1 replica. Next upgrade the deployment to version 1.17 using rolling update. Make sure that the version upgrade is recorded in the resource annotation.
5. 모름
6. etcd 백업하기
Take the backup of ETCD at the location /opt/etcd-backup.db on the controlplane node.
7. 모름
'컨테이너 > Kubernetes' 카테고리의 다른 글
[k8s 강의] Pod와 Deployment의 기능 (0) | 2022.08.08 |
---|---|
[k8s 강의] 1. 쿠버네티스란 무엇인가? (0) | 2022.08.08 |
[Kubernetes] (20) Security (0) | 2021.09.15 |
[Kubernetes] (19). Cluster Maintenance (0) | 2021.09.07 |
[Kubernetes] (18). Application Lifecycle Management (0) | 2021.09.01 |