User Tools

Site Tools


система_kubernetes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
система_kubernetes [2024/04/16 15:40]
val [namespace для своего приложения]
система_kubernetes [2024/04/16 16:43]
val [namespace для своего приложения]
Line 600: Line 600:
  
 $ kubectl delete pod/​my-webd-NNNNNNNNNN-NNNNN -n my-ns $ kubectl delete pod/​my-webd-NNNNNNNNNN-NNNNN -n my-ns
-</​code><​code>​+</​code>​ 
 + 
 +  * [[https://​learnk8s.io/​kubernetes-rollbacks|How do you rollback deployments in Kubernetes?​]] 
 + 
 +<​code>​
 gitlab-runner@server:​~$ kubectl -n my-ns rollout history deployment/​my-webd gitlab-runner@server:​~$ kubectl -n my-ns rollout history deployment/​my-webd
 deployment.apps/​my-webd deployment.apps/​my-webd
Line 610: Line 614:
 gitlab-runner@server:​~$ kubectl -n my-ns rollout history deployment/​my-webd --revision=1 gitlab-runner@server:​~$ kubectl -n my-ns rollout history deployment/​my-webd --revision=1
 ... ...
-    Image: ​     server.corp53.un:​5000/​student/​webd:​ver1.1+    Image: ​     server.corpX.un:​5000/​student/​webd:​ver1.1
 ... ...
  
система_kubernetes.txt · Last modified: 2024/04/27 10:53 by val