Just click on the button above and you will be in a Gitpod workspace with k3s running.
You can copy the .gitpod.yml
and the .gitpod
folder to your own project to also have the k3s environment ready in there.
Here's a diagram of the interactions that also shows how the various components interact with each other.
At start, the workspace will start a VM in your gitpod workspace and
automatically install k3s on it. Your local environment will be automatically
configured to use that via the kubectl
When you open your workspace terminal, the kubectl
is already configured for you
via the ~/.kube/config
file.
You can connect to the VM via ssh at any moment. The ssh daemon
is exposed on 127.0.0.1
for the workspace on port 2222
.
- username: root
- password: root
ssh -p 2222 [email protected]
You can use the .gitpod/ssh.sh
and .gitpod/scp.sh
scripts if you want to
avoid the extra steps.