-
Notifications
You must be signed in to change notification settings - Fork 4
Fix StatefulSet name references in k8s documentation #283
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
Fix StatefulSet name references in k8s documentation #283
Conversation
Co-authored-by: sfroment <[email protected]>
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.
Pull request overview
This PR fixes documentation inconsistencies where the StatefulSet name was incorrectly referenced as mojave-sequencer-deployment when the actual resource name is mojave-sequencer as defined in k8s/stateful.sequencer.yaml.
- Updated kubectl command to use correct StatefulSet name
- Corrected StatefulSet description text
- Fixed PVC naming pattern to reflect proper Kubernetes conventions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* init: add k8s yaml * feat: add k8s leader election logic * add: k8s yamls * mod: add k8s leader shutdown * add: k8s node yaml * fix: use pv&pvc to maintain status on k8s * chore: yaml && add docs * feat: mod batch producer load batch number when it starts (#272) * fix: cargo.toml * chore: toml * mod: k8s + ovh * chore: lint Signed-off-by: Sacha Froment <[email protected]> * chore: fix here we have 2 result imbricated Signed-off-by: Sacha Froment <[email protected]> * chore: change a bit Signed-off-by: Sacha Froment <[email protected]> * feat: add node deploy Signed-off-by: Sacha Froment <[email protected]> * chore: fix potential race Signed-off-by: Sacha Froment <[email protected]> * chore: update docs Signed-off-by: Sacha Froment <[email protected]> * chore: use anyhow error Signed-off-by: Sacha Froment <[email protected]> * refactor: change the way the main is started" (#275) * chore: add health check Signed-off-by: Sacha Froment <[email protected]> * refactor: change the way the main is started Signed-off-by: Sacha Froment <[email protected]> * chore: nitpick * mod: k8s yaml * chore: remove command in justfile * chore: fix just sequencer & node , fix kill process in start.sh * chore: rm * refactor: coordination k8s (#276) * refactor: coordination k8s Signed-off-by: Sacha Froment <[email protected]> * chore: save Signed-off-by: Sacha Froment <[email protected]> * chore: keep health alive Signed-off-by: Sacha Froment <[email protected]> * fix: start Signed-off-by: Sacha Froment <[email protected]> * Apply suggestion from @Copilot Co-authored-by: Copilot <[email protected]> * chore: remove useless Signed-off-by: Sacha Froment <[email protected]> * chore: review comment Signed-off-by: Sacha Froment <[email protected]> * chore: add back save on shutdown Signed-off-by: Sacha Froment <[email protected]> --------- Signed-off-by: Sacha Froment <[email protected]> Co-authored-by: Copilot <[email protected]> * Update justfile Co-authored-by: Copilot <[email protected]> * Update cmd/sequencer/src/main.rs Co-authored-by: Copilot <[email protected]> * Update cmd/sequencer/src/cli.rs Co-authored-by: Copilot <[email protected]> * Update cmd/node/src/cli.rs Co-authored-by: Copilot <[email protected]> * Update cmd/sequencer/src/cli.rs Co-authored-by: Copilot <[email protected]> * Update justfile Co-authored-by: Copilot <[email protected]> * chore: fix 1st call Signed-off-by: Sacha Froment <[email protected]> * Refactor: Use idiomatic assert! in CLI tests (#277) * Initial plan * Replace if-panic patterns with assert! in CLI tests Co-authored-by: sfroment <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: sfroment <[email protected]> * Fix missing assert in CLI test for command parsing (#278) * Initial plan * Fix matches! macro usage in sequencer CLI tests Added assert! around matches! calls in parse_stop_and_get_pub_key test to properly verify command types instead of just evaluating the boolean. Co-authored-by: sfroment <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: sfroment <[email protected]> --------- Signed-off-by: Sacha Froment <[email protected]> Co-authored-by: Giwook-Han <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: sfroment <[email protected]> * chore: lint Signed-off-by: Sacha Froment <[email protected]> * chore: lint Signed-off-by: Sacha Froment <[email protected]> * chore: fix registry Signed-off-by: Sacha Froment <[email protected]> * Update docs/k8s.md Co-authored-by: Copilot <[email protected]> * Update docs/k8s.md Co-authored-by: Copilot <[email protected]> * Fix StatefulSet name references in k8s documentation (#283) * Initial plan * Fix StatefulSet name references in k8s documentation Co-authored-by: sfroment <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: sfroment <[email protected]> * Fix documentation references to use correct StatefulSet manifest filename (#282) * Initial plan * Fix documentation: update references from deploy.sequencer.yaml to stateful.sequencer.yaml Co-authored-by: sfroment <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: sfroment <[email protected]> * Fix incorrect filename references in Kubernetes documentation (#281) * Initial plan * Fix all references from deploy.sequencer.yaml to stateful.sequencer.yaml Co-authored-by: sfroment <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: sfroment <[email protected]> * Consolidate shutdown logic in K8s leader election error handling (#284) * Initial plan * Call shutdown() on error paths to ensure consistent cleanup Co-authored-by: sfroment <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: sfroment <[email protected]> * fix: healt.port Signed-off-by: Sacha Froment <[email protected]> --------- Signed-off-by: Sacha Froment <[email protected]> Co-authored-by: Sacha Froment <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: sfroment <[email protected]>
Why is this change necessary?
Documentation referenced
mojave-sequencer-deploymentbut the actual StatefulSet name ismojave-sequencerperk8s/stateful.sequencer.yaml.Description
Corrected three mismatched references:
kubectl get sts mojave-sequencer -n 1sixtechsequencer-datadir-mojave-sequencer-0Closes #271
Type of change
Checklist
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.