Zkt22/z2/start-app.sh

10 lines
256 B
Bash
Raw Permalink Normal View History

2022-05-01 15:20:28 +00:00
#!/bin/sh
echo 'starting the app'
kubectl apply -f namespace.yaml
kubectl apply -f statefulset.yml
kubectl apply -f statefulset-service.yml
kubectl create -f deployment.yml
kubectl create -f service.yml
kubectl create -f ingress.yml
echo 'app started'