This repository contains Ansible and Kubernetes examples developed to support different sections of Ansible for Kubernetes by Jeff Geerling.
Not all playbooks follow all of Ansible and Kubernetes' best practices, as they illustrate particular features in an instructive manner.
Here is an outline of all the examples contained in this repository, by chapter:
hello-go
: A basic 'hello, world!' application written in the Go language, used to demonstrate running a very simple stateless app in a container in a Kubernetes cluster.
hello-ansible
: A basic Ansible playbook, meant to introduce someone completely new to Ansible to task-based automation.hello-go-automation
: A fully-automated example of all the manual commands used to build and run the Hello Go app from Chapter 1 in a local Kubernetes cluster.
ansible-containers
: An Ansible-driven way of building a container image for the Hello Go app.ansible-solr-container
: An end-to-end playbook for building an Apache Solr container image and testing it using Ansible's Docker connection plugin, without using a Dockerfile.
cluster-local-vms
: A Kubernetes cluster running on three local VirtualBox VMs, built with Vagrant and Ansible.
cluster-aws-eks
: An AWS EKS Cluster with an EKS Node Group, which uses Ansible to apply CloudFormation templates that set up stacks for a VPC and networking, an EKS Cluster, and an associated EKS Node Group.
- N/A
testing-molecule-kind
: A Molecule-based test environment which allows development and testing of Ansible playbooks against a Kind Kubernetes cluster.
MIT
Buy Ansible for Kubernetes for your e-reader or in paperback format.