Skip to content

zeebote/install-kubernetes-with-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install Kubernetes nodes with ansible

This script assume you already configure access from your ansible host to your nodes:
To run this ansible play book, you need all 3 files:
instkuber-node.yml is based on instruction of installation kubernetes on the offical site
kube-nodes is list of nodes that you want install kubeadm, kubectl, and kubelet to:
join-command is the script to join these newly kubernetes nodes to an existing cluster (master)
You must update join-command content with the out put of "kubeadm token create --print-join-command" of your cluster master.

ansible-playbook -i kube-nodes instkuber-nodes.yml --ask-become-pass

About

Install Kubernetes and add node to cluster with Ansible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published