```kind get kubeconfig --name=5min-idp > kcfg k...
# workshop-infrastructure-platform-engineering
c
Copy code
kind get kubeconfig --name=5min-idp > kcfg
kubectl -n openobserve port-forward svc/openobserve 5080:5080 --kubeconfig kcfg
d
anyone else getting this?
Copy code
5min-idp:/app# kind get kubeconfig --name=5min-idp > kcfg
5min-idp:/app# kubectl -n openobserve port-forward svc/openobserve 5080:5080 --kubeconfig kcfg
E0611 14:29:21.211157     850 memcache.go:265] couldn't get current server API group list: Get "<https://127.0.0.1:43495/api?timeout=32s>": dial tcp 127.0.0.1:43495: connect: connection refused
E0611 14:29:21.211336     850 memcache.go:265] couldn't get current server API group list: Get "<https://127.0.0.1:43495/api?timeout=32s>": dial tcp 127.0.0.1:43495: connect: connection refused
E0611 14:29:21.212614     850 memcache.go:265] couldn't get current server API group list: Get "<https://127.0.0.1:43495/api?timeout=32s>": dial tcp 127.0.0.1:43495: connect: connection refused
E0611 14:29:21.212733     850 memcache.go:265] couldn't get current server API group list: Get "<https://127.0.0.1:43495/api?timeout=32s>": dial tcp 127.0.0.1:43495: connect: connection refused
The connection to the server 127.0.0.1:43495 was refused - did you specify the right host or port?
j
yes i got the same…
b
yes
r
same same
j
This command should be run outside the vm, but it requires kind to be installed locally
You could also run
kind get kubeconfig --name=5min-idp > kcfg
copy the content of kcfg to your clipboard, into a local file and afterwards run the port-forward on your local machine.
r
maybe you should add kind and kubectl to the prerequisistes list
j
Yes, I guess this was an oversight, generally you would an ingress/route for openobserve to avoid the port-forward.
d
that step was not given enough time in the demo
may I suggest tilt for the pf next time 😃
that did it
j
Here would be the ingress https://platformengin-b0m7058.slack.com/archives/C0771L3CX99/p1718118004781599 to avoid port forwarding and the kind export dance.