전체 글135 [cka] Secrets 1. How many Secrets exist on the system?In the current(default) namespace.controlplane ~ ➜ k get secrets NAME TYPE DATA AGEdashboard-token kubernetes.io/service-account-token 3 2m14s answer : 1 2. How many secrets are defined in the dashboard-token secret?controlplane ~ ➜ k describe secrets dashboard-tokenName: dashboard-tokenNam.. 2024. 7. 5. [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. 이전 1 ··· 6 7 8 9 10 11 12 ··· 27 다음 반응형