Question 16

Create a pod that having 3 containers in it? (Multi-Container)
  • Question 17

    For this item, you will havetosshto the nodesik8s-master-0andik8s-node-0and complete all tasks on thesenodes. Ensure that you return tothe base node (hostname:node-1) when you havecompleted this item.
    Context
    As an administrator of a smalldevelopment team, you have beenasked to set up a Kubernetes clusterto test the viability of a newapplication.
    Task
    You must usekubeadmto performthis task. Anykubeadminvocationswill require the use of the
    --ignore-preflight-errors=alloption.
    * Configure thenodeik8s-master-Oas a masternode. .
    * Join the nodeik8s-node-otothe cluster.

    Question 18

    Change the label for one of the pod to env=uat and list all the pods to verify

    Question 19

    Create a pod with environment variables as var1=value1.Check the environment variable in pod

    Question 20

    For this item, you will have to ssh and complete all tasks on these
    nodes. Ensure that you return to the base node (hostname: ) when you have completed this item.
    Context
    As an administrator of a small development team, you have been asked to set up a Kubernetes cluster to test the viability of a new application.
    Task
    You must use kubeadm to perform this task. Any kubeadm invocations will require the use of the
    --ignore-preflight-errors=all option.
    Configure the node ik8s-master-O as a master node. .
    Join the node ik8s-node-o to the cluster.