Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version:
Client Version: version.Info{Major:“1”, Minor:“20”, GitVersion:“v1.20.2”, GitCommit:“faecb196815e248d3ecfb03c680a4507229c2a56”, GitTreeState:“clean”, BuildDate:“2021-01-13T13:28:09Z”, GoVersion:“go1.15.5”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“20”, GitVersion:“v1.20.2”, GitCommit:“faecb196815e248d3ecfb03c680a4507229c2a56”, GitTreeState:“clean”, BuildDate:“2021-01-13T13:20:00Z”, GoVersion:“go1.15.5”, Compiler:“gc”, Platform:“linux/amd64”}
Cloud being used: hosted on our server
Host OS: Ubuntu 20.04.1 LTS
Good day!
When I run command
kubectl set image deployment/frontend www=image:v2
It will be create new pod, start it and delete the old pod.
When I performed this operation, a new pod was created, started, the old one was deleted. However, our application was still unavailable for a few seconds.
Why is this happening.
Our application has one pod.