How to create bucket using gsutil command?
# gsutil mb gs://<BUCKET_NAME>
# gsutil mb gs://<BUCKET_NAME>
# gcloud iam service-accounts list –filter=”displayName:’Compute Engine default service account'” –format=’value(email)’ 285466277759-compute@developer.gserviceaccount.com export COMPUTE_SVC_ACCOUNT=$(gcloud iam service-accounts list –filter=”displayName:’Compute Engine default service account'” –format=’value(email)’)
$gcloud config get-value core/project ha-lamp-test
# gcloud config set project ha-lamp-test Updated property [core/project].
https://cloud.google.com/sdk/gcloud/reference/projects/create # gcloud projects create ha-lamp-test –name=”HA LAMP” –labels=type=ha-lamp Create in progress for [https://cloudresourcemanager.googleapis.com/v1/projects/ha-lamp-test]. Waiting for [operations/pc.6388632910055007906] to finish…done
Namespaces allow you to use the same resource manifests across multiple environments without needing to give resources unique names. kubectl create ns NAME_SPACE
gcloud components install kubectl Your current Cloud SDK version is: 191.0.0 Installing components from version: 191.0.0 ┌──────────────────────────────────────────────────────────────────┐ │ These components will be installed. │ ├─────────────────────┬─────────────────────┬──────────────────────┤ │ Name │ Version │ Size │ ├─────────────────────┼─────────────────────┼──────────────────────┤ │ kubectl │ │ │ │ kubectl │ 1.8.6 │ 12.3 MiB │ └─────────────────────┴─────────────────────┴──────────────────────┘ For the latest full release notes, please visit:…
To set the default Compute Engine zone to australia-southeast1-b. gcloud config set compute/zone australia-southeast1-b
gcloud compute instances start –zone