- Take me to Practice Test
-
Inspect the kubelet service and identify the container runtime value is set for Kubernetes.
Check kubelet unit file
systemctl cat kubelet
Note from the output this line
EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env
Inspect this file
cat /var/lib/kubelet/kubeadm-flags.env
Answer can be found as value of
--container-runtime
REMOTE
-
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/bin
Find 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/bin
flannel
Note that
bridge
is 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/bin
are binary executables with tasks related to configuring network namespaces. After the network namespace is configured using the other programs,flannel
implements the network.This is a great article on what the programs in
/opt/cni/bin
are for.