I am running akhq 0.18.0 but need help on configure health endpoint #855
Unanswered
ankurjains
asked this question in
Q&A
Replies: 2 comments 3 replies
-
You can't change the endpoint port to the same port of the app. Whenever, it's a bad practice & security issues to expose health on the same port. But I wonder why you have some much difficulty, the official helmcharts have all the configuration required to have a running service on k8s with healthcheck. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am running akhq in kubernetes with 8080 port exposed and for akhq. But documentation says 28081 for health endpoint which i can not access when i hit localhost:28081 as akhq is running on 8080. if i change port to 8080 in endpoint section from 28081 container wont start and throw error
Unable to start server. Additional specified server port 8080 already in use.
2021-10-14 12:41:06,609 ERROR main i.m.runtime.Micronaut Error starting Micronaut server: Unable to start Micronaut server on port: 8080
io.micronaut.http.server.exceptions.ServerStartupException: Unable to start Micronaut server on port: 8080
Could anyone help on configuring health endpoint so that i can use it in k8s liveness test. lack java skills
Beta Was this translation helpful? Give feedback.
All reactions