devpod-provider-gcloud

command module
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

README

GCLOUD Provider for DevPod

Join us on Slack! Open in DevPod!

Getting started

The provider is available for auto-installation using

devpod provider add gcloud
devpod provider use gcloud

Follow the on-screen instructions to complete the setup.

Needed variables will be:

  • ZONE
  • PROJECT

Be aware that authentication is obtained using gcloud CLI tool, take a look here for more info

Creating your first devpod env with gcloud

After the initial setup, just use:

devpod up .

You'll need to wait for the machine and environment setup.

Customize the VM Instance

This provides has the seguent options

NAME REQUIRED DESCRIPTION DEFAULT
DISK_IMAGE false The disk image to use. projects/cos-cloud/global/images/cos-101-17162-127-5
DISK_SIZE false The disk size to use. 40
MACHINE_TYPE false The machine type to use. c2-standard-4
PROJECT true The project id to use.
ZONE true The google cloud zone to create the VM in. E.g. europe-west1-d
NETWORK false The network id to use.
SUBNETWORK false The subnetwork id to use.
TAG false A tag to attach to the instance. devpod
SERVICE_ACCOUNT false A service account to attach to instance

Options can either be set in env or using for example:

devpod provider set-options -o DISK_IMAGE=my-custom-vm-image

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
hack
pkg
ptr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL