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_vpnstarts vpn expecting/openvpn.ovpnto existstop_vpnstop 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_varsvi Makefile
openvpn_configthis is the path to your personal openvpn config file egusername.ovpnenv_varspath to environment variables file that gets run inbashrcwhen new terminal is launched in webuicode_repopath to code-server repo where all data and workspaces is storedssh_repopath to ssh keys that is mounted in containerbashrcpath to bashrc file
vi Dockerfile
go_versionkind_versionhelm_versiondocker_iddocker group id required to run docker commands with sudo
All GS tools and code repos are stored in /gianswarm repo in container.
devctl_versiongit tag/sha/branch to useopsctl_versiongit tag/sha/branch to usegsctl_versionThis is currently ignored.gsctl_release/gsctl_urlurl 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