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
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 inkubectlwith 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-applyDescribe alternatives you've considered
The current
Apply*()methodsProposal
Check the
kubectl/pkg/cmd/apply/apply.gobefore 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 methodPatch()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