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 [2022/09/12 12:13]
val [Развертывание]
система_kubernetes [2022/09/12 12:20]
val [bare-metal minikube]
Line 46: Line 46:
 gitlab-runner@gate:​~$ kubectl get all -o wide --all-namespaces gitlab-runner@gate:​~$ kubectl get all -o wide --all-namespaces
 </​code>​ </​code>​
 +
 ===== Установка minikube ===== ===== Установка minikube =====
  
Line 53: Line 54:
  
 <​code>​ <​code>​
-student@node3:~$ minikube delete+student@node1:~$ ### minikube delete
  
-student@node3:~$ minikube start --driver=docker --insecure-registry "​server.corp13.un:​5000"​+student@node1:~$ minikube start --driver=docker --insecure-registry "​server.corp13.un:​5000"​
  
-ИЛИ +student@node1:~$ minikube status
-</​code><​code>​ +
-student@node2:~$ sudo apt install conntrack +
- +
-https://​computingforgeeks.com/​install-mirantis-cri-dockerd-as-docker-engine-shim-for-kubernetes/​ +
-... +
- +
-wget https://​github.com/​kubernetes-sigs/​cri-tools/​releases/​download/​v1.24.2/​crictl-v1.24.2-linux-amd64.tar.gz +
-... +
- +
-student@node2:​~$ minikube start --driver=none --insecure-registry "​server.corp13.un:​5000"​ +
-</​code><​code>​ +
-student@node3:~$ minikube status+
  
-student@node3:~$ minikube ip+student@node1:~$ minikube ip
  
-student@node3:~$ minikube addons list+student@node1:~$ minikube addons list
  
-student@node3:~$ minikube addons configure registry-creds+student@node1:~$ minikube addons configure registry-creds
 ... ...
 Do you want to enable Docker Registry? [y/n]: y Do you want to enable Docker Registry? [y/n]: y
Line 83: Line 72:
 ... ...
  
-student@node3:~$ minikube addons enable registry-creds+student@node1:~$ minikube addons enable registry-creds
  
-student@node3:~$ minikube dashboard &+student@node1:~$ minikube dashboard &
 ... ...
 Opening http://​127.0.0.1:​NNNNN/​api/​v1/​namespaces/​kubernetes-dashboard/​services/​http:​kubernetes-dashboard:/​proxy/​ in your default browser Opening http://​127.0.0.1:​NNNNN/​api/​v1/​namespaces/​kubernetes-dashboard/​services/​http:​kubernetes-dashboard:/​proxy/​ in your default browser
Line 555: Line 544:
  
 ===== Дополнительные материалы ===== ===== Дополнительные материалы =====
 +
 +==== bare-metal minikube ====
 +
 +<​code>​
 +student@node2:​~$ sudo apt install conntrack
 +
 +https://​computingforgeeks.com/​install-mirantis-cri-dockerd-as-docker-engine-shim-for-kubernetes/​
 +...
 +
 +wget https://​github.com/​kubernetes-sigs/​cri-tools/​releases/​download/​v1.24.2/​crictl-v1.24.2-linux-amd64.tar.gz
 +...
 +
 +student@node2:​~$ minikube start --driver=none --insecure-registry "​server.corp13.un:​5000"​
 +</​code>​
  
 ==== kompose ==== ==== kompose ====
система_kubernetes.txt · Last modified: 2024/07/02 14:41 by val