Difference between revisions of "Gcloud"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 25: Line 25:
 
  gcloud -q source repos delete
 
  gcloud -q source repos delete
  
[[gcloud builds submit]]  
+
<code>[[gcloud builds submit]]</code>
  
[[gcloud composer environments create]]
+
<code>[[gcloud composer environments create]]</code>
  
 
== Related ==
 
== Related ==

Revision as of 09:53, 19 October 2021

Installation

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 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 source repos create
gcloud -q source repos delete

gcloud builds submit

gcloud composer environments create

Related

See also

Advertising: