본문 바로가기

IT 기술/k8s59

[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.
[cka] 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?controlplane ~ ➜ k describe pod kube-controller-manager-controlplane -n kube-system...Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Pulled .. 2024. 7. 11.
반응형