Skip to content

Instantly share code, notes, and snippets.

View phoracek's full-sized avatar

Petr Horacek phoracek

View GitHub Profile
@oshoval
oshoval / kcli_ui.txt
Last active April 24, 2025 13:53
Connecting remote Kcli UI from your laptop
1. Make sure you are use sslip, and have a valid pull secret.
2. Copy the kubeconfig from your remote machine to your local, export KUBECONFIG pointing to it.
3. Change kubeconfig `server` line to match your remote machine ip i.e `server: 10.1.2.3:6443` (keep original port).
4. On your local machine run the following command in the background `sshuttle -r root@your_hypervisor 192.168.122.0/24`
5. Open the console URL, i.e `console-openshift-console.apps.multi-homing.192-168-122-253.sslip.io` on your local chrome (get it via oc get routes -A).