Skip to content

[Feature] Implement Apply Server Side #10

@johandry

Description

@johandry

Is your feature request related to a problem? Please describe.
Not problem related

Describe the solution you'd like
Implement a method ApplyServerSide() or similar name, to allow execute the apply using service side. This is done in kubectl with the flag --server-side. This feature is new (beta) in K8s 1.16, more about it here: https://kubernetes.io/docs/reference/using-api/api-concepts/#server-side-apply

Describe alternatives you've considered
The current Apply*() methods

Proposal
Check the kubectl/pkg/cmd/apply/apply.go before implement it, it's in beta now so it may change. If Server Side is enabled it's similar to the other services: get the helper and use the method Patch() passing some options. It does not require to create the patcher.

Additional context
It's beta in v.1.16, wait until it's declared stable or implement it and make a note about its state.

References
None

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions