Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kubernetes For Developers - Sydney Alt.Net

Kubernetes For Developers - Sydney Alt.Net

Hossam Barakat

November 27, 2018
Tweet

More Decks by Hossam Barakat

Other Decks in Technology

Transcript

  1. @hossambarakat_ • What is Kubernetes? • Why Kubernetes? • Kubernetes

    Architecture • Kubernetes Building Blocks • Kubernetes in the cloud Agenda
  2. @hossambarakat_ Hardware Host Operating System Application Application Application Container Dependencies

    Application Host Operating System Hardware Container Engine Container Container Container Container Hardware Host Operating System Virtual Machine Guest OS Application Virtual Machine Guest OS Application Hypervisor
  3. @hossambarakat_ • Service discovery • Scaling • Health monitoring •

    Failover • Networking • Scheduling • Coordinated app upgrades Container Orchestration
  4. @hossambarakat_ • Self-healing • Horizontal scaling • Service discovery and

    load balancing • Automated rollouts and rollbacks • Secret and configuration management • Storage orchestration • Automatic binpacking • Batch execution Why Kubernetes?
  5. @hossambarakat_ Kubernetes Architecture Master API Server Controller Manager Scheduler Worker

    Kubelet Container Runtime UI (Dashboard) CLI (Kubectl) Other Client(s) Container Container Cluster
  6. @hossambarakat_ • Localhost installation (Minikube, Docker For Desktop) • On-Premise

    Installation (VMs, Bare Metal) • Cloud (Google, Azure, AWS,…) Installing Kubernetes
  7. @hossambarakat_ Service IP: 10.0.0.30 DNS: tasks-app-svc Service IP: 10.0.0.90 DNS:

    mssql-service Service 10.0.0.1 Pod 10.0.0.1 Pod 10.0.0.1 Pod
  8. Azure AKS $ az aks create -g myResourceGroup -n myCluster

    --generate-ssh-keys $ az aks get-credentials -g myResourceGroup -n myCluster $ kubectl get nodes $ az aks scale -g myResourceGroup -n myCluster --node-count 6
  9. @hossambarakat_ • https://github.com/hossambarakat/TaskList • Introduction to Kubernetes (edX) • Learn

    Kubernetes using Interactive Hands-on Scenarios (Katacoda) • https://kubernetes.io/docs/ Resources