본문 바로가기

IT 기술/k8s59

[cka] Rolling Updates and Rollbacks 1. We have deployed a simple web application. Inspect the PODs and the ServicesWait for the application to fully deploy and view the application using the link called Webapp Portal above your terminal. 2. What is the current color of the web application? Access the Webapp Portal.blue 3. Run the script named curl-test.sh to send multiple requests to test the web application. Take a note of the ou.. 2024. 7. 2.
[cka] Managing Application Logs 1. We have deployed a POD hosting an application. Inspect it. Wait for it to start.controlplane ~ ➜ k get podsNAME READY STATUS RESTARTS AGEwebapp-1 1/1 Running 0 13s 2. A user - USER5 - has expressed concerns accessing the application. Identify the cause of the issue.Inspect the logs of the PODcontrolplane ~ ✖ k logs webapp-1 [2024-06-24 12:12:55,531] INFO in even.. 2024. 6. 24.
[cka] Monitor Cluster Components 1, 2, 3,4  모니터링 툴을 위한 api 준비과정. 사용 API : git clone https://github.com/kodekloudhub/kubernetes-metrics-server.git Deploy the metrics-server by creating all the components downloaded.Run the kubectl create -f . command from within the downloaded repository.  controlplane kubernetes-metrics-server ➜  kubectl top node 5. Identify the node that consumes the most CPU(cores). controlplane kubernetes-me.. 2024. 6. 24.
[cka] Multiple Schedulers 1. What is the name of the POD that deploys the default kubernetes scheduler in this environment? % controlplane ~ ➜ k get pods -ANAMESPACE NAME READY STATUS RESTARTS AGEkube-flannel kube-flannel-ds-wkmwp 1/1 Running 0 3m18skube-system coredns-768b85b76f-blx82 1/1 Running 0 3m17skube-.. 2024. 6. 23.
[cka] Resource Limits Resource Limits 1.  A pod called rabbit is deployed. Identify the CPU requirements set on the Podin the current(default) namespace controlplane ~ ➜ k describe pods rabbit... OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: failed to write "200000": write /sys/fs/cgroup/cpu,cpuacct/kub.. 2024. 6. 22.
반응형