Zkt22/z2/start-app.sh
2022-05-01 20:50:28 +05:30

10 lines
256 B
Bash

#!/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'