Kubernetes

Overzicht

Kubernetes (K8s) is een open-source systeem voor het automatiseren van de implementatie, opschaling en het beheer van gecontaineriseerde applicaties.

Kernfuncties

  • Geautomatiseerde uitrol en terugdraaiing
  • Servicediscovery en load balancing
  • Storage-orkestratie
  • Beheer van secrets en configuratie
  • Automatische bin packing
  • Zelfherstel
  • Horizontale opschaling

Documentatie

Snel starten

Lokaal cluster maken met Minikube

# Install Minikube
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube

# Start cluster
minikube start

# Deploy application
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4

# Expose service
kubectl expose deployment hello-minikube --type=NodePort --port=8080

# Access service
minikube service hello-minikube

Leermiddelen