18
Setup Kubernetes Development Environment using Vagrant and K3s
You need install some tools first and please refer to their official websites to setup into your PC or computer since it will have different steps if have different operating system.
If you want install VirtualBox please visit here: https://www.virtualbox.org/wiki/Downloads and select with the correct package that same with your operating system.
For Vagrant, you can check in here: https://www.vagrantup.com/downloads
You can choose to use directly the Vagrantfile that I’ve created or create it from scratch, since I will provide you to create it.




Here is the final Vagrantfile




Run kubectl apply -f https://k8s.io/examples/controllers/nginx-deployment.yaml






So, it’s easy enough, right? But it will need many internet connection (in case you have limited access). But, if you have any errors or another things you can ask me too.
Thank you for reading! Any comments? Please tell me.
18