z2/start-app.sh
2025-04-15 20:11:51 +00:00

15 lines
290 B
Bash

#!/bin/bash
# Create the Namespace
minikube kubectl -- create namespace my-namespace
# Apply the Deployment
minikube kubectl -- apply -f deployment.yaml
# Apply the Service
minikube kubectl -- apply -f service.yaml
# Apply the StatefulSet
minikube kubectl -- apply -f statefulset.yaml