Question 56

Create a busybox pod that runs the command "env" and save the output to "envpod" file

Question 57

create a pod in a specific node (node1) by placing the pod definition file in a particular folder "/etc/kubernetes/manifests".
  • Question 58

    Create an nginx pod and set an env value as 'var1=val1'. Check the env value existence within the pod
  • Question 59

    Create a Kubernetes secret as follows:
    Name: super-secret
    password: bob
    Create a pod named pod-secrets-via-file, using the redis Image, which mounts a secret named super-secret at
    /secrets.
    Create a second pod named pod-secrets-via-env, using the redis Image, which exports password as CONFIDENTIAL

    Question 60

    Score: 7%

    Task
    Given an existing Kubernetes cluster running version 1.20.0, upgrade all of the Kubernetes control plane and node components on the master node only to version 1.20.1.
    Be sure to drain the master node before upgrading it and uncordon it after the upgrade.

    You are also expected to upgrade kubelet and kubectl on the master node.