DevLearn
Fundamentals

Kubernetes Fundamentals

Core concepts: architecture, control plane, worker nodes, and basic operations.

What is Kubernetes?

Introduction to container orchestration

Kubernetes (K8s) is an open-source container orchestration platform that automates deployment, scaling, and management of containerized applications. Originally developed by Google, now maintained by CNCF.

Orchestration

Automates container management

Scaling

Horizontal and vertical scaling

Self-healing

Automatic recovery

Portability

Runs anywhere

Code Example

# Check Kubernetes version
kubectl version

# Cluster information
kubectl cluster-info

# Get nodes
kubectl get nodes

# Get all resources
kubectl get all -A

Sample Output

Client Version: v1.28.0
Server Version: v1.28.0

Kubernetes control plane is running at https://cluster.example.com

NAME           STATUS   ROLES           AGE   VERSION
control-plane  Ready    control-plane   10d   v1.28.0
worker-1       Ready    <none>          10d   v1.28.0
worker-2       Ready    <none>          10d   v1.28.0