K8s Minikube macos: различия между версиями
Материал из noname.com.ua
Перейти к навигацииПерейти к поискуSirmax (обсуждение | вклад) |
Sirmax (обсуждение | вклад) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 22: | Строка 22: | ||
192.168.64.4 |
192.168.64.4 |
||
</PRE> |
</PRE> |
||
+ | |||
+ | <PRE> |
||
+ | minikube status |
||
+ | minikube |
||
+ | type: Control Plane |
||
+ | host: Running |
||
+ | kubelet: Running |
||
+ | apiserver: Running |
||
+ | kubeconfig: Configured |
||
+ | |||
+ | minikube-m02 |
||
+ | type: Worker |
||
+ | host: Running |
||
+ | kubelet: Running |
||
+ | |||
+ | minikube-m03 |
||
+ | type: Worker |
||
+ | host: Running |
||
+ | kubelet: Running |
||
+ | |||
+ | minikube-m04 |
||
+ | type: Worker |
||
+ | host: Running |
||
+ | kubelet: Running |
||
+ | </PRE> |
||
+ | |||
+ | <PRE> |
||
+ | minikube ssh --node minikube-m04 |
||
+ | </PRE> |
||
+ | |||
+ | |||
==О сетях== |
==О сетях== |
||
* https://multipass.run/docs/troubleshooting-networking-on-macos |
* https://multipass.run/docs/troubleshooting-networking-on-macos |
||
+ | |||
+ | |||
+ | ==Мой пример== |
||
+ | |||
+ | * 4 ноды |
||
+ | * драйвер hyperkit |
||
+ | |||
+ | <PRE> |
||
+ | Kernel IP routing table |
||
+ | Destination Gateway Genmask Flags Metric Ref Use Iface |
||
+ | 0.0.0.0 192.168.64.1 0.0.0.0 UG 1024 0 0 eth0 |
||
+ | 10.244.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 veth961db2d5 |
||
+ | 10.244.1.0 192.168.64.5 255.255.255.0 UG 0 0 0 eth0 |
||
+ | 10.244.2.0 192.168.64.6 255.255.255.0 UG 0 0 0 eth0 |
||
+ | 10.244.3.0 192.168.64.7 255.255.255.0 UG 0 0 0 eth0 |
||
+ | 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 |
||
+ | 192.168.64.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
||
+ | 192.168.64.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth0 |
||
+ | </PRE> |
Текущая версия на 13:42, 5 октября 2021
Проблемы решения и заметки про миникуб на мак ос
Команды
minikube profile list
|----------|-----------|---------|--------------|------|---------|---------|-------| | Profile | VM Driver | Runtime | IP | Port | Version | Status | Nodes | |----------|-----------|---------|--------------|------|---------|---------|-------| | minikube | hyperkit | docker | 192.168.64.4 | 8443 | v1.21.2 | Running | 4 | |----------|-----------|---------|--------------|------|---------|---------|-------|
minikube ip
192.168.64.4
minikube status minikube type: Control Plane host: Running kubelet: Running apiserver: Running kubeconfig: Configured minikube-m02 type: Worker host: Running kubelet: Running minikube-m03 type: Worker host: Running kubelet: Running minikube-m04 type: Worker host: Running kubelet: Running
minikube ssh --node minikube-m04
О сетях
Мой пример
- 4 ноды
- драйвер hyperkit
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.64.1 0.0.0.0 UG 1024 0 0 eth0 10.244.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 veth961db2d5 10.244.1.0 192.168.64.5 255.255.255.0 UG 0 0 0 eth0 10.244.2.0 192.168.64.6 255.255.255.0 UG 0 0 0 eth0 10.244.3.0 192.168.64.7 255.255.255.0 UG 0 0 0 eth0 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0 192.168.64.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.64.1 0.0.0.0 255.255.255.255 UH 1024 0 0 eth0