Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

fntlnz/gitpod-k3s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k3s on Gitpod

Gitpod ready-to-code

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.

img/diagram.svg

Usage

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

Connecting via kubectl

When you open your workspace terminal, the kubectl is already configured for you via the ~/.kube/config file.

Kubectl from my local terminal

Connecting via SSH

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages