This project is to setup a Giantswarm development environment that uses code-server as the main interface into the environment. Code-server runs on the remote machine and has a webui with a terminal. This allows you easily setup a work server and access your environment from any dumb terminal.
Some bash functions have been added to make life easier
start_vpn
starts vpn expecting/openvpn.ovpn
to existstop_vpn
stop vpn
- ssh-agent with github key loaded ie
eval $(ssh-agent -s)
ssh-add ~/.ssh/<githubkey>
verifu withssh-add -l
- env_vars in local folder with proper values
- (optional) vpnconfig.ovpn in local folder
Found in Makefile defaults to 8082
right now.
cp env_vars.template env_vars
#Change values as see fit
vi env_vars
vi Makefile
openvpn_config
this is the path to your personal openvpn config file egusername.ovpn
env_vars
path to environment variables file that gets run inbashrc
when new terminal is launched in webuicode_repo
path to code-server repo where all data and workspaces is storedssh_repo
path to ssh keys that is mounted in containerbashrc
path to bashrc file
vi Dockerfile
go_version
kind_version
helm_version
docker_id
docker group id required to run docker commands with sudo
All GS tools and code repos are stored in /gianswarm repo in container.
devctl_version
git tag/sha/branch to useopsctl_version
git tag/sha/branch to usegsctl_version
This is currently ignored.gsctl_release
/gsctl_url
url to gsctl release tar.
make start
make stop
note some kind resource may be still present please verify they are cleaned up.
Helpfull commands
docker ps
docker system prune --all