13 lines
269 B
Bash
13 lines
269 B
Bash
#!/bin/bash
|
|
|
|
|
|
echo "Creating Deployment for backend and frontend"
|
|
kubectl apply -f deployment.yaml -n battleship-app
|
|
|
|
|
|
|
|
echo "Creating Service for MySQL, backend, and frontend"
|
|
kubectl apply -f service.yaml -n battleship-app
|
|
|
|
echo "Application deployed in Kubernetes."
|