Skip to content

Bootstrap Kubernetes the easy way on AWS. Automated with Ansible.

Notifications You must be signed in to change notification settings

andahme/kubernetes-the-easy-way

Repository files navigation

Set Inventory

ANSIBLE_INVENTORY=inventory/sg-test.yml

Generate Configuration

Install Tools
ansible-playbook --tags prepare \
  k8s-bootstrap.yml
Generate Kubernetes Encryption Secret and TLS Certificates
ansible-playbook --tags gen-k8s,gen-tls \
  k8s-bootstrap.yml

Provision Hosts

Create Cluster

ansible-playbook k8s-cluster.yml

Generate Client Configuration

ansible-playbook k8s-config.yml

Create Roles and Role Bindings

kubectl apply \
  --filename resources/role-apiserver-to-kubelet.yaml \
  --filename resources/role-binding-apiserver-to-kubelet.yaml

Create Deployments

kubectl apply \
  --filename resources/coredns.yaml

About

Bootstrap Kubernetes the easy way on AWS. Automated with Ansible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published