CKA &. CKAD104 Practice Test - Node Failure (kubelet) ㅁ kubelet.conf 파일 위치 /etc/systemd/system/kubelet.service.d/ 아래에 10-kubeadm.conf 내용을 보면 주요 설정 내용이 있다 $ cat /etc/systemd/system/kubelet.service.d/10-kubeadm.conf # Note: This dropin only works with kubeadm and kubelet v1.11+ [Service] Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf" Environment="KUBELET_CO.. 2021. 4. 1. Worker Node Failure ㅁ Check Node Status $ kubectl get nodes $ kubectl describe node worker-1 $ kubectl describe node worker-2 ㅁ Check Node top df -h $ service kubelet status sudo journalctl -u kubelet ㅁ Check Certificates openssl x509 -in /var/lib/kubelet/worker-1.crt -text 2021. 4. 1. Control Plane Failure ㅁ Check Node Status kubectl get nodes kubectl get pods ㅁ Check Controlplane Pods kubectl get pods -n kube-system service kube-apiserver status service kube-controller-manager status service kube-scheduler status service kubelet status service kube-proxy status ㅁ Check Service Logs kubectl logs kube-apiserver-master -n kube-system sudo journalctl -u kube-apiserver https://kubernetes.io/docs/tasks.. 2021. 4. 1. Application Failure Check Accessibility Remeber to check every object and link in this map until you find the root cause of the issue. users report some issue with accessing the application. [First, we start with the application front-end.] Use standard ways of testing if your application is accessible. If it's a web application, check if the web server is accessible on the IP of the node-port using curl. curl http.. 2021. 4. 1. End to End Section As per the CKA exam changes (effective September 2020), End to End tests is no longer part of the exam and hence it has been removed from the course. If you are still interested to learn this, please check out the complete tutorial and demos in our YouTube playlist: https://www.youtube.com/watch?v=-ovJrIIED88&list=PL2We04F3Y_41jYdadX55fdJplDvgNGENo&index=18 2021. 4. 1. Deployment with Kubeadm 설치 관련 주요 내용은 아래 사이트에 kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ Installing kubeadm This page shows how to install the kubeadm toolbox. For information how to create a cluster with kubeadm once you have performed this installation process, see the Using kubeadm to Create a Cluster page. Before you begin A compatible Linux host. The Kubern kubernetes.io [사전 설정] .. 2021. 4. 1. 이전 1 2 3 4 5 6 ··· 18 다음