Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 2.35 KB

connecting.md

File metadata and controls

70 lines (46 loc) · 2.35 KB

Connecting to a workshop server

Choose your weapon how to connect to your workshop server instance.

Using a Terminal

You should be able to SSH directly into the server if you provided your SSH key to us beforehand

ssh workshop@<SERVERNAME>.k8s.o12stack.org

alt

On the server you find all sort of editors. If something is missing, you can sudo dnf install <PACKAGE> anything you like.

Using a Browser

An instance of vscode-server is running at code.SERVERNAME.k8s.o12stack.org. You find the workshop user's home directory mounted in ./project

alt

Feel free to install the extensions you need, e.g. the Kubernetes extension. To gain control over the running Kubernetes cluster, add ./project/.kube/config as existing Kubeconfig to your clusters.

alt

Using k9s

You can either SSH into your server and use k9s on the Terminal or use k9s locally. Copy the Kubeconfig to your local machine:

scp [email protected]:/home/workshop/.kube/config ~/.kube/config-SERVERNAME
KUBECONFIG=~/.kube/config-SERVERNAME k9s

Using a local VSCode

To connect to your Kubernetes training cluster, we recommend using Visual Studio Code and the remote SSH plugin. Hit F1 and start typing Remote SSH. Select Remote SSH: Connect to Host ...

alt

During the workshop, you connect as the SSH user workshop. Connect to your assigned server, e.g. [email protected].

alt

VSCode opens a remote SSH shell for your convenience. Click Open a folder and select /home/workshop/observability-workshop to gain access to the workshops resources.

alt

Questions?

Do not hesitate to contact us by E-Mail, Twitter or Slack if you have any questions:

👨‍💻 Torsten Köster Nikolaus Winter
🌐 thiswayup.de nikolauswinter.de
📧 [email protected] [email protected]
🐦 @tboeghk @backstreetkiwi