1_kubernetes_fundamentals Flashcards
(121 cards)
What is Kubernetes in its simplest form?
Kubernetes is an open-source container orchestration platform designed to manage containerized applications in production at scale
What is the primary purpose of Kubernetes?
Kubernetes automates the deployment
What is the historical origin of Kubernetes?
Kubernetes was initially developed by Google as an internal project in 2014
Who manages Kubernetes today?
Kubernetes is managed by the Cloud Native Computing Foundation (CNCF)
What is a key concept borrowed from Google’s Borg system in Kubernetes?
The concept of Pods
What is the difference between a container and a virtual machine (VM)?
A container is a lightweight unit sharing the host OS kernel
What is a container image?
A container image is a self-contained
What is a container registry?
A container registry is a centralized repository for storing and sharing container images
What is a Dockerfile or Containerfile?
A Dockerfile or Containerfile is a text document with instructions to build a container image
What is Docker Compose or Podman Compose?
Docker Compose or Podman Compose is a tool for defining and running multi-container applications using a YAML file to configure services
What is the difference between monolithic and microservices architectures?
Monolithic architecture is a single
What is a key advantage of microservices over monoliths?
Microservices allow for independent scaling and deployment of specific components
What is a major disadvantage of microservices architecture?
Microservices require more planning and can be complex to develop and manage due to dependency issues and the need for coordination between services.
Why are containers well-suited for microservices?
Containers provide isolation and portability
How does Kubernetes ensure high availability of applications?
Kubernetes replicates containers across multiple host machines
What is the role of Kubernetes in deployment management?
Kubernetes automates container deployments and rollbacks across multiple machines with minimal disruption
How does Kubernetes handle autoscaling?
Kubernetes supports both vertical scaling (allocating more resources to a container) and horizontal scaling (duplicating containers)
What is the purpose of network policies in Kubernetes?
Network policies in Kubernetes define rules for pod communication
How does Kubernetes manage stateful workloads?
Kubernetes uses Persistent Volumes (PVs) and Persistent Volume Claims (PVCs) to provide persistent storage for stateful applications
What is Role-Based Access Control (RBAC) in Kubernetes?
RBAC in Kubernetes defines user roles and service accounts to control access to resources
How does Kubernetes manage resource allocation?
Kubernetes sets resource quotas
What is KubeVirt and its purpose?
KubeVirt is a project that extends Kubernetes to manage virtual machines alongside containers using the Kubernetes API
Why might Kubernetes not be the best solution for a project?
Kubernetes may not be ideal for non-containerized architectures or projects with very few microservices
What problem does Kubernetes solve regarding container management at scale?
Kubernetes automates the management of large numbers of containers across multiple machines