-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add k8s port check #106
add k8s port check #106
Conversation
@@ -33,4 +33,9 @@ pekko.management { | |||
example-ready = org.apache.pekko.cluster.bootstrap.demo.DemoHealthCheck | |||
} | |||
} | |||
# Add these so the pods won't get killed. | |||
http { | |||
port = 8558 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also set it to bind-port instead of port(port is fine too).
If the user does not want to change, they just need to set it to pekko-management port in the k8s health check.(is 7626 not 8558)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pjfanning Can you update this as the default pekko port? I think this configuration is still indeed for user understanding. Thanks!
pekko-sample-cluster-kubernetes-java/src/main/resources/application.conf
Outdated
Show resolved
Hide resolved
pekko-sample-cluster-kubernetes-scala/src/main/resources/application.conf
Outdated
Show resolved
Hide resolved
…ation.conf Co-authored-by: AndyChen(Jingzhang) <iRoiocam@gmail.com>
…cation.conf Co-authored-by: AndyChen(Jingzhang) <iRoiocam@gmail.com>
@@ -33,4 +33,9 @@ pekko.management { | |||
example-ready = org.apache.pekko.cluster.bootstrap.demo.DemoHealthCheck | |||
} | |||
} | |||
# Expose port for Kubernetes health check probing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I forgot the comment should be clarity. I have updated this in the commit, I hope you don't mind.
And then I think this is ready for review.
Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good now - thanks
see #103