Show / Hide Table of Contents

Namespace Pulumi.Gcp.Container

Classes

Cluster

Manages a Google Kubernetes Engine (GKE) cluster. For more information see the official documentation and the API reference.

Note: All arguments and attributes, including basic auth username and passwords as well as certificate outputs will be stored in the raw state as plaintext. Read more about secrets in state.

Example Usage - with the default node pool

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var primary = new Gcp.Container.Cluster("primary", new Gcp.Container.ClusterArgs
    {
        InitialNodeCount = 3,
        Location = "us-central1-a",
        MasterAuth = new Gcp.Container.Inputs.ClusterMasterAuthArgs
        {
            ClientCertificateConfig = new Gcp.Container.Inputs.ClusterMasterAuthClientCertificateConfigArgs
            {
                IssueClientCertificate = false,
            },
            Password = "",
            Username = "",
        },
        NodeConfig = new Gcp.Container.Inputs.ClusterNodeConfigArgs
        {
            Labels = 
            {
                { "foo", "bar" },
            },
            Metadata = 
            {
                { "disable-legacy-endpoints", "true" },
            },
            OauthScopes = 
            {
                "https://www.googleapis.com/auth/logging.write",
                "https://www.googleapis.com/auth/monitoring",
            },
            Tags = 
            {
                "foo",
                "bar",
            },
        },
    });
}

}

ClusterArgs

ClusterState

GetCluster

GetClusterArgs

GetClusterResult

GetEngineVersions

GetEngineVersionsArgs

GetEngineVersionsResult

GetRegistryImage

GetRegistryImageArgs

GetRegistryImageResult

GetRegistryRepository

GetRegistryRepositoryArgs

GetRegistryRepositoryResult

NodePool

Manages a node pool in a Google Kubernetes Engine (GKE) cluster separately from the cluster control plane. For more information see the official documentation and the API reference.

NodePoolArgs

NodePoolState

Registry

Ensures that the Google Cloud Storage bucket that backs Google Container Registry exists. Creating this resource will create the backing bucket if it does not exist, or do nothing if the bucket already exists. Destroying this resource does NOT destroy the backing bucket. For more information see the official documentation

This resource can be used to ensure that the GCS bucket exists prior to assigning permissions. For more information see the access control page for GCR.

Example Usage

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
public MyStack()
{
    var registry = new Gcp.Container.Registry("registry", new Gcp.Container.RegistryArgs
    {
        Location = "EU",
        Project = "my-project",
    });
}

}

RegistryArgs

RegistryState

Back to top Copyright 2016-2020, Pulumi Corporation.