Difference between revisions of "Gcloud"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
[[gcloud projects]] | [[gcloud projects]] | ||
[[gcloud source]] | [[gcloud source]] | ||
+ | [[gcloud source repos create]] | ||
+ | [[gcloud -q source repos]] delete | ||
[[gcloud compute]] | [[gcloud compute]] | ||
[[gcloud iam]] | [[gcloud iam]] | ||
Line 28: | Line 30: | ||
* <code>[[gcloud projects get-iam-policy]]</code> | * <code>[[gcloud projects get-iam-policy]]</code> | ||
− | |||
− | |||
<code>[[gcloud builds submit]]</code> | <code>[[gcloud builds submit]]</code> |
Revision as of 11:24, 2 May 2022
Contents
Installation
- MacOS:
brew install --cask google-cloud-sdk
- Linux:
sudo apt-get install apt-transport-https ca-certificates gnupg
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
sudo apt-get update && sudo apt-get install google-cloud-sdk
Examples
gcloud init gcloud compute instances create gcloud config list gcloud auth gcloud auth login gcloud auth list gcloud compute images list gcloud compute instances create VM_NAME \ [--image=IMAGE | --image-family=IMAGE_FAMILY] \ --image-project=IMAGE_PROJECT --machine-type=MACHINE_TYPE
gcloud projects gcloud source gcloud source repos create gcloud -q source repos delete gcloud compute gcloud iam
gcloud composer environments create
gcloud container clusters create
Related
See also
gcloud
[config | scheduler | auth | asset | services | gcloud auth login | iam | sql | projects | container
|compute | kms
|source
],gcloud composer environments create
|build
|gcloud config set project
,gcloud source repos create
,gcloud composer environments create
,gcloud version
,gcloud --help
- Cloud CLIs: AWS CLI,
eksctl
,sam
,doctl
,gcloud, gsutil
,aliyun
,google-cloud-sdk
,ibmcloud
,cf, heroku
Advertising: