Proposal: Allow user to set own service defaults
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3.7k
- Forks
- 676
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 6
Description
Description
Currently service defaults are set on:
https://github.com/docker/swarmkit/blob/b6a4260bcd2c3e8550d6535c787fb7395f73af9c/api/defaults/service.go#L11-L41
but it would be very useful to be able set own Swarm wide defaults for placement, failure action, restart condition, etc...
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 api/defaults/service.go, especially the service defaults referenced in the issue, and trace where placement, failure action, and restart condition defaults are applied. Determine how Swarm-wide user configuration would fit the existing service API and verify that the requested defaults can be set consistently for new services.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend-api-design, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100