JohnStrunk / k8s-cluster

A multi-node kubernetes cluster running in Vagrant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU Affero General Public License v3.0


Languages

Language:Shell 100.0%