We have a micro-services java applications, as and when we have changes in code we have to perform the kubernetes deployment.
How will I apply the latest changes to the deployment with the same Image name
we have a single replica and when I execute kubectl apply -f deployment.yaml
it says unchanged.
We have kubelet version of v1.13.12
Please help.
This has been discussed in #33664
The recommended way is to not use image tag
:latest
when using declarative deployment withkubectl apply
.