-
Notifications
You must be signed in to change notification settings - Fork 12
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 instructions for a standard kubernetes setup #217
Conversation
docs/installation/kubernetes.md
Outdated
- name: SERVER_PORT | ||
value: "9411" | ||
- name: JAVA_JVM_ARGS | ||
value: "-Dspring.jmx.enabled=true -XX:MaxRAMPercentage=80.0" |
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.
I see we've enabled JMX for metrics, but do we really need it?
Setting spring.jmx.enabled
to true adds some overhead (see here) and wondering if it's useful or not.
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.
the kafka metrics require this to be enabled :(
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.
regarding the metrics, there's folks using jmx agents to get metrics.
docs/installation/kubernetes.md
Outdated
prometheus.io/port: "8081" | ||
prometheus.io/path: "/actuator/prometheus" | ||
spec: | ||
terminationGracePeriodSeconds: 0 |
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.
I think this needs to be > preStop hook sleep duration. By default it's 30s.
Kubernetes waits for time=terminationGracePeriodSeconds and this happens in parallel to whatever we set in the preStop hook.
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.
yes, you're right. i'll remove this line.
Co-Authored-By: Nikos Katirtzis <nkatirtzis@expediagroup.com>
Co-Authored-By: Nikos Katirtzis <nkatirtzis@expediagroup.com>
📝 Description
Instructions for a standard kubernetes setup