Add 'sk1/prepare-app.sh'
This commit is contained in:
parent
92b443245c
commit
dcdbdf11bb
16
sk1/prepare-app.sh
Normal file
16
sk1/prepare-app.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user