전체 글139 [cka] 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.controlplane ~ ➜ ls -a. .bashrc .config .profile .vim.. .cache .kube sample.yaml .vimrc.bash_profile CKA my-kube-config .ssh .wget-hstscontrolplane ~ ➜ ls -a ./.kube/config ./.kub.. 2024. 7. 19. [cka] 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 2. Create a CertificateSigningRequest object with the name akshay with the contents of the akshay.csr fileAs of kubernetes 1.19, the API to use for CSR is certificates.k8s.io/v1.Please note that an additional field called signerName should also be added .. 2024. 7. 19. [cka] View Certificate Details 1. Identify the certificate file used for the kube-api server. controlplane ~ ➜ ps -ef | grep kube-api | grep crtroot 3784 3284 0 13:27 ? 00:00:15 kube-apiserver --advertise-address=192.32.124.3 --allow-privileged=true --authorization-mode=Node,RBAC \ --client-ca-file=/etc/kubernetes/pki/ca.crt \ ... --tls-cert-file=/etc/kubernetes/pki/apiserver.crt \ # tls-cert-filㄷ -> .. 2024. 7. 16. [cka] Backup and Restore Methods 2 1. In this lab environment, you will get to work with multiple kubernetes clusters where we will practice backing up and restoring the ETCD database. 2. You will notice that, you are logged in to the student-node (instead of the controlplane).The student-node has the kubectl client and has access to all the Kubernetes clusters that are configured in this lab environment.Before proceeding to the .. 2024. 7. 12. [cka] Backup and Restore Methods 1. We have a working Kubernetes cluster with a set of web applications running. Let us first explore the setup.How many deployments exist in the cluster in default namespace? controlplane ~ ➜ k get deployments.apps NAME READY UP-TO-DATE AVAILABLE AGEblue 3/3 3 3 77sred 2/2 2 2 77s answer : 2 2. What is the version of ETCD running on.. 2024. 7. 12. 이전 1 ··· 5 6 7 8 9 10 11 ··· 28 다음 반응형