Practice Test - CNI weave
- Take me to Practice Test
Solution
-
Inspect the kubelet service and identify the container runtime value is set for Kubernetes.
Check kubelet unit file
systemctl cat kubeletNote from the output this line
EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.envInspect this file
cat /var/lib/kubelet/kubeadm-flags.envAnswer can be found as value of
--container-runtimeREMOTE
-
What is the path configured with all binaries of CNI supported plugins?
This is the standard location for the installation of CNI plugins
|
/opt/cni/bin -
Identify which of the below plugins is not available in the list of available CNI plugins on this host?
ls -l /opt/cni/binFind the option from the given answers not in the output opf the above
cisco
-
What is the CNI plugin configured to be used on this kubernetes cluster?
From the available options, we need to recognise which of the four is not the name of a container networking provider. Of the three that are, only one of them is present in
/opt/cni/binflannel
Note that
bridgeis a mechanism for connecting networks together, and not a network provider. -
What binary executable file will be run by kubelet after a container and its associated namespace are created.
Following on from Q4…
flannel
All the files in
/opt/cni/binare binary executables with tasks related to configuring network namespaces. After the network namespace is configured using the other programs,flannelimplements the network.This is a great article on what the programs in
/opt/cni/binare for.