Skip to content

ahmadjubair33/vagrant-kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Vagrantfile and Scripts to Automate Kubernetes Setup using Kubeadm

Prerequisites

  1. Working Vagrant setup
  2. 8 Gig + RAM workstation as the Vms use 3 vCPUS and 4+ GB RAM

Usage/Examples

To provision the cluster, execute the following commands.

git clone https://github.com/ahmadjubair33/vagrant-kubernetes.git
cd vagrant-kubeadm-kubernetes
vagrant up

Set Kubeconfig file varaible.

cd vagrant-kubeadm-kubernetes
cd configs
export KUBECONFIG=$(pwd)/config

or you can copy the config file to .kube directory.

cp config ~/.kube/

To shutdown the cluster,

vagrant halt

To restart the cluster,

vagrant up

To destroy the cluster,

vagrant destroy -f

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages