Ansible is an essential tool for modern infrastructure automation, and Kubernetes is an essential tool for modern application deployment; together, they are a DevOps powerhouse! In this presentation, Jeff Geerling (geerlingguy) explains Kubernetes and goes through some ways Ansible can help make the Kubernetes experience better.
3. • 2013 - Google wants to open source 'Borg'
• Trivia: Originally named 'Seven of Nine', thus 7
sides in logo
• a.k.a. 'K8s' (k-8 chars-s)
• Origin story here
4. • Automatic binpacking
• Horizontal scaling
• Self-healing
• Rollouts and Rollbacks
• Service discovery and load balancing
6. What can Ansible automate?
• Bare metal cluster setup and management
• Container lifecycle: build, test, push
• Kubernetes manifests (& Helm charts, etc.)
• 100s of things still running outside Kubernetes
7. Ansible tools for K8s
• Cluster setup
• Minikube, GKE, EKS, AKS, DO K8s, etc.
• Kubespray
• Kubernetes roles (e.g. geerlingguy.kubernetes)
installing kubeadm, docker, CNI, etc.
8. Ansible tools for K8s
• k8s module
• Uses kube config file, K8s REST API
• Can manage resources with inline or file-based
manifests (vars, Jinja, yay!)
9. Raspberry Pi Dramble
• Fun experimental cluster project
• 99.9%+ uptime since 2015
• www.pidramble.com
• GitHub Project
10. Raspberry Pi Dramble
• Fun experimental cluster project
• 99.9%+ uptime since 2015
• www.pidramble.com
• GitHub Project