Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
-
Hi I am getting this warning on running an apply?
$ kubectl apply -f kuard-pod.yml Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
-
@petulia3478 Hi have a read of this link: https://kubernetes.io/docs/concepts/overview/object-management-kubectl/overview/, this happens when mixing up imperative & declarative commands. Use one or the other.
© Lightnetics 2024