Skip to content

Commit

Permalink
11.05.2022 Update Image version
Browse files Browse the repository at this point in the history
lesson-13.md
kubernetes/kubernetes#33664
3 solutions
  • Loading branch information
JavaScriptonit committed May 11, 2022
1 parent 596aaa0 commit 07aa786
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -41,5 +41,13 @@
https://github.com/kubernetes/kubernetes/issues/33664 - different ways to convince deployment file to update all the pods

**Problem**: _deployment.apps/client-deployment unchanged_

### Solutions:

* Delete pods to recreate them with the latest version. **Silly solution**

* Tag the image: built images with a real version number and specify version in config file (image: javascriptonit/multi-client:v1). **Adds an extra step in the production deployment process**

* Use an imperative command to update the image version the deployment should use. **Uses an imperative command** (kubectl client-deploy update_version v2)

7.

0 comments on commit 07aa786

Please sign in to comment.