0
0
AWScloud~5 mins

EKS networking with VPC CNI in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the VPC CNI plugin in Amazon EKS?
The VPC CNI plugin allows Kubernetes pods to have IP addresses from the VPC network, enabling them to communicate directly with other AWS resources using native VPC networking.
Click to reveal answer
beginner
How does the VPC CNI plugin assign IP addresses to pods?
It assigns each pod an IP address from the VPC subnet, just like an EC2 instance, so pods can communicate directly with other resources in the VPC without NAT.
Click to reveal answer
intermediate
Why is it important to have enough free IP addresses in your VPC subnets when using VPC CNI?
Because each pod gets its own IP from the subnet, running many pods can exhaust available IPs, causing pods to fail to start due to lack of IP addresses.
Click to reveal answer
intermediate
What is the benefit of using VPC CNI over other Kubernetes networking plugins in EKS?
VPC CNI provides high performance and native AWS networking features, such as security groups and routing, making pod networking seamless with AWS infrastructure.
Click to reveal answer
advanced
How can you scale the number of pods in EKS without running out of IP addresses with VPC CNI?
You can add more subnets with additional IP ranges or use features like 'prefix delegation' to allocate larger blocks of IPs to nodes, increasing available pod IPs.
Click to reveal answer
What does the VPC CNI plugin assign to each Kubernetes pod in EKS?
AAn IP address from the VPC subnet
BA private IP from a separate Kubernetes network
CA public IP address
DNo IP address, uses node IP
Why might pods fail to start when using VPC CNI in EKS?
ABecause the cluster is out of CPU resources
BBecause there are no free IP addresses in the subnet
CBecause pods need public IPs
DBecause the VPC CNI plugin is disabled
Which AWS resource's IP range does VPC CNI use for pod IPs?
AElastic IP pool
BInternet Gateway IPs
CVPC subnet CIDR block
DAWS Lambda IP range
What is a common way to increase available pod IPs in an EKS cluster using VPC CNI?
AUse public IPs for pods
BAdd more nodes without changing subnets
CDisable VPC CNI plugin
DAdd more subnets with larger CIDR blocks
What networking feature does VPC CNI enable for pods in EKS?
APods have native VPC networking with security groups
BPods cannot communicate outside the cluster
CPods use NAT to access the internet
DPods share node IP addresses
Explain how the VPC CNI plugin manages pod networking in an EKS cluster.
Think about how pods connect to other AWS services and the IP addresses they use.
You got /4 concepts.
    Describe strategies to avoid IP exhaustion when using VPC CNI in EKS.
    Consider how IP addresses are allocated and ways to increase their availability.
    You got /4 concepts.