The missing annotation will be patched automatically.

1 개요[ | ]

Warning: resource xxx 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.
$ kubectl apply -f ds.yaml
Warning: resource daemonsets/node-exporter 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.

2 대응방안[ | ]

  • 1안) 무시한다.
  • 2안) delete 후 apply

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}