From 85a762e5e7f2b163c0fc635abb228fe09cb8eb5e Mon Sep 17 00:00:00 2001 From: Jeroen Willemsen Date: Mon, 19 Jun 2023 11:10:03 +0200 Subject: [PATCH] Updating welcome docs --- wrongsecret-desktop-resources/welcome.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/wrongsecret-desktop-resources/welcome.md b/wrongsecret-desktop-resources/welcome.md index 16f0079ff..0c8937a0a 100644 --- a/wrongsecret-desktop-resources/welcome.md +++ b/wrongsecret-desktop-resources/welcome.md @@ -36,9 +36,15 @@ on Aws that would be: ```shell export KUBERNETES_SERVICE_HOST=10.100.0.1 -export KUBERNETES_SERVICE_PORT=443 -export KUBERNETES_SERVICE_PORT_HTTPS=443 +export KUBERNETES_SERVICE_PORT=8443 +export KUBERNETES_SERVICE_PORT_HTTPS=8443 ``` +Where the SERVICE_HOST IP might be different. You can find the right IP with the command below at the host serving the minikube: + +```shell +kubectl -n kube-system get pod -l component=kube-apiserver -o=jsonpath="{.items[0].metadata.annotations.kubeadm\.kubernetes\.io/kube-apiserver\.advertise-address\.endpoint}" +``` + ### When you are in a CTF