You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
Be assured that solutions are being explored for them.
Empty blocks in the manifest may cause inconsistent state after apply Description: Manifests containing empty blocks (e.g. foo = {}) may cause the following error after apply. Workaround: Empty blocks should be omitted from the manifest configuration unless they have a special significance.
So far, the only confirmed case of such a special significance is the status = {} attribute inside the subresources section of a Custom Resource Definition. All others should be omitted.
Setting some attributes to their default value may cause inconsistent state after apply Description: On some attributes, setting them to their default value will result in an error message after apply claiming inconsistent state Workaround: Do not include attributes with default values in the manifest as a rule. They have no effect on the resulting resource.
The text was updated successfully, but these errors were encountered:
The following issues are known to exist:
Be assured that solutions are being explored for them.
Empty blocks in the manifest may cause inconsistent state after apply
Description: Manifests containing empty blocks (e.g.
foo = {}
) may cause the following error after apply.Workaround: Empty blocks should be omitted from the
manifest
configuration unless they have a special significance.So far, the only confirmed case of such a special significance is the
status = {}
attribute inside thesubresources
section of a Custom Resource Definition. All others should be omitted.The
protocol
attribute of a ports element in Service or Container is resource is requiredDescription: Bug in Kubernetes (kubectl apply success but add server-side flag apply failed kubernetes/kubernetes#92332 and ContainerPort protocol is a key field, which makes it required for server-side apply kubernetes-sigs/structured-merge-diff#130) - will be fixed in 1.21
Not setting the
protocol
attribute in a Service's or Container's ports list will result in the following error:failed to create typed patch object: .spec.ports: element 0: associative list with keys has an element that omits key field "protocol" (and doesn't have default value)
Workaround: Set the
protocol
attribute toTCP
when no other value specifiedSetting some attributes to their default value may cause inconsistent state after apply
Description: On some attributes, setting them to their default value will result in an error message after apply claiming inconsistent state
Workaround: Do not include attributes with default values in the manifest as a rule. They have no effect on the resulting resource.
The text was updated successfully, but these errors were encountered: