Question 6

Configure the kubelet systemd- managed service, on the node labelled with name=wk8s-node-1, to launch a pod containing a single container of Image httpd named webtool automatically. Any spec files required should be placed in the /etc/kubernetes/manifests directory on the node.
You can ssh to the appropriate node using:
[student@node-1] $ ssh wk8s-node-1
You can assume elevated privileges on the node with the following command:
[student@wk8s-node-1] $ | sudo -i

Question 7

List all service account and create a service account called "admin"
  • Question 8

    Check the Image version of nginx-dev pod using jsonpath

    Question 9

    Scale the deployment webserver to

    Question 10

    Score: 4%

    Context
    You have been asked to create a new ClusterRole for a deployment pipeline and bind it to a specific ServiceAccount scoped to a specific namespace.
    Task
    Create a new ClusterRole named deployment-clusterrole, which only allows to create the following resource types:
    * Deployment
    * StatefulSet
    * DaemonSet
    Create a new ServiceAccount named cicd-token in the existing namespace app-team1.
    Bind the new ClusterRole deployment-clusterrole lo the new ServiceAccount cicd-token , limited to the namespace app-team1.