Knowledge Check: Kubernetes Basics Flashcards
Pod
a group of one or more containers (such as Docker containers), the shared storage for those containers, and options about how to run the containers.
What provides load balancing across a set of pods
Services
What are some reasons you would prefer to use Deployments rather than unmanaged pods?
- Deployments are compatible with Horizontal Pod Autoscalers
- Deployments can reschedule pods that fail
- Deployments support rolling updates and rollbacks
True or False: Deployments support rolling updates and rollbacks?
True
True or False: Deployments are unable to reschedule pods that fail?
False. Deployments can reschedule failed pods.
True or false: Deployments are compatible with horizontal pod autoscalers?
True
True or false: Deployments support a variety of restart policies
False
True or False: A Service provides a mechanism for accessing a logical set of pods?
True
What are the the Kubernetes Service types?
NodePort
LoadBlancer
ClusterIP
ExternalName
What is a ClusterIP Service?
Exposes a service which is only accessible from within the cluster.
What is a NodePort Service?
Exposes a service via a static port on each node’s IP.
What is a LoadBalancer Service?
Exposes the service via the cloud provider’s load balancer.
What is an ExternalName Service?
Maps a service to a predefined externalName field by returning a value for the CNAME record.
How does an ExternalName service map a service to a predefined External field?
By returning a value for the CNAME record.
What is PersistentVolume
a piece of storage in the cluster that has been provisioned by an administrator or dynamically provisioned using Storage Classes.