Kubernetes basics and deploy a simple application on a Kubernetes cluster. Exploring features like pod scaling, rolling updates, and service discovery.
-
Pods: A pod is the smallest unit in Kubernetes. It can contain one or more containers that are tightly coupled and share the same resources (like network namespace and storage volumes). Usually, pods are used to deploy a single application.
-
Deployments: Deployments are a higher-level abstraction that manage the creation, updating, and scaling of pods. They ensure a specified number of pod replicas are always running.
-
Services: A service provides a stable endpoint to access a set of pods. This is crucial because pods can come and go, but the service provides a consistent way to access your application.
-
ReplicaSets: ReplicaSets ensure that a specified number of pod replicas are running at any given time.
-
Namespaces: Namespaces are a way to divide cluster resources between multiple users.
-
ConfigMaps and Secrets: These are used to store configuration information separate from your application code.
-
Ingress Controllers: Ingress controllers allow you to manage external access to the services in your cluster.
-
Persistent Volumes and Persistent Volume Claims: These provide a way to store data in a way that it's not tied to a specific pod.
More details here: