CKA exam 2023 — etcd backup

  Question 3: First, create a snapshot of the existing etcd instance running at https://127.0.0.1:2379, saving the snapshot to /var/lib/etcd-snapshot123.db After that, you need to restore an existing / previous snapshot located at /var/lib/etcd-snapshot-previous.db. solution:  First, we need to identify the etcd pods. Below command we can use. kubectl -n kube-system get pod | grep …

CKA exam 2023 — etcd backup Read More »

CKA Exam 2023 – Storage Question

  Volume Question    CKA exam,volume question,Kubernetes exam question, Question 7.  – Create a new PersistentVolume named tata-pv. It should have a capacity of 2Gi, accessMode ReadWriteOnce, hostPath /srv/app-config-var.  – Next create a new PersistentVolumeClaim in Namespace project-tiger named tata-pvc . It should request 2Gi storage, accessMode ReadWriteOnce and should not define a storageClassName. The …

CKA Exam 2023 – Storage Question Read More »

14. What is Volume in Kubernetes & why we need it? – part 1

 What is Volume in Kubernetes & why we need it? – part 1         Why we need Volume?What is Volume?Types of Volumes? – What is EmptyDir? – What is hostPath? – What is Static Volume?    * PersistentVolume  * PersistentVolumeClaim – What is Dynamic Volume?  We know that, we have one cluster, contains two workernodes. In cluster, …

14. What is Volume in Kubernetes & why we need it? – part 1 Read More »

07 What is ReplicationController in Kubernetes

 What is ReplicationController in Kubernetes     1. What is ReplicationController and why it required ?2. Understand the fields in yaml file.3. How to create Yaml file for ReplicationController?4. How to create ReplicationController from Yaml file?5. How to check the ReplicationController?6. When to use a ReplicationController?7. How to delete the ReplicationController?

Scroll to Top