zkt25/z2/start-app.sh
2025-04-09 06:48:50 +02:00

16 lines
361 B
Bash
Executable File

#!/bin/bash
# start minikube
minikube start
# apply all Kubernetes YAML files
kubectl apply -f backend-deployment.yaml
kubectl apply -f web-deployment.yaml
kubectl apply -f statefulset.yaml
kubectl apply -f backend-service.yaml
kubectl apply -f web-service.yaml
kubectl apply -f redis-service.yaml
# Output web service URL
minikube service web-service --url