This shows you the differences between two versions of the page.
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/22 07:26] val [Volumes] |
||
---|---|---|---|
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 |
... | ... | ||
Line 1183: | Line 1187: | ||
== Использование backup-ов == | == Использование backup-ов == | ||
+ | |||
+ | * Разворачиваем [[Сервис NFS]] на server | ||
+ | |||
<code> | <code> | ||
Setting -> General -> Backup Target -> nfs://server.corp13.un:/var/www (nfs client linux не нужен) | Setting -> General -> Backup Target -> nfs://server.corp13.un:/var/www (nfs client linux не нужен) |