w1ndy / ansible-kubernetes-centos

Setting up a single-master Kubernetes cluster with Ansible on CentOS [experimental]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-kubernetes-centos

Setting up a single-master Kubernetes cluster with Ansible on CentOS [experimental]

Create the ansible host file before running these playbooks. /etc/ansible/hosts example:

[masters]
master.k8s.dev ansible_host=172.17.165.220

[workers]
worker1.k8s.dev ansible_host=172.17.165.221
worker2.k8s.dev ansible_host=172.17.165.222

These playbooks can be run with the following command:

ansible-playbook xxx.yml -bK   # becoming root is required

About

Setting up a single-master Kubernetes cluster with Ansible on CentOS [experimental]