Practice Test - Deploy Networking Solution

Solution

  1. We have deployed an application called app in the default namespace. What is the state of the pod?
    kubectl get pods

    Note it is stuck at ContainerCreating. It will reamin this way.

    NotRunning

  2. Inspect why the POD is not running.
    kubectl describe pod app

    The answer is in the Events section. It cannot allocate an IP address, therefore…

    No network configured

  3. Deploy weave-net networking solution to the cluster.

    Apply the manifest found under the /root/weave directory.