-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update kubectl
documentation for Server Side Apply
#39145
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
FWIW this is not actually a change, CSA and SSA both consume the same input. cc @apelisse |
And it's being replaced by UnknownFieldValidation which should go GA in the next release, and completely deprecates client-side |
I think at some early point in the evolution of Kubernetes we decided that you could specify a partial thing rather than a full, valid manifest, but we never properly documented what these partial things are. It doesn't really matter exactly when we missed the opportunity; we still need to do it. |
I'm not saying we shouldn't fix the documentation, just trying to make it clear that it isn't a CSA/SSA difference and the documentation should be the same for both. |
Indeed. The input to |
I think I called it a "Partially Specified Object" in design docs; "ApplyConfiguration" is language from the fancy go client, I probably wouldn't use that language in user facing docs? |
If this is a valid gap in docs, let's triage it accepted and work on a sketch for getting some changes in. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
OK, let me try to clarify the situation.
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Yeah, that's basically it. Glad you like it :) |
This comment was marked as off-topic.
This comment was marked as off-topic.
@sftim I think we do not really need any other new issue for those missing and relevant SSA-related details I mentioned above, they are already described in https://kubernetes.io/docs/reference/using-api/server-side-apply/
By the way, It looks current official k8s SSA documentation already provides a name for these partial manifests/intents: "fully specified intent"
So no need to invent a new term if we are all happy with the current one (imo the selected term is a little misleading ... but I am pretty sure there are good reasons behind having selected it so not trying/aiming to open a debate on this ;-) |
I feel that we should agree on the common term to describe what Alternatively, if we're redefining manifest to mean the thing that Leaving things as they are is going to confuse readers. Worse, they won't even know what they've missed out. |
I'll mark the side conversation as off topic. Thanks @antaloala . |
"fully specified intent" seems OK to me. |
@sftim note in my previous comment I am not saying anything against improving current k8s doc and/or kubectl documentation with respect to SSA missing info. When saying "we do not really need any other new issue" I am only referring to that new issue you suggested to file around how SSA implementation behaves when a manager, in a following SSA Apply request, omits fields for which it is the single current owner (current k8s docs on SSA already describe all this). |
This is a Feature Request
What would you like to be added
In #39108 (comment) I explained that I think we missed documenting a key change to
kubectl
that was made when we implemented server-side apply.…
…
Why is this needed
(If I've understood correctly)
kubectl apply
does accept YAML manifests as its input, but this is actually a side effect of its actual input format being a new thing called an apply configuration, which can be a subset of the fields from a full manifest.Comments
/wg api-expression
/language en
/lifecycle frozen
We should triage this issue, no matter how long that process takes.
The text was updated successfully, but these errors were encountered: