Skip to content

A multi-node kubernetes cluster running in Vagrant

License

Notifications You must be signed in to change notification settings

BenamarMk/k8s-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A kubeadm-based Kubernetes cluster in Vagrant

Build Status

Basic usage

To bring up a basic multi-node cluster, just run:

$ vagrant up

To customize the number of nodes, edit WORKERS at the top of the Vagrantfile.

Upgrading the version of Kubernetes

By default, the cluster is built with the most recent version supported by kubeadm. For development, you can upgrade the version on the nodes using the included Ansible playbook. Make sure you update the k8s_files variable first to point to your source directory.

Since the Vagrant environment requires special inventory files and ssh parameters, instead of directly invoking ansible-playbook, use the included acmd script:

$ ./acmd ansible/upgrade_k8s_source.yml

Troubleshooting

About

A multi-node kubernetes cluster running in Vagrant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%