-
Notifications
You must be signed in to change notification settings - Fork 7
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
chore(greptimedb-cluster): add port and path to the probe #176
Conversation
WalkthroughThe changes in this pull request involve updates to the Changes
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (3)
charts/greptimedb-cluster/values.yaml (3)
Line range hint
136-158
: LGTM! Consider adding a note about enabling probes.The added configurations for readiness and liveness probes in the frontend component are well-structured and follow Kubernetes best practices. They use appropriate endpoints and parameters for health checking.
Consider adding a comment above these sections to guide users on how to enable these probes when needed. For example:
# Uncomment and adjust the following sections to enable readiness and liveness probes
Line range hint
46-552
: Overall LGTM! Enhances probe configurability consistently.The changes in this PR add commented-out configurations for readiness and liveness probes across all components (frontend, meta, datanode, and flownode) of the GreptimeDB cluster Helm chart. These additions:
- Follow Kubernetes best practices for health checking.
- Maintain consistency across all components, improving maintainability.
- Are commented out, ensuring backward compatibility while allowing easy enablement.
These changes enhance the chart's flexibility and align with common Kubernetes deployment patterns.
Consider adding a section in the chart's README or NOTES.txt to explain these new probe configurations and how to enable them for production deployments.
Reconsider readiness and liveness probe configurations for the flownode component
The
flownode
component is marked as "NOT READY YET" incharts/greptimedb-cluster/values.yaml
. Adding readiness and liveness probes at this stage may be unnecessary. Consider removing these configurations or adding a TODO to revisit them when the component is ready.🔗 Analysis chain
Line range hint
530-552
: LGTM, but consider timing for flownode component.The added configurations for readiness and liveness probes in the flownode component maintain consistency with other components, which is good. However, given that the flownode is marked as "NOT READY YET" in the comments, it's worth considering if these additions are necessary at this time.
Could you clarify if the flownode component is expected to be ready soon, justifying these additions now? If not, consider adding a TODO comment to revisit these configurations when the flownode component is ready for use.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Check if flownode is marked as not ready in other parts of the chart grep -n "flownode.*NOT READY" charts/greptimedb-cluster/*.yamlLength of output: 106
Script:
#!/bin/bash # Search for various indicators of flownode component not being ready grep -i -E "flownode.*(not ready|ready:\s*false|status:\s*not ready)" charts/greptimedb-cluster/*.yamlLength of output: 232
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (3)
- charts/greptimedb-cluster/Chart.yaml (1 hunks)
- charts/greptimedb-cluster/README.md (1 hunks)
- charts/greptimedb-cluster/values.yaml (10 hunks)
✅ Files skipped from review due to trivial changes (2)
- charts/greptimedb-cluster/Chart.yaml
- charts/greptimedb-cluster/README.md
🧰 Additional context used
🔇 Additional comments (2)
charts/greptimedb-cluster/values.yaml (2)
Line range hint
257-279
: LGTM! Consistent with frontend component.The added configurations for readiness and liveness probes in the meta component are identical to those in the frontend component, maintaining consistency across the chart.
Line range hint
380-402
: LGTM! Maintains consistency across components.The added configurations for readiness and liveness probes in the datanode component are consistent with those in the frontend and meta components, ensuring a uniform approach across the chart.
Summary by CodeRabbit
New Features
greptimedb-cluster
Helm chart to0.2.22
.Documentation
README.md
file to reflect the new chart version.