From e6b6d2054e4b26e1e852fd38dd0cc8f0ef4d8ddd Mon Sep 17 00:00:00 2001 From: Abdus Salam <87809119+abdussalam02@users.noreply.github.com> Date: Sat, 22 Jan 2022 20:02:52 +0530 Subject: [PATCH] Updated as per the recent requirements The code has been changed for recent uses as per the changes made by GCP. --- Ensure Access & Identity in Google Cloud: Challenge Lab | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ensure Access & Identity in Google Cloud: Challenge Lab b/Ensure Access & Identity in Google Cloud: Challenge Lab index 1b9e268..b2a5c4d 100644 --- a/Ensure Access & Identity in Google Cloud: Challenge Lab +++ b/Ensure Access & Identity in Google Cloud: Challenge Lab @@ -1,4 +1,4 @@ -Where like this Project is written it means you need to replace that with your GCP project ID +Where is written like this , , , it means you need to replace these values with the value given in the sidebar of lab session. 1st TASK ---------- create a custom role using a YAML file @@ -13,14 +13,14 @@ includedPermissions: - storage.objects.update - storage.objects.create -gcloud iam roles create orca_storage_update --project $DEVSHELL_PROJECT_ID \ +gcloud iam roles create --project $DEVSHELL_PROJECT_ID \ --file role-definition.yaml 4TH TASK ---------- Create and configure a new Kubernetes Engine private cluster -gcloud container clusters create orca-test-cluster --num-nodes 1 --master-ipv4-cidr=172.16.0.64/28 --network orca-build-vpc --subnetwork orca-build-subnet --enable-master-authorized-networks --master-authorized-networks 192.168.10.2/32 --enable-ip-alias --enable-private-nodes --enable-private-endpoint --service-account orca-private-cluster-sa@.iam.gserviceaccount.com --zone us-east1-b +gcloud container clusters create --num-nodes 1 --master-ipv4-cidr=172.16.0.64/28 --network orca-build-vpc --subnetwork orca-build-subnet --enable-master-authorized-networks --master-authorized-networks 192.168.10.2/32 --enable-ip-alias --enable-private-nodes --enable-private-endpoint --service-account @.iam.gserviceaccount.com --zone us-east1-b 5th Task ---------- Deploy an application to a private Kubernetes Engine cluster