Closed rootnoir closed 2 years ago
Hi @rootnoir
last-applied-configuration stores the configuration which was used with kubectl apply you can check it in the documentation here
kubectl get returns data in the default apiVersion for corresponding kubernetes version. Internally also it stores data using same apiVersion.
For eg in this case kubernetes has stored this object in the format of app/v1 but the original yaml applied to this cluster used extensions/v1beta1 that is why it deliberately checks last-applied-configuration
The apiVersion is clearly set as
apps/v1
, however in the last-applied-configuration field there is a mention ofextensions/v1beta1
. The deployment is listed bykubedd
as having the deprecation.Example: