← All insightsGetting Started

Getting started with Kubernetes

CodeWizard Engineering · 16 September 2026 · 3 min read · Beginner

Kubernetes is a container orchestrator: you declare the desired state of your workloads in YAML and controllers continuously reconcile the cluster toward it, handling scheduling, scaling, healing and networking.

Why teams use it

  • Self-healing: crashed pods are restarted and rescheduled automatically
  • Declarative rollouts and rollbacks instead of hand-run deploy scripts
  • A portable API that runs the same on EKS, AKS, GKE and on-prem

Install it

bash
# Spin up a local cluster with kind, then talk to it with kubectl
kind create cluster --name dev
kubectl cluster-info --context kind-dev
kubectl get nodes

A first working config

A Deployment plus Service with probes and resource limits.

yaml
apiVersion: apps/v1
kind: Deployment
metadata: { name: web }
spec:
  replicas: 3
  selector: { matchLabels: { app: web } }
  template:
    metadata: { labels: { app: web } }
    spec:
      containers:
        - name: web
          image: ghcr.io/acme/web:1.0
          ports: [{ containerPort: 3000 }]
          resources:
            requests: { cpu: 100m, memory: 128Mi }
            limits:   { cpu: 500m, memory: 256Mi }
          readinessProbe:
            httpGet: { path: /healthz, port: 3000 }
---
apiVersion: v1
kind: Service
metadata: { name: web }
spec:
  selector: { app: web }
  ports: [{ port: 80, targetPort: 3000 }]

Run and verify

bash
kubectl apply -f deploy.yaml
kubectl rollout status deploy/web
kubectl get pods -l app=web
kubectl logs deploy/web
kubectl rollout undo deploy/web   # roll back the last change

Mistakes to avoid early

  • No resource requests/limits - the scheduler can't pack pods and OOM kills surprise you
  • Using :latest images so rollbacks and caching become unpredictable
  • Liveness probes that are too aggressive, restarting healthy-but-slow pods

Want senior help putting Kubernetes to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.

Like where this is going?

Get hands-on help from the engineers who write these posts.

Book a free consult