Back to notes
Describe the role of etcd in a Kubernetes Cluster.
Press to flip
etcd is a key-value store that maintains the cluster's current state, storing all its configurations and statuses.
In Kubernetes, what are Pods and what role do they play?
Pods serve as an abstraction layer over containers, typically hosting a single application and representing the basic deployable unit in Kubernetes.
Explain the use of Services in Kubernetes architecture.
Services in Kubernetes provide a stable IP for pods to facilitate communication, and can be external for browser access or internal for secure communication within the cluster.
Identify the purpose of the Kubernetes API Server.
The API Server acts as the main entry point for all administrative tasks in the cluster, processing RESTful requests to manage Kubernetes objects.
Describe the function of the Controller Manager in Kubernetes.
The Controller Manager oversees the cluster's health by managing controllers, such as node and endpoint controllers, that ensure the desired state matches the current state.
What is the primary function of Kubernetes in managing applications?
Kubernetes is designed to manage applications with hundreds or thousands of containers across different environments by providing orchestration and ensuring High Availability, Scalability, and Disaster Recovery.
How does Kubernetes achieve high availability?
Kubernetes ensures applications are always accessible without downtime through redundant master and worker nodes, self-healing, and load balancing.
How does Kubernetes handle external user access to applications?
Through Ingress objects and Services with NodePort or LoadBalancer types, Kubernetes routes external requests to the appropriate pods, facilitating access to cluster-hosted applications.
What function does the Scheduler serve in the Kubernetes architecture?
The Scheduler assigns containers to nodes based on resource availability and constraints, optimizing workloads distribution across the cluster.
What is the significance of the kubelet process on Worker Nodes?
The kubelet process is responsible for managing the node's state, running pods, and ensuring that containers are started, stopped, and maintained properly.
List the main components found on a Kubernetes Master Node.
The main components on a Master Node are the API Server, Controller Manager, Scheduler, and etcd key-value storage.
Contrast Deployments and Stateful Sets in Kubernetes.
Deployments manage stateless applications by creating multiple pod replicas, while Stateful Sets are used for stateful applications like databases, maintaining the identity and state across pod restarts.
What is the difference between Config Maps and Secrets in Kubernetes?
Config Maps are used to store non-sensitive configuration data, while Secrets are used for storing sensitive data like passwords in encrypted form.
Explain the role of Volumes in Kubernetes.
Volumes provide persistent storage for data used by applications in pods, ensuring data survives pod restarts or redeployments.
What command would you use to view detailed information about a specific resource in Kubernetes?
Use `kubectl describe <resource>` to obtain detailed information about a specific resource.
Previous
Next