Question 31

Create the deployment redis with image=redis and expose it with "NodePort" service redis-service
  • Question 32

    List all the pods sorted by name

    Question 33

    Print all pod name and all image name and write it to a file
    name "/opt/pod-details.txt"

    Question 34

    Create 2 nginx image pods in which one of them is labelled with env=prod and another one labelled with env=dev and verify the same.
  • Question 35

    Create a snapshot of theetcdinstance running at , saving thesnapshot to the file path
    /srv/data/etcd-snapshot.db.
    The following TLScertificates/key are suppliedfor connecting to the server withetcdctl:
    * CA certificate:/opt/KUCM00302/ca.crt
    * Client certificate:/opt/KUCM00302/etcd-client.crt
    * Client key:Topt/KUCM00302/etcd-client.key