CKA Exam Question 16

List all the pods showing name and namespace with a json path expression

CKA Exam Question 17

Create a file called "config.txt" with two values key1=value1
and key2=value2. Then create a configmap named "keyvalcfgmap" andread data from the file "config.txt" and verify that configmap is created correctly
  • CKA Exam Question 18

    Create an nginx pod with containerPort 80 and with a PersistentVolumeClaim "task-pv-claim" and has a mouth path "/usr/share/nginx/html"
  • CKA Exam Question 19

    Ensure a single instance of pod nginx is running on each node of the Kubernetes cluster where nginx also represents the Image name which has to be used. Do not override any taints currently in place.
    Use DaemonSet to complete this task and use ds-kusc00201 as DaemonSet name.

    CKA Exam Question 20

    Create a snapshot of the etcd instance running at https://127.0.0.1:2379, saving the snapshot to the file path
    /srv/data/etcd-snapshot.db.
    The following TLS certificates/key are supplied for connecting to the server with etcdctl:
    CA certificate: /opt/KUCM00302/ca.crt
    Client certificate: /opt/KUCM00302/etcd-client.crt
    Client key: Topt/KUCM00302/etcd-client.key