Deploy and Manage Cloud Environments with Google Cloud

Task 1

cd /work/dm
sed -i s/SET_REGION/us-east1/g prod-network.yaml
gcloud deployment-manager deployments create prod-network --config=prod-network.yaml
gcloud config set compute/zone us-east1-b
gcloud container clusters create kraken-prod \
          --num-nodes 2 \
          --network kraken-prod-vpc \
          --subnetwork kraken-prod-subnet\
          --zone us-east1-b
gcloud container clusters get-credentials kraken-prod
cd /work/k8s

for F in $(ls *.yaml); do kubectl create -f $F; done

Task 2

gcloud config set compute/zone us-east1-b
gcloud compute instances create kraken-admin --network-interface="subnet=kraken-mgmt-subnet" --network-interface="subnet=kraken-prod-subnet"

Task 3

Last updated

Was this helpful?