CKA Exam Question 16

Create a Kubernetes secret asfollows:
* Name: super-secret
* password: bob
Create a pod namedpod-secrets-via-file Image, which mounts a secret namedsuper-secretat
/secrets.
Create a second pod namedpod-secrets-via-env Image, which exportspasswordas CONFIDENTIAL

CKA Exam Question 17

Create a pod as follows:
* Name:mongo
* Using Image:mongo
* In anew Kubernetes namespacenamed:my-website

CKA Exam Question 18

Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.

CKA Exam Question 19

Create 5 nginx pods in which two of them is labeled env=prod and
three of them is labeled env=dev
  • CKA Exam Question 20

    Score: 7%

    Task
    Create a new nginx Ingress resource as follows:
    * Name: ping
    * Namespace: ing-internal
    * Exposing service hi on path /hi using service port 5678