Skip to content

hpe-container-platform-community/kubedirector-lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubedirector Lab Environment

This document describes how to use vagrant to automate setting up a development environment for Kubedirector.

The vagrant environment contains:

  • Minikube 1.18.3
  • Operator SDK 1.5.2
  • Thiea IDE

Pre-requisites

The following should be installed on your development environment

Usage

Start environment

Open a terminal, then enter the following:

git clone https://github.com/hpe-container-platform-community/kubedirector-lab
cd kubedirector-lab
git clone https://github.com/bluek8s/kubedirector
vagrant plugin install vagrant-vbguest

# this step can take quiet a long time
vagrant up

# if you don't want git configured inside vagrant 
vagrant ssh -c ./run_lab.sh

# if you do want git configured inside vagrant 
./run_ide.sh

Open a browser and navigate to: http://localhost:3000 - this will load the Theia IDE.

Open a terminal in Theia, from here you can:

  • Change to the source code folder for kubedirector (/vagrant/src/github.com/bluek8s/kubedirector)
  • Build and Deploy Kubedirector
    • make
    • make deploy
    • make redeploy # if make deploy reports an error
  • Use kubectl to interact with minikube

Stop environment

  • Open the terminal on your developement machine where you cloned kubedirector
  • Navigate to the vagrant folder
  • Issue vagrant suspend

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 95.9%
  • Smarty 4.1%