반응형
해당 내용은 Udemy의 Certified Kubernetes Administrator (CKA) with Practice Tests 강의를 공부한 내용입니다. 내용을 그대로 번역하기보다는, 제가 이해하기 쉬운 대로 수정한 부분들이 있습니다.
⚠️ 영어 독해가 많이 부족합니다. 틀린 내용이 있으면 알려주시면 감사하겠습니다.
Q1. Where is the default kubeconfig file located in the current environment?
답: /root/.kube/config
Q2. How many clusters are defined in the default kubeconfig file?
답: 1
Q3. How many Users are defined in the default kubeconfig file?
답: 1
Q4. How many contexts are defined in the default kubeconfig file?
답: 1
Q5. What is the user configured in the current context?
답: kubernetes-admin
Q6. What is the name of the cluster configured in the default kubeconfig file?
답: kubernetes
Q7. A new kubeconfig file named my-kube-config is created. It is placed in the /root directory. How many clusters are defined in that kubeconfig file?
답: 4
Q8. How many contexts are configured in the my-kube-config file?
답: 4
Q9. What user is configured in the research context?
답: dev-user
Q10. What is the name of the client-certificate file configured for the aws-user?
답: aws-user.crt
Q11. What is the current context set to in the my-kube-config file?
답: test-user@development
Q12. I would like to use the dev-user to access test-cluster-1. Set the current context to the right one so I can do that.
Q13. We don't want to have to specify the kubeconfig file option on each command. Make the my-kube-config file the default kubeconfig.
Q14. With the current-context set to research, we are trying to access the cluster. However something seems to be wrong. Identify and fix the issue.
vi .kube/config
반응형
'MLOps > Doker & Kubernetes' 카테고리의 다른 글
Udemy CKA 강의 정리 157: API Groups (0) | 2023.01.18 |
---|---|
Udemy CKA 강의 정리 156: Persistent Key/Value Store (0) | 2023.01.18 |
Udemy CKA 강의 정리 154: Practice Test - KubeConfig (0) | 2023.01.18 |
Udemy CKA 강의 정리 153: KubeConfig (0) | 2023.01.18 |
Udemy CKA 강의 정리 152: Solution - Certificates API (0) | 2023.01.18 |
댓글