Skip to content

Starts a single-node virtual Kubernetes cluster using a set of ansible playbooks

Notifications You must be signed in to change notification settings

Alex-Carter01/kube-cluster-single

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Configure hosts file

  2. Run the initial playbook

ansible-playbook -i hosts initial.yml

  1. Install kubernetes

ansible-playbook -i hosts kube-dependencies.yml

  1. Configuration

ansible-playbook -i hosts control-plane.yml

  1. SSH into the node

(ssh test@<ip>)

  1. Remove control node taint

kubectl taint nodes --all node-role.kubernetes.io/master-

Miscellaneous:

  • Easy way to list node information: virsh net-dhcp-leases --network default

Credit: Based on playbooks from https://www.digitalocean.com/community/tutorials/how-to-create-a-kubernetes-cluster-using-kubeadm-on-ubuntu-18-04

About

Starts a single-node virtual Kubernetes cluster using a set of ansible playbooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published