βΈοΈKube Apply Command
Describe about Kube Apply?
Kube apply command is the command that be declarative way (using definition file) , the different thing between imperative way (kubec create etc.) is last apply configuration
Everytime we worked on the declarative way(kube apply)
we need to have file template and after we run command it will create live object configuration
it is yaml file that store data like a template but it will have more additional field so it has one field called last appyly configuration(json format)
It store the last change value in json format the benefit of this is when we remove field from template
it will also remove on live object configuration
but does not for last apply configuration
so we can use that to detect the remove field
Last updated