Skip to content
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

Merged
merged 4 commits into from
May 11, 2024
Merged

add k8s port check #106

merged 4 commits into from
May 11, 2024

Conversation

pjfanning
Copy link
Contributor

see #103

@pjfanning pjfanning marked this pull request as draft May 4, 2024 21:00
@@ -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
Copy link
Member

@Roiocam Roiocam May 6, 2024

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).

https://github.com/apache/pekko-management/blob/1b7a52ba277daec3130baee4bf29a2f0f55a51bb/management/src/main/resources/reference.conf#L33

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)

https://github.com/apache/pekko-management/blob/1b7a52ba277daec3130baee4bf29a2f0f55a51bb/management/src/main/resources/reference.conf#L19

Copy link
Member

@Roiocam Roiocam left a 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!

pjfanning and others added 3 commits May 10, 2024 14:03
…ation.conf

Co-authored-by: AndyChen(Jingzhang) <iRoiocam@gmail.com>
…cation.conf

Co-authored-by: AndyChen(Jingzhang) <iRoiocam@gmail.com>
@pjfanning pjfanning marked this pull request as ready for review May 10, 2024 13:12
@@ -33,4 +33,9 @@ pekko.management {
example-ready = org.apache.pekko.cluster.bootstrap.demo.DemoHealthCheck
}
}
# Expose port for Kubernetes health check probing.
Copy link
Member

@Roiocam Roiocam May 10, 2024

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good now - thanks

@pjfanning pjfanning merged commit 266489b into apache:main May 11, 2024
2 checks passed
@pjfanning pjfanning deleted the k8s-port-check branch May 11, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants