The missing annotation will be patched automatically.

Jmnote (토론 | 기여)님의 2022년 11월 10일 (목) 00:14 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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 }}