Skip to content

Latest commit

 

History

History

02-managed-infra

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Deploy

Managed Infrastructure - GCP

Create the Managed Infrastructure resources to deploy GKE.

Check out the Crosswalk Guide on this stack for more details.

Deploying the Stack

To deploy your infrastructure, follow the below steps.

Prerequisites

  1. Get Started with Kubernetes on Pulumi

Steps

After cloning this repo, from this working directory, run these commands:

  1. Install the required Node.js packages:

    $ npm install
  2. Create a new stack, which is an isolated deployment target for this example:

    $ pulumi stack init
  3. Configure the stack.

    $ pulumi config set gcp:zone us-west1-a
    $ pulumi config set gcp:project <project_name>
  4. Update the stack.

    $ pulumi up
  5. Once you've finished experimenting, tear down your stack's resources by destroying and removing it:

    $ pulumi destroy --yes
    $ pulumi stack rm --yes