Q1. How many Secrets exist on the system?
Q2. How many secrets are defined in the dashboard-token secret?
Q3. What is the type of the dashboard-token secret?
Q4. Which of the following is not a secret data defined in dashboard-token secret?
Q5. We are going to deploy an application with the below architecture. We have already deployed the required pods and services. Check out the pods and services created. Check out the web application using the Webapp MySQL link above your terminal, next to the Quiz Portal Link.
Q6. The reason the application is failed is because we have not created the secrets yet. Create a new secret named db-secret with the data given below.
-
Secret Name: db-secret
-
Secret 1: DB_Host=sql01
-
Secret 2: DB_User=root
- Secret 3: DB_Password=password123
Q7. Configure webapp-pod to load environment variables from the newly created secret.
-
Pod name: webapp-pod
-
Image name: kodekloud/simple-webapp-mysql
- Env From: Secret=db-secret
Q8. View the web application to verify it can successfully connect to the database
'MLOps > Doker & Kubernetes' 카테고리의 다른 글
Udemy CKA 강의 정리 115: Solution - Init Containers (optional) (0) | 2023.01.13 |
---|---|
Udemy CKA 강의 정리 114: Practice Test - Init Containers (0) | 2023.01.13 |
Udemy CKA 강의 정리 106: Solution - Secrets (optional) (0) | 2023.01.12 |
Udemy CKA 강의 정리 113: Init Containers (0) | 2023.01.12 |
Udemy CKA 강의 정리 112: Multi Container PODs Design Patterns (0) | 2023.01.12 |
댓글