Skip to content

Vagrant box with Kubernetes ☸️

License

Notifications You must be signed in to change notification settings

rdrgporto/kubernetes-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Kubernetes Vagrant! ☸️

Introduction

This repository was created with the aim of testing Kubernetes easily.

First Steps

  • Download Vagrant : Link
  • Download Virtualbox: Link

Up and SSH

Install Git

  • Linux 🐧

sudo apt -y install git --> Ubuntu/Debian
sudo yum -y install git --> CentOS/RedHat

git clone https://github.com/rdrgporto/kubernetes-vagrant.git
  • Windows 🏁

    Download Git Bash and install it:

git clone https://github.com/rdrgporto/kubernetes-vagrant.git

Run Vagrant 🚀

Vagrant is configured with two kinds of network, internal and public. You can use public network in order to login via any kind of SSH client (Putty, MobaXterm, Termius):

cd /home/rdrgporto/kubernetes-vagrant/
vagrant up

If everything was fine, login via SSH:

vagrant ssh

Vagrant Commands

vagrant up        : start vm
vagrant destroy   : remove/delete vm
vagrant ssh       : connect to vm
vagrant halt      : shutdown vm
vagrant provision : relaunch Ansible