Repository for group projects, for Distributed Systems 2023.
In order to use the kubernetes implementations in Project1 and Project2: Setup reboot and startup commands enter 'chmod +x SHUTDOWN.sh', 'chmod +x REBOOT.sh' and 'chmod +x STARTUP.sh' in terminal at repo directory. On startup enter './STARTUP.sh' in terminal window, and on reboot './REBOOT.sh'
minikube start
eval $(minikube docker-env)
docker build -t bully-app:0.0.1 .
kubectl run bully-app --image=bully-app:0.0.1 --image-pull-policy=Never
kubectl get pods
docker build -t bully-app .
kubectl apply -f k8s/headless-service.yaml
kubectl apply -f k8s/deployment.yaml
kubectl get pods
kubectl delete pods --all
kubectl delete deployments --all
minikube stop
minikube delete
kubectl logs pod-name
minikube start
minikube docker-env | Invoke-Expression
docker build -t bully-app:0.0.1 .
kubectl run bully-app --image=bully-app:0.0.1 --image-pull-policy=Never
kubectl get pods
docker build -t bully-app .
kubectl apply -f k8s/headless-service.yaml
kubectl apply -f k8s/deployment.yaml