Skip to content
/ gcp Public

Customized wrapper on Google Cloud API for my own usage.

License

Notifications You must be signed in to change notification settings

nevill/gcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This project contains a collection of wrapped API of Google Cloud Services.

Development

To debug the program, severity level can be set by environment variable GRPC_GO_LOG_SEVERITY_LEVEL, verbosity level can be set by GRPC_GO_LOG_VERBOSITY_LEVEL.

Examples

This will create a running container in a VM instance, which is run on top of a sole-tenant node.

⚠️Warning

This program will create a sole-tenant node, it costs a lot.

Reference

  1. https://cloud.google.com/compute/docs/nodes/create-nodes
  2. https://cloud.google.com/compute/docs/containers/configuring-options-to-run-containers
  3. https://cloud.google.com/compute/docs/containers/deploying-containers
  4. https://cloud.google.com/compute/docs/reference/rest/v1/
  5. https://cloud.google.com/sdk/gcloud/reference/compute/instance-templates/create-with-container

This will keep watching on the log streams, until the specific log is found.

Reference

  1. https://cloud.google.com/logging/docs/view/advanced-queries

About

Customized wrapper on Google Cloud API for my own usage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages