diff --git a/sk1/prepare-app.sh b/sk1/prepare-app.sh new file mode 100644 index 0000000..4044b8a --- /dev/null +++ b/sk1/prepare-app.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +az group create --name skuskaZKT --location eastasia +az aks create --resource-group skuskaZKT --name mycluster --node-count 1 --enable-addons monitoring --generate-ssh-keys +az aks get-credentials --resource-group skuskaZKT --name mycluster + +kubectl apply -f namespace.yaml +kubectl apply -f pv.yaml + +kubectl apply -f mongo-configmap.yaml +kubectl apply -f mongo-secret.yaml +kubectl apply -f mongo-service.yaml +kubectl apply -f mongo-stateful-set.yaml -n z2 +kubectl apply -f mongo-express-deployment.yaml +kubectl apply -f mongo-express-service.yaml \ No newline at end of file