How do I connect to my DEDZED ephemeral cluster?
Connecting to Azure Kubernetes (AKS) clusters
Creating your Rancher API token
- Navigate to https://kasm.dedzed.dso.sh and click the Ping Identity option.
- Sign in with your
firstname.lastname@usa.devaccount and Use a certificate or smart card option to login. - Once you’re in the KASM console, start a KASM workspace session using SHE BASH Ubuntu or Windows 11.
- Within the KASM workspace session, open a browser and navigate to DEDZED Rancher Service.
- Login with your DEDZED username & password.
- Go to Account & API Keys section by clicking on your profile picture on the top right corner of the screen.
- Click Create API Key.
- Set your token expiration date and Scope to “No Scope” and click Create.
- On the following page, copy & save your Bearer Token and click Done.
- Keep this webpage open and proceed to the next steps.
Connecting to your cluster(s)
Connection instructions for SHE BASH Ubuntu workspace session
-
On your Ubuntu desktop, right click on the
aks_local_init.shand select Open with “Terminal Emulator”. If you don’t see Terminal Emulator option by default, expand the Open With Other Application… option and search for Terminal Emulator. Alternatively, you can open the Terminal Emulator directly and execute the script via command line: - On first run, the script will prompt for your rancher API token. Copy & paste your token in the terminal and hit return to proceed.
-
The script will lookup and prompt you to select the AKS cluster you want to connect to. If no environment request or cluster(s) are available, it’ll return
No clusters found or failed to fetch clusters. - You can now use k9s or kubectl commands to interact with your cluster resources.
Connection instructions for Windows 11 workspace session
- On your windows desktop, double click on the
aks_local_init.batfile (the file with double-gear icon). - On first run, the script will prompt for your rancher API token. Copy & paste your token in the terminal and hit return to proceed.
- The script will lookup and prompt you to select the AKS cluster you want to connect to. If no environment request or cluster(s) are available, it’ll return
No clusters found or failed to fetch clusters. - You can now use k9s or kubectl commands to interact with your cluster resources.
k9s cheat sheet
Quick reference guide for working with k9s.
Connecting to Amazon Elastic Kubernetes (EKS) clusters
- Log into the Kasm Virtual Desktop Infrastructure (VDI) at https://kasm.dedzed.dso.sh
- Open the terminal emulator within the VDI
- Run the initialization script by entering the following command:
- When prompted, enter your cluster name (which is the Terraform workspace name for -core-infra)
- Input your full SSO principal name, including the domain (e.g.,
username@usa.dev)