Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.3 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.3 KB

Provisioning Template

Command

  • often used command [1][2]
vagrant init # create vagrantfile
vagrant up # start vm
vagrant ssh # access to vm using ssh
vagrant destroy # delete vm
  • apply updated vagrantfile to vm [3]
vagrant halt # stop vm
vagrant up --provision
  • apply provision shell script to running vm
vagrant provision
  • provison specific scirpt [4]
# ex) master.vm.provision "helm", type: "shell", path: "script/helm.sh"
vagrant provision master --provision-with helm

Todo

  • init vagrant
  • set docker
  • set kubernetes
  • set kubernetes multi nodes cluster
  • k8s worker node join automation
  • refactor shell script to external bash file

Reference

Tutorial