[HELP] - access to the dasboard from another computer #9719
Unanswered
BenLikeCode
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
To gain skills, I'm trying to deploy a kubernetes cluster via terraform.
I want to access the dashboard from my personal computer which is on the same network as the server. (but not the same computer)
The creation of the kubernetes cluster is OK
The creation of dashboard services is OK
From there, I'm lost on the steps to be taken to access it from my computer.
I changed the kong service to nodeport, but that's not enough.
Trying to connect by:
https://IP-- SERVER-- KUBERNETES:NODE-- PORT-- KONG
I think I can create a ingress for the kong service. But how. Activate Kong ingress controller ?
Distribution: Ubuntu Server (only terminal)
To begin, I don't understand why a curl from the kubernetes cluster to my nodeport service does not return anything.
kubernetes-dashboard service/kubernetes-dashboard-kong-proxy NodePort 10.96.15.145 443:31810/TCP
curl 10.96.15.145:31810 -v
Edit 29/11/2024: 13:13:
with the port-forward i can display dashboard to my computer: (with kong on ClusterIP not NodePort)
on: https://192.168.1.43:8443/
But i dont know if it's the best/safe/clean solution.
Thank you.
CODE FILES
providers.tf
kubernets-cluster_create.tf
kubernetes-dashboard_install.tf
Beta Was this translation helpful? Give feedback.
All reactions