본문 바로가기

전체 글139

[cka] Env Variables 1. How many PODs exist on the system?in the current(default) namespace controlplane ~ ➜ k get podsNAME READY STATUS RESTARTS AGEwebapp-color 1/1 Running 0 6m9s answer : 1 2. What is the environment variable name set on the container in the pod?controlplane ~ ➜ k describe pod webapp-color Name: webapp-colorNamespace: defaultPriority: .. 2024. 7. 5.
[cka] Commands and Arguments 1. How many PODs exist on the system?In the current(default) namespace controlplane ~ ➜ k get podsNAME READY STATUS RESTARTS AGEubuntu-sleeper 1/1 Running 0 38s answer : 1  2. What is the command used to run the pod ubuntu-sleeper? controlplane ~ ➜ k describe pod ubuntu-sleeperName: ubuntu-sleeperNamespace: defaultPriority: 0...Con.. 2024. 7. 5.
[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.
반응형