Kubernetes

Overview

Kubernetes (K8s) is an open source system for automating deployment, scaling, and management of containerized applications.

Core Features

  • Automated rollouts and rollbacks
  • Service discovery and load balancing
  • Storage orchestration
  • Secret and configuration management
  • Automatic bin packing
  • Self-healing
  • Horizontal scaling

Documentation

Quick Start

Create Local Cluster with 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

Learning Resources