upd scripts
This commit is contained in:
parent
31d49d2fcb
commit
f72ac6e266
@ -5,4 +5,8 @@ docker build -t battleship-backend ./backend
|
||||
echo "Building Docker image for frontend"
|
||||
docker build -t battleship-frontend ./frontend
|
||||
|
||||
echo "Creating namespace battleship-app"
|
||||
kubectl apply -f namespace.yaml
|
||||
echo "Creating StatefulSet for MySQL"
|
||||
kubectl apply -f statefulset.yaml -n battleship-app
|
||||
echo "Docker images built."
|
||||
|
@ -1,12 +1,10 @@
|
||||
#!/bin/bash
|
||||
echo "Creating namespace battleship-app"
|
||||
kubectl apply -f namespace.yaml
|
||||
|
||||
|
||||
echo "Creating Deployment for backend and frontend"
|
||||
kubectl apply -f deployment.yaml -n battleship-app
|
||||
|
||||
echo "Creating StatefulSet for MySQL"
|
||||
kubectl apply -f statefulset.yaml -n battleship-app
|
||||
|
||||
|
||||
echo "Creating Service for MySQL, backend, and frontend"
|
||||
kubectl apply -f service.yaml -n battleship-app
|
||||
|
Loading…
Reference in New Issue
Block a user