peterkurishev / kubeadm-ansible-deployment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubeadm deployment to Ubuntu 20.04

You need:

  1. ansible installed on your local computer.
  2. ssh public key to be copied to server machines for passwordless access.
  3. hosts file to be changed according to your server nodes IP addresses.

Run playbooks with command:

ansible-playbook -i hosts ansible-playbook-file.yml

Run ansible playbooks in following order:

  1. initial.yml
  2. set_hostname.yml
  3. kube-dependencies.yml
  4. master.yml
  5. workers.yml

About

License:MIT License