Difference between revisions of "Kubectl.kubernetes.io/last-applied-configuration"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
+ | [[kubectl.kubernetes.io/]]last-applied-configuration | ||
+ | [[kubectl create --save-config]] | ||
− | {{kubectl apply}} | + | Warning: resource endpoints/your-endpoint is missing the [[kubectl.kubernetes.io/last-applied-configuration]] [[annotation]] which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either [[kubectl create --save-config]] or [[kubectl apply]]. The missing annotation will be patched automatically. |
+ | endpoints/your-endpoint configured | ||
+ | |||
+ | == See also == | ||
+ | * {{kubectl.kubernetes.io}} | ||
+ | * {{kubectl apply}} | ||
+ | |||
+ | [[Category:Kubectl]] |
Latest revision as of 14:34, 13 December 2023
Warning: resource configmaps/kube-root-ca.crt is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. secret/default-token-7z4zd created Error from server (Conflict): error when applying patch: .../... to: Resource: "/v1, Resource=configmaps", GroupVersionKind: "/v1, Kind=ConfigMap" Name: "kube-root-ca.crt", Namespace: "your-namespace" for: "your.yaml": Operation cannot be fulfilled on configmaps "kube-root-ca.crt": the object has been modified; please apply your changes to the latest version and try again
kubectl.kubernetes.io/last-applied-configuration kubectl create --save-config
Warning: resource endpoints/your-endpoint is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically. endpoints/your-endpoint configured
See also[edit]
Advertising: