2 года назад
История
README.MD
#Deploy
###Preparing local environment for kubernetes: Installing required binaries for minikube
sudo apt update
sudo apt install docker.io
sudo usermod -aG docker $USER && newgrp docker
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
Installing binaries for kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
Starting local minikube cluster
sudo apt-get install -y conntrack
minikube start --driver=none
Clearing all minikube data and applying deployment configs
minikube delete --all
minikube start
kubectl apply -f react-fe.yaml
kubectl apply -f django-be.yaml
kubectl apply -f rabbitmq.yaml
kubectl apply -f workers-be.yaml
Removing deployments and inner pods from cluster
minikube kubectl delete deployment <deployment name>
Checking local cluster
minikube kubectl get deployments
minikube kubectl get pods
minikube kubectl get services
kubectl logs <pod-name>
Конвейеры
0 успешных
0 с ошибкой