kubernetes / kubernetes/kubectl
Add `kubectl edit --server-side`
- Dominant language
- Go
- Stars
- 3.3k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
**What would you like to be added**:
There's an ancient issue with Service ports having an insufficient merge key for client-side apply. This causes a lot of pain for people who try to `kubectl apply` (client-side) a Service, but it's fixed in server-side apply.
The issue also appears in `kubectl edit`, but there is no --server-side form of that.
Is it possible?
xref https://github.com/kubernetes/kubernetes/issues/115089
Contributor guide
Research direction
Start at the kubectl edit entry point and review the linked Kubernetes issue about Service port merge keys and server-side apply. Trace how edit currently submits changes, then determine the expected behavior for a --server-side form. Done means kubectl edit accepts the flag and avoids the stated client-side merge problem for Services.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100