전체 글133 [cka]kodekloud-Based Access controls 1.Inspect the environment and identify the authorization modes configured on the cluster. Check the kube-apiserver settings. k describe pod kube-apiserver-controlplane -n kube-system A) Node, RBAC 2. How many roles exist in the default namespace? k get roles A) 0 3.How many roles exist in all namespaces together? kubectl get roles -A A) 12 4. What are the resources the kube-proxy role in the kub.. 2022. 6. 28. [cka]kodekloud-kubeconfig (마지막문제 ..) 1.Where is the default kubeconfig file located in the current environment? Find the current home directory by looking at the HOME environment variable. ls -al cd ./kube pwd A) /root/.kube/config 2. How many clusters are defined in the default kubeconfig file? k config view A) 1 3. How many Users are defined in the default kubeconfig file? k config view A) 1 4. How many contexts are defined in th.. 2022. 6. 27. [cka]kodekloud-certificates API 1.A new member akshay joined our team. He requires access to our cluster. The Certificate Signing Request is at the /root location. Inspect it ls 지금 현 경로의 모든 파일을 확인 할 수 있고, 현재 akshy의 csr 파일을 확인 할 수 있음. 2.Create a CertificateSigningRequest object with the name akshay with the contents of the akshay.csr file As of kubernetes 1.19, the API to use for CSR is certificates.k8s.io/v1. Please note that .. 2022. 6. 27. [cka]kodekloud-CERTIFICATE DETAILS 1. Identify the certificate file used for the kube-api server cat /ect/kubernetes/manifess/kube-apiserver.yaml A) /etc/kubernetes/apiserver.crt 2. Identify the Certificate file used to authenticate kube-apiserver as a client to ETCD Server A) /etc/kubernetes/pki/apiserver-etcd-client.crt 3.Identify the key used to authenticate kubeapi-server to the kubelet server A) etc/kubernetes/pki/apiserver-.. 2022. 6. 27. [cka] kodekloud-Backup and Restore 1.We have a working kubernetes cluster with a set of applications running. Let us first explore the setup. How many deployments exist in the cluster? k get deployments A) 2 2.What is the version of ETCD running on the cluster? Check the ETCD Pod or Process k get pods etcd-controlplane -n kube-system k get pods -n kube-system k get pods etcd-controlplane -n kube-system k describe pods etcd-contro.. 2022. 6. 22. [cka]kodekloud-cluster upgrade process 1.This lab tests your skills on upgrading a kubernetes cluster. We have a production cluster with applications running on it. Let us explore the setup first. What is the current version of the cluster? A) v 1.19.0 2.How many nodes are part of this cluster? Including master and worker nodes # k get nodes A)2 3.How many nodes can host workloads in this cluster? Inspect the applications and taints .. 2022. 6. 22. 이전 1 ··· 15 16 17 18 19 20 21 ··· 23 다음