This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
система_kubernetes [2024/04/27 06:47] val [Deployment, Replica Sets, Pods] |
система_kubernetes [2024/05/13 17:43] (current) val [Service] |
||
---|---|---|---|
Line 265: | Line 265: | ||
$ kubectl cordon kube3 | $ kubectl cordon kube3 | ||
- | $ time kubectl drain kube3 --force --ignore-daemonsets --delete-emptydir-data | + | $ time kubectl drain kube3 #--ignore-daemonsets --delete-emptydir-data --force |
$ kubectl delete node kube3 | $ kubectl delete node kube3 | ||
Line 362: | Line 362: | ||
~/kubespray# git branch -r | ~/kubespray# git branch -r | ||
- | ~/kubespray# ### git checkout origin/release-2.22 | + | ~/kubespray# git checkout origin/release-2.22 |
~/kubespray# git tag -l | ~/kubespray# git tag -l | ||
~/kubespray# ### git checkout tags/v2.22.1 | ~/kubespray# ### git checkout tags/v2.22.1 | ||
- | ~/kubespray# git checkout 4c37399c7582ea2bfb5202c3dde3223f9c43bf59 | + | ~/kubespray# ### git checkout 4c37399c7582ea2bfb5202c3dde3223f9c43bf59 |
~/kubespray# ### git checkout master | ~/kubespray# ### git checkout master | ||
Line 678: | Line 678: | ||
$ minikube service list | $ minikube service list | ||
- | $ minikube service my-webd -n my-ns --url | + | $ minikube service my-webd --url -n my-ns |
http://192.168.49.2:NNNNN | http://192.168.49.2:NNNNN | ||
- | $ curl $(minikube service my-webd -n my-ns --url) | + | $ curl http://192.168.49.2:NNNNN |
</code> | </code> | ||