You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Trying 10.96.15.145:31810...
Edit 29/11/2024: 13:13:
with the port-forward i can display dashboard to my computer: (with kong on ClusterIP not NodePort)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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