0
0
Kubernetesdevops~5 mins

Container Network Interface (CNI) in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the main purpose of the Container Network Interface (CNI) in Kubernetes?
CNI provides a standard way to configure network interfaces for containers, enabling them to communicate within a Kubernetes cluster.
Click to reveal answer
beginner
Name two popular CNI plugins used in Kubernetes.
Calico and Flannel are two popular CNI plugins that provide networking capabilities for Kubernetes clusters.
Click to reveal answer
intermediate
How does CNI help with container IP address management?
CNI plugins allocate and assign IP addresses to containers, ensuring each container has a unique IP for communication.
Click to reveal answer
intermediate
What file format does CNI use to define network configurations?
CNI uses JSON files to define network configurations that specify how container interfaces should be set up.
Click to reveal answer
intermediate
Explain the role of the CNI plugin during pod creation in Kubernetes.
When a pod is created, the CNI plugin is called to set up the network interface, assign an IP, and connect the pod to the cluster network.
Click to reveal answer
What does CNI stand for in Kubernetes networking?
AContainer Network Interface
BCluster Node Integration
CContainer Node Interaction
DCluster Network Interface
Which file format is used to configure CNI plugins?
AYAML
BJSON
CXML
DINI
Which of the following is NOT a CNI plugin?
ACalico
BWeave Net
CFlannel
DDocker Swarm
What is the role of a CNI plugin when a pod starts?
AAssign IP and configure network interface
BCreate storage volumes
CSchedule the pod on a node
DMonitor pod health
Why is CNI important in Kubernetes?
AIt schedules pods
BIt manages container storage
CIt standardizes container networking
DIt monitors cluster health
Describe what the Container Network Interface (CNI) does in a Kubernetes cluster.
Think about how containers get connected inside the cluster.
You got /4 concepts.
    List some common CNI plugins and explain why you might choose one over another.
    Consider what features or needs your cluster might have.
    You got /4 concepts.