posit-dev / posit-dev/team-operator
team-operator: Add debug/sleep mode to product specs
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10
- Forks
- 1
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
Summary
Add ability to toggle sleep/debug mode in product specs for troubleshooting container startup issues.
Context
From README TODO: "A way to toggle sleep / debug in the spec"
When debugging container startup issues, it's useful to override the entrypoint to sleep infinitely, allowing operators to exec into the container and investigate.
Acceptance Criteria
- Add
debug.sleepor similar field to product specs - When enabled, override container command to sleep
- Document usage for troubleshooting scenarios
Migrated from rstudio/ptd#2667
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README TODO and the product-spec definitions to find how spec fields are represented and how container commands are applied. Trace the startup path for the operator, then verify that an enabled debug/sleep setting overrides the command and that the troubleshooting usage is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100