nut_webgui on kubernetes #19
Unanswered
linux24365
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Default port for web UI is 9000, unless Do you have any ingress or service configuration to expose nut_webgui's HTTP port? Normally, I didn't include them in the example since there are too many options. Most basic one looks something like this, but you still need an ingress config, or use different service type. apiVersion: v1
kind: Service
metadata:
name: nutwebgui-service
spec:
type: ClusterIP
selector:
app: nutweb-pod
ports:
- port: 80
targetPort: 9000 For troubleshooting, I would use the # Exposes deployment port (9000) on localhost:9000
kubectl port-forward deployments/nutweb-deployment 9000:9000
# Exposes service port (80) on localhost:9000
kubectl port-forward services/nutwebgui-service 80:9000 Also, feel free to ask anytime 👍 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good Morning,
Sorry to bother you, but I need some help / guidance. I am trying to setup nut_webgui on Kubernetes using the example you provided. I am just wondering what would be the port to access the http page. ( I tried 80 , 9000 without success) . Either I get "no server available " or "no page found". The port 3493 conncetion to my external network UPS tool server seems to work according to the pod logs
Thanks
Beta Was this translation helpful? Give feedback.
All reactions