kubernetes

package
v0.0.0-...-c33e12d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
	AdmissionPlugins pulumi.StringArrayOutput `pulumi:"admissionPlugins"`
	// Additional Subject Alternative Names for the Kubernetes API server certificate
	ApiserverCertSans pulumi.StringArrayOutput `pulumi:"apiserverCertSans"`
	// The URL of the Kubernetes API server.
	ApiserverUrl pulumi.StringOutput `pulumi:"apiserverUrl"`
	// The auto upgrade configuration.
	AutoUpgrade ClusterAutoUpgradeOutput `pulumi:"autoUpgrade"`
	// The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
	AutoscalerConfig ClusterAutoscalerConfigOutput `pulumi:"autoscalerConfig"`
	// The Container Network Interface (CNI) for the Kubernetes cluster.
	// > **Important:** Updates to this field will recreate a new resource.
	Cni pulumi.StringOutput `pulumi:"cni"`
	// The creation date of the cluster.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
	// > **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
	// If you prefer keeping it, you should instead set it as `false`.
	DeleteAdditionalResources pulumi.BoolOutput `pulumi:"deleteAdditionalResources"`
	// A description for the Kubernetes cluster.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
	FeatureGates pulumi.StringArrayOutput `pulumi:"featureGates"`
	// The kubeconfig configuration file of the Kubernetes cluster
	Kubeconfigs ClusterKubeconfigArrayOutput `pulumi:"kubeconfigs"`
	// The name for the Kubernetes cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// The OpenID Connect configuration of the cluster
	OpenIdConnectConfig ClusterOpenIdConnectConfigOutput `pulumi:"openIdConnectConfig"`
	// The organization ID the cluster is associated with.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The ID of the private network of the cluster.
	//
	// > **Important:** Changes to this field will recreate a new resource.
	//
	// > **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `privateNetworkId` set),
	// you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
	PrivateNetworkId pulumi.StringPtrOutput `pulumi:"privateNetworkId"`
	// `projectId`) The ID of the project the cluster is associated with.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// `region`) The region in which the cluster should be created.
	Region pulumi.StringOutput `pulumi:"region"`
	// The status of the Kubernetes cluster.
	Status pulumi.StringOutput `pulumi:"status"`
	// The tags associated with the Kubernetes cluster.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The type of Kubernetes cluster. Possible values are:
	//
	// - for mutualized clusters: `kapsule` or `multicloud`
	//
	// - for dedicated Kapsule clusters: `kapsule-dedicated-4`, `kapsule-dedicated-8` or `kapsule-dedicated-16`.
	//
	// - for dedicated Kosmos clusters: `multicloud-dedicated-4`, `multicloud-dedicated-8` or `multicloud-dedicated-16`.
	Type pulumi.StringOutput `pulumi:"type"`
	// The last update date of the cluster.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// Set to `true` if a newer Kubernetes version is available.
	UpgradeAvailable pulumi.BoolOutput `pulumi:"upgradeAvailable"`
	// The version of the Kubernetes cluster.
	Version pulumi.StringOutput `pulumi:"version"`
	// The DNS wildcard that points to all ready nodes.
	WildcardDns pulumi.StringOutput `pulumi:"wildcardDns"`
}

Creates and manages Scaleway Kubernetes clusters. For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api/).

## Example Usage

### Basic

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/kubernetes"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		hedy, err := vpc.NewPrivateNetwork(ctx, "hedy", nil)
		if err != nil {
			return err
		}
		jack, err := kubernetes.NewCluster(ctx, "jack", &kubernetes.ClusterArgs{
			Version:                   pulumi.String("1.24.3"),
			Cni:                       pulumi.String("cilium"),
			PrivateNetworkId:          hedy.ID(),
			DeleteAdditionalResources: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = kubernetes.NewPool(ctx, "john", &kubernetes.PoolArgs{
			ClusterId: jack.ID(),
			NodeType:  pulumi.String("DEV1-M"),
			Size:      pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Multicloud

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		henry, err := kubernetes.NewCluster(ctx, "henry", &kubernetes.ClusterArgs{
			Type:                      pulumi.String("multicloud"),
			Version:                   pulumi.String("1.24.3"),
			Cni:                       pulumi.String("kilo"),
			DeleteAdditionalResources: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = kubernetes.NewPool(ctx, "friendFromOuterSpace", &kubernetes.PoolArgs{
			ClusterId: henry.ID(),
			NodeType:  pulumi.String("external"),
			Size:      pulumi.Int(0),
			MinSize:   pulumi.Int(0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

For a detailed example of how to add or run Elastic Metal servers instead of instances on your cluster, please refer to this guide.

### With additional configuration

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/kubernetes"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/vpc"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		hedy, err := vpc.NewPrivateNetwork(ctx, "hedy", nil)
		if err != nil {
			return err
		}
		johnCluster, err := kubernetes.NewCluster(ctx, "johnCluster", &kubernetes.ClusterArgs{
			Description: pulumi.String("my awesome cluster"),
			Version:     pulumi.String("1.24.3"),
			Cni:         pulumi.String("calico"),
			Tags: pulumi.StringArray{
				pulumi.String("i'm an awesome tag"),
				pulumi.String("yay"),
			},
			PrivateNetworkId:          hedy.ID(),
			DeleteAdditionalResources: pulumi.Bool(false),
			AutoscalerConfig: &kubernetes.ClusterAutoscalerConfigArgs{
				DisableScaleDown:             pulumi.Bool(false),
				ScaleDownDelayAfterAdd:       pulumi.String("5m"),
				Estimator:                    pulumi.String("binpacking"),
				Expander:                     pulumi.String("random"),
				IgnoreDaemonsetsUtilization:  pulumi.Bool(true),
				BalanceSimilarNodeGroups:     pulumi.Bool(true),
				ExpendablePodsPriorityCutoff: -5,
			},
		})
		if err != nil {
			return err
		}
		_, err = kubernetes.NewPool(ctx, "johnPool", &kubernetes.PoolArgs{
			ClusterId:   johnCluster.ID(),
			NodeType:    pulumi.String("DEV1-M"),
			Size:        pulumi.Int(3),
			Autoscaling: pulumi.Bool(true),
			Autohealing: pulumi.Bool(true),
			MinSize:     pulumi.Int(1),
			MaxSize:     pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Kubernetes clusters can be imported using the `{region}/{id}`, e.g.

bash

```sh $ pulumi import scaleway:kubernetes/cluster:Cluster mycluster fr-par/11111111-1111-1111-1111-111111111111 ```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	// The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
	AdmissionPlugins pulumi.StringArrayInput
	// Additional Subject Alternative Names for the Kubernetes API server certificate
	ApiserverCertSans pulumi.StringArrayInput
	// The auto upgrade configuration.
	AutoUpgrade ClusterAutoUpgradePtrInput
	// The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
	AutoscalerConfig ClusterAutoscalerConfigPtrInput
	// The Container Network Interface (CNI) for the Kubernetes cluster.
	// > **Important:** Updates to this field will recreate a new resource.
	Cni pulumi.StringInput
	// Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
	// > **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
	// If you prefer keeping it, you should instead set it as `false`.
	DeleteAdditionalResources pulumi.BoolInput
	// A description for the Kubernetes cluster.
	Description pulumi.StringPtrInput
	// The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
	FeatureGates pulumi.StringArrayInput
	// The name for the Kubernetes cluster.
	Name pulumi.StringPtrInput
	// The OpenID Connect configuration of the cluster
	OpenIdConnectConfig ClusterOpenIdConnectConfigPtrInput
	// The ID of the private network of the cluster.
	//
	// > **Important:** Changes to this field will recreate a new resource.
	//
	// > **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `privateNetworkId` set),
	// you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
	PrivateNetworkId pulumi.StringPtrInput
	// `projectId`) The ID of the project the cluster is associated with.
	ProjectId pulumi.StringPtrInput
	// `region`) The region in which the cluster should be created.
	Region pulumi.StringPtrInput
	// The tags associated with the Kubernetes cluster.
	Tags pulumi.StringArrayInput
	// The type of Kubernetes cluster. Possible values are:
	//
	// - for mutualized clusters: `kapsule` or `multicloud`
	//
	// - for dedicated Kapsule clusters: `kapsule-dedicated-4`, `kapsule-dedicated-8` or `kapsule-dedicated-16`.
	//
	// - for dedicated Kosmos clusters: `multicloud-dedicated-4`, `multicloud-dedicated-8` or `multicloud-dedicated-16`.
	Type pulumi.StringPtrInput
	// The version of the Kubernetes cluster.
	Version pulumi.StringInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterAutoUpgrade

type ClusterAutoUpgrade struct {
	// Set to `true` to enable Kubernetes patch version auto upgrades.
	// > **Important:** When enabling auto upgrades, the `version` field take a minor version like x.y (ie 1.18).
	Enable bool `pulumi:"enable"`
	// The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).
	MaintenanceWindowDay string `pulumi:"maintenanceWindowDay"`
	// The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).
	MaintenanceWindowStartHour int `pulumi:"maintenanceWindowStartHour"`
}

type ClusterAutoUpgradeArgs

type ClusterAutoUpgradeArgs struct {
	// Set to `true` to enable Kubernetes patch version auto upgrades.
	// > **Important:** When enabling auto upgrades, the `version` field take a minor version like x.y (ie 1.18).
	Enable pulumi.BoolInput `pulumi:"enable"`
	// The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).
	MaintenanceWindowDay pulumi.StringInput `pulumi:"maintenanceWindowDay"`
	// The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).
	MaintenanceWindowStartHour pulumi.IntInput `pulumi:"maintenanceWindowStartHour"`
}

func (ClusterAutoUpgradeArgs) ElementType

func (ClusterAutoUpgradeArgs) ElementType() reflect.Type

func (ClusterAutoUpgradeArgs) ToClusterAutoUpgradeOutput

func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradeOutput() ClusterAutoUpgradeOutput

func (ClusterAutoUpgradeArgs) ToClusterAutoUpgradeOutputWithContext

func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradeOutputWithContext(ctx context.Context) ClusterAutoUpgradeOutput

func (ClusterAutoUpgradeArgs) ToClusterAutoUpgradePtrOutput

func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradePtrOutput() ClusterAutoUpgradePtrOutput

func (ClusterAutoUpgradeArgs) ToClusterAutoUpgradePtrOutputWithContext

func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradePtrOutputWithContext(ctx context.Context) ClusterAutoUpgradePtrOutput

type ClusterAutoUpgradeInput

type ClusterAutoUpgradeInput interface {
	pulumi.Input

	ToClusterAutoUpgradeOutput() ClusterAutoUpgradeOutput
	ToClusterAutoUpgradeOutputWithContext(context.Context) ClusterAutoUpgradeOutput
}

ClusterAutoUpgradeInput is an input type that accepts ClusterAutoUpgradeArgs and ClusterAutoUpgradeOutput values. You can construct a concrete instance of `ClusterAutoUpgradeInput` via:

ClusterAutoUpgradeArgs{...}

type ClusterAutoUpgradeOutput

type ClusterAutoUpgradeOutput struct{ *pulumi.OutputState }

func (ClusterAutoUpgradeOutput) ElementType

func (ClusterAutoUpgradeOutput) ElementType() reflect.Type

func (ClusterAutoUpgradeOutput) Enable

Set to `true` to enable Kubernetes patch version auto upgrades. > **Important:** When enabling auto upgrades, the `version` field take a minor version like x.y (ie 1.18).

func (ClusterAutoUpgradeOutput) MaintenanceWindowDay

func (o ClusterAutoUpgradeOutput) MaintenanceWindowDay() pulumi.StringOutput

The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).

func (ClusterAutoUpgradeOutput) MaintenanceWindowStartHour

func (o ClusterAutoUpgradeOutput) MaintenanceWindowStartHour() pulumi.IntOutput

The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

func (ClusterAutoUpgradeOutput) ToClusterAutoUpgradeOutput

func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradeOutput() ClusterAutoUpgradeOutput

func (ClusterAutoUpgradeOutput) ToClusterAutoUpgradeOutputWithContext

func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradeOutputWithContext(ctx context.Context) ClusterAutoUpgradeOutput

func (ClusterAutoUpgradeOutput) ToClusterAutoUpgradePtrOutput

func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradePtrOutput() ClusterAutoUpgradePtrOutput

func (ClusterAutoUpgradeOutput) ToClusterAutoUpgradePtrOutputWithContext

func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradePtrOutputWithContext(ctx context.Context) ClusterAutoUpgradePtrOutput

type ClusterAutoUpgradePtrInput

type ClusterAutoUpgradePtrInput interface {
	pulumi.Input

	ToClusterAutoUpgradePtrOutput() ClusterAutoUpgradePtrOutput
	ToClusterAutoUpgradePtrOutputWithContext(context.Context) ClusterAutoUpgradePtrOutput
}

ClusterAutoUpgradePtrInput is an input type that accepts ClusterAutoUpgradeArgs, ClusterAutoUpgradePtr and ClusterAutoUpgradePtrOutput values. You can construct a concrete instance of `ClusterAutoUpgradePtrInput` via:

        ClusterAutoUpgradeArgs{...}

or:

        nil

type ClusterAutoUpgradePtrOutput

type ClusterAutoUpgradePtrOutput struct{ *pulumi.OutputState }

func (ClusterAutoUpgradePtrOutput) Elem

func (ClusterAutoUpgradePtrOutput) ElementType

func (ClusterAutoUpgradePtrOutput) Enable

Set to `true` to enable Kubernetes patch version auto upgrades. > **Important:** When enabling auto upgrades, the `version` field take a minor version like x.y (ie 1.18).

func (ClusterAutoUpgradePtrOutput) MaintenanceWindowDay

func (o ClusterAutoUpgradePtrOutput) MaintenanceWindowDay() pulumi.StringPtrOutput

The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).

func (ClusterAutoUpgradePtrOutput) MaintenanceWindowStartHour

func (o ClusterAutoUpgradePtrOutput) MaintenanceWindowStartHour() pulumi.IntPtrOutput

The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

func (ClusterAutoUpgradePtrOutput) ToClusterAutoUpgradePtrOutput

func (o ClusterAutoUpgradePtrOutput) ToClusterAutoUpgradePtrOutput() ClusterAutoUpgradePtrOutput

func (ClusterAutoUpgradePtrOutput) ToClusterAutoUpgradePtrOutputWithContext

func (o ClusterAutoUpgradePtrOutput) ToClusterAutoUpgradePtrOutputWithContext(ctx context.Context) ClusterAutoUpgradePtrOutput

type ClusterAutoscalerConfig

type ClusterAutoscalerConfig struct {
	// Detect similar node groups and balance the number of nodes between them.
	BalanceSimilarNodeGroups *bool `pulumi:"balanceSimilarNodeGroups"`
	// Disables the scale down feature of the autoscaler.
	DisableScaleDown *bool `pulumi:"disableScaleDown"`
	// Type of resource estimator to be used in scale up.
	Estimator *string `pulumi:"estimator"`
	// Type of node group expander to be used in scale up.
	Expander *string `pulumi:"expander"`
	// Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.
	ExpendablePodsPriorityCutoff *int `pulumi:"expendablePodsPriorityCutoff"`
	// Ignore DaemonSet pods when calculating resource utilization for scaling down.
	IgnoreDaemonsetsUtilization *bool `pulumi:"ignoreDaemonsetsUtilization"`
	// Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node
	MaxGracefulTerminationSec *int `pulumi:"maxGracefulTerminationSec"`
	// How long after scale up that scale down evaluation resumes.
	ScaleDownDelayAfterAdd *string `pulumi:"scaleDownDelayAfterAdd"`
	// How long a node should be unneeded before it is eligible for scale down.
	ScaleDownUnneededTime *string `pulumi:"scaleDownUnneededTime"`
	// Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down
	ScaleDownUtilizationThreshold *float64 `pulumi:"scaleDownUtilizationThreshold"`
}

type ClusterAutoscalerConfigArgs

type ClusterAutoscalerConfigArgs struct {
	// Detect similar node groups and balance the number of nodes between them.
	BalanceSimilarNodeGroups pulumi.BoolPtrInput `pulumi:"balanceSimilarNodeGroups"`
	// Disables the scale down feature of the autoscaler.
	DisableScaleDown pulumi.BoolPtrInput `pulumi:"disableScaleDown"`
	// Type of resource estimator to be used in scale up.
	Estimator pulumi.StringPtrInput `pulumi:"estimator"`
	// Type of node group expander to be used in scale up.
	Expander pulumi.StringPtrInput `pulumi:"expander"`
	// Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.
	ExpendablePodsPriorityCutoff pulumi.IntPtrInput `pulumi:"expendablePodsPriorityCutoff"`
	// Ignore DaemonSet pods when calculating resource utilization for scaling down.
	IgnoreDaemonsetsUtilization pulumi.BoolPtrInput `pulumi:"ignoreDaemonsetsUtilization"`
	// Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node
	MaxGracefulTerminationSec pulumi.IntPtrInput `pulumi:"maxGracefulTerminationSec"`
	// How long after scale up that scale down evaluation resumes.
	ScaleDownDelayAfterAdd pulumi.StringPtrInput `pulumi:"scaleDownDelayAfterAdd"`
	// How long a node should be unneeded before it is eligible for scale down.
	ScaleDownUnneededTime pulumi.StringPtrInput `pulumi:"scaleDownUnneededTime"`
	// Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down
	ScaleDownUtilizationThreshold pulumi.Float64PtrInput `pulumi:"scaleDownUtilizationThreshold"`
}

func (ClusterAutoscalerConfigArgs) ElementType

func (ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigOutput

func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigOutput() ClusterAutoscalerConfigOutput

func (ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigOutputWithContext

func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigOutputWithContext(ctx context.Context) ClusterAutoscalerConfigOutput

func (ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigPtrOutput

func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigPtrOutput() ClusterAutoscalerConfigPtrOutput

func (ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigPtrOutputWithContext

func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigPtrOutputWithContext(ctx context.Context) ClusterAutoscalerConfigPtrOutput

type ClusterAutoscalerConfigInput

type ClusterAutoscalerConfigInput interface {
	pulumi.Input

	ToClusterAutoscalerConfigOutput() ClusterAutoscalerConfigOutput
	ToClusterAutoscalerConfigOutputWithContext(context.Context) ClusterAutoscalerConfigOutput
}

ClusterAutoscalerConfigInput is an input type that accepts ClusterAutoscalerConfigArgs and ClusterAutoscalerConfigOutput values. You can construct a concrete instance of `ClusterAutoscalerConfigInput` via:

ClusterAutoscalerConfigArgs{...}

type ClusterAutoscalerConfigOutput

type ClusterAutoscalerConfigOutput struct{ *pulumi.OutputState }

func (ClusterAutoscalerConfigOutput) BalanceSimilarNodeGroups

func (o ClusterAutoscalerConfigOutput) BalanceSimilarNodeGroups() pulumi.BoolPtrOutput

Detect similar node groups and balance the number of nodes between them.

func (ClusterAutoscalerConfigOutput) DisableScaleDown

func (o ClusterAutoscalerConfigOutput) DisableScaleDown() pulumi.BoolPtrOutput

Disables the scale down feature of the autoscaler.

func (ClusterAutoscalerConfigOutput) ElementType

func (ClusterAutoscalerConfigOutput) Estimator

Type of resource estimator to be used in scale up.

func (ClusterAutoscalerConfigOutput) Expander

Type of node group expander to be used in scale up.

func (ClusterAutoscalerConfigOutput) ExpendablePodsPriorityCutoff

func (o ClusterAutoscalerConfigOutput) ExpendablePodsPriorityCutoff() pulumi.IntPtrOutput

Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

func (ClusterAutoscalerConfigOutput) IgnoreDaemonsetsUtilization

func (o ClusterAutoscalerConfigOutput) IgnoreDaemonsetsUtilization() pulumi.BoolPtrOutput

Ignore DaemonSet pods when calculating resource utilization for scaling down.

func (ClusterAutoscalerConfigOutput) MaxGracefulTerminationSec

func (o ClusterAutoscalerConfigOutput) MaxGracefulTerminationSec() pulumi.IntPtrOutput

Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

func (ClusterAutoscalerConfigOutput) ScaleDownDelayAfterAdd

func (o ClusterAutoscalerConfigOutput) ScaleDownDelayAfterAdd() pulumi.StringPtrOutput

How long after scale up that scale down evaluation resumes.

func (ClusterAutoscalerConfigOutput) ScaleDownUnneededTime

func (o ClusterAutoscalerConfigOutput) ScaleDownUnneededTime() pulumi.StringPtrOutput

How long a node should be unneeded before it is eligible for scale down.

func (ClusterAutoscalerConfigOutput) ScaleDownUtilizationThreshold

func (o ClusterAutoscalerConfigOutput) ScaleDownUtilizationThreshold() pulumi.Float64PtrOutput

Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

func (ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigOutput

func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigOutput() ClusterAutoscalerConfigOutput

func (ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigOutputWithContext

func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigOutputWithContext(ctx context.Context) ClusterAutoscalerConfigOutput

func (ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigPtrOutput

func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigPtrOutput() ClusterAutoscalerConfigPtrOutput

func (ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigPtrOutputWithContext

func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigPtrOutputWithContext(ctx context.Context) ClusterAutoscalerConfigPtrOutput

type ClusterAutoscalerConfigPtrInput

type ClusterAutoscalerConfigPtrInput interface {
	pulumi.Input

	ToClusterAutoscalerConfigPtrOutput() ClusterAutoscalerConfigPtrOutput
	ToClusterAutoscalerConfigPtrOutputWithContext(context.Context) ClusterAutoscalerConfigPtrOutput
}

ClusterAutoscalerConfigPtrInput is an input type that accepts ClusterAutoscalerConfigArgs, ClusterAutoscalerConfigPtr and ClusterAutoscalerConfigPtrOutput values. You can construct a concrete instance of `ClusterAutoscalerConfigPtrInput` via:

        ClusterAutoscalerConfigArgs{...}

or:

        nil

type ClusterAutoscalerConfigPtrOutput

type ClusterAutoscalerConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutoscalerConfigPtrOutput) BalanceSimilarNodeGroups

func (o ClusterAutoscalerConfigPtrOutput) BalanceSimilarNodeGroups() pulumi.BoolPtrOutput

Detect similar node groups and balance the number of nodes between them.

func (ClusterAutoscalerConfigPtrOutput) DisableScaleDown

Disables the scale down feature of the autoscaler.

func (ClusterAutoscalerConfigPtrOutput) Elem

func (ClusterAutoscalerConfigPtrOutput) ElementType

func (ClusterAutoscalerConfigPtrOutput) Estimator

Type of resource estimator to be used in scale up.

func (ClusterAutoscalerConfigPtrOutput) Expander

Type of node group expander to be used in scale up.

func (ClusterAutoscalerConfigPtrOutput) ExpendablePodsPriorityCutoff

func (o ClusterAutoscalerConfigPtrOutput) ExpendablePodsPriorityCutoff() pulumi.IntPtrOutput

Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

func (ClusterAutoscalerConfigPtrOutput) IgnoreDaemonsetsUtilization

func (o ClusterAutoscalerConfigPtrOutput) IgnoreDaemonsetsUtilization() pulumi.BoolPtrOutput

Ignore DaemonSet pods when calculating resource utilization for scaling down.

func (ClusterAutoscalerConfigPtrOutput) MaxGracefulTerminationSec

func (o ClusterAutoscalerConfigPtrOutput) MaxGracefulTerminationSec() pulumi.IntPtrOutput

Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

func (ClusterAutoscalerConfigPtrOutput) ScaleDownDelayAfterAdd

func (o ClusterAutoscalerConfigPtrOutput) ScaleDownDelayAfterAdd() pulumi.StringPtrOutput

How long after scale up that scale down evaluation resumes.

func (ClusterAutoscalerConfigPtrOutput) ScaleDownUnneededTime

func (o ClusterAutoscalerConfigPtrOutput) ScaleDownUnneededTime() pulumi.StringPtrOutput

How long a node should be unneeded before it is eligible for scale down.

func (ClusterAutoscalerConfigPtrOutput) ScaleDownUtilizationThreshold

func (o ClusterAutoscalerConfigPtrOutput) ScaleDownUtilizationThreshold() pulumi.Float64PtrOutput

Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

func (ClusterAutoscalerConfigPtrOutput) ToClusterAutoscalerConfigPtrOutput

func (o ClusterAutoscalerConfigPtrOutput) ToClusterAutoscalerConfigPtrOutput() ClusterAutoscalerConfigPtrOutput

func (ClusterAutoscalerConfigPtrOutput) ToClusterAutoscalerConfigPtrOutputWithContext

func (o ClusterAutoscalerConfigPtrOutput) ToClusterAutoscalerConfigPtrOutputWithContext(ctx context.Context) ClusterAutoscalerConfigPtrOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterKubeconfig

type ClusterKubeconfig struct {
	// The CA certificate of the Kubernetes API server.
	ClusterCaCertificate *string `pulumi:"clusterCaCertificate"`
	// The raw kubeconfig file.
	ConfigFile *string `pulumi:"configFile"`
	// The URL of the Kubernetes API server.
	Host *string `pulumi:"host"`
	// The token to connect to the Kubernetes API server.
	Token *string `pulumi:"token"`
}

type ClusterKubeconfigArgs

type ClusterKubeconfigArgs struct {
	// The CA certificate of the Kubernetes API server.
	ClusterCaCertificate pulumi.StringPtrInput `pulumi:"clusterCaCertificate"`
	// The raw kubeconfig file.
	ConfigFile pulumi.StringPtrInput `pulumi:"configFile"`
	// The URL of the Kubernetes API server.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// The token to connect to the Kubernetes API server.
	Token pulumi.StringPtrInput `pulumi:"token"`
}

func (ClusterKubeconfigArgs) ElementType

func (ClusterKubeconfigArgs) ElementType() reflect.Type

func (ClusterKubeconfigArgs) ToClusterKubeconfigOutput

func (i ClusterKubeconfigArgs) ToClusterKubeconfigOutput() ClusterKubeconfigOutput

func (ClusterKubeconfigArgs) ToClusterKubeconfigOutputWithContext

func (i ClusterKubeconfigArgs) ToClusterKubeconfigOutputWithContext(ctx context.Context) ClusterKubeconfigOutput

type ClusterKubeconfigArray

type ClusterKubeconfigArray []ClusterKubeconfigInput

func (ClusterKubeconfigArray) ElementType

func (ClusterKubeconfigArray) ElementType() reflect.Type

func (ClusterKubeconfigArray) ToClusterKubeconfigArrayOutput

func (i ClusterKubeconfigArray) ToClusterKubeconfigArrayOutput() ClusterKubeconfigArrayOutput

func (ClusterKubeconfigArray) ToClusterKubeconfigArrayOutputWithContext

func (i ClusterKubeconfigArray) ToClusterKubeconfigArrayOutputWithContext(ctx context.Context) ClusterKubeconfigArrayOutput

type ClusterKubeconfigArrayInput

type ClusterKubeconfigArrayInput interface {
	pulumi.Input

	ToClusterKubeconfigArrayOutput() ClusterKubeconfigArrayOutput
	ToClusterKubeconfigArrayOutputWithContext(context.Context) ClusterKubeconfigArrayOutput
}

ClusterKubeconfigArrayInput is an input type that accepts ClusterKubeconfigArray and ClusterKubeconfigArrayOutput values. You can construct a concrete instance of `ClusterKubeconfigArrayInput` via:

ClusterKubeconfigArray{ ClusterKubeconfigArgs{...} }

type ClusterKubeconfigArrayOutput

type ClusterKubeconfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterKubeconfigArrayOutput) ElementType

func (ClusterKubeconfigArrayOutput) Index

func (ClusterKubeconfigArrayOutput) ToClusterKubeconfigArrayOutput

func (o ClusterKubeconfigArrayOutput) ToClusterKubeconfigArrayOutput() ClusterKubeconfigArrayOutput

func (ClusterKubeconfigArrayOutput) ToClusterKubeconfigArrayOutputWithContext

func (o ClusterKubeconfigArrayOutput) ToClusterKubeconfigArrayOutputWithContext(ctx context.Context) ClusterKubeconfigArrayOutput

type ClusterKubeconfigInput

type ClusterKubeconfigInput interface {
	pulumi.Input

	ToClusterKubeconfigOutput() ClusterKubeconfigOutput
	ToClusterKubeconfigOutputWithContext(context.Context) ClusterKubeconfigOutput
}

ClusterKubeconfigInput is an input type that accepts ClusterKubeconfigArgs and ClusterKubeconfigOutput values. You can construct a concrete instance of `ClusterKubeconfigInput` via:

ClusterKubeconfigArgs{...}

type ClusterKubeconfigOutput

type ClusterKubeconfigOutput struct{ *pulumi.OutputState }

func (ClusterKubeconfigOutput) ClusterCaCertificate

func (o ClusterKubeconfigOutput) ClusterCaCertificate() pulumi.StringPtrOutput

The CA certificate of the Kubernetes API server.

func (ClusterKubeconfigOutput) ConfigFile

The raw kubeconfig file.

func (ClusterKubeconfigOutput) ElementType

func (ClusterKubeconfigOutput) ElementType() reflect.Type

func (ClusterKubeconfigOutput) Host

The URL of the Kubernetes API server.

func (ClusterKubeconfigOutput) ToClusterKubeconfigOutput

func (o ClusterKubeconfigOutput) ToClusterKubeconfigOutput() ClusterKubeconfigOutput

func (ClusterKubeconfigOutput) ToClusterKubeconfigOutputWithContext

func (o ClusterKubeconfigOutput) ToClusterKubeconfigOutputWithContext(ctx context.Context) ClusterKubeconfigOutput

func (ClusterKubeconfigOutput) Token

The token to connect to the Kubernetes API server.

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOpenIdConnectConfig

type ClusterOpenIdConnectConfig struct {
	// A client id that all tokens must be issued for
	ClientId string `pulumi:"clientId"`
	// JWT claim to use as the user's group
	GroupsClaims []string `pulumi:"groupsClaims"`
	// Prefix prepended to group claims
	GroupsPrefix *string `pulumi:"groupsPrefix"`
	// URL of the provider which allows the API server to discover public signing keys
	IssuerUrl string `pulumi:"issuerUrl"`
	// Multiple key=value pairs that describes a required claim in the ID Token
	RequiredClaims []string `pulumi:"requiredClaims"`
	// JWT claim to use as the user name
	UsernameClaim *string `pulumi:"usernameClaim"`
	// Prefix prepended to username
	UsernamePrefix *string `pulumi:"usernamePrefix"`
}

type ClusterOpenIdConnectConfigArgs

type ClusterOpenIdConnectConfigArgs struct {
	// A client id that all tokens must be issued for
	ClientId pulumi.StringInput `pulumi:"clientId"`
	// JWT claim to use as the user's group
	GroupsClaims pulumi.StringArrayInput `pulumi:"groupsClaims"`
	// Prefix prepended to group claims
	GroupsPrefix pulumi.StringPtrInput `pulumi:"groupsPrefix"`
	// URL of the provider which allows the API server to discover public signing keys
	IssuerUrl pulumi.StringInput `pulumi:"issuerUrl"`
	// Multiple key=value pairs that describes a required claim in the ID Token
	RequiredClaims pulumi.StringArrayInput `pulumi:"requiredClaims"`
	// JWT claim to use as the user name
	UsernameClaim pulumi.StringPtrInput `pulumi:"usernameClaim"`
	// Prefix prepended to username
	UsernamePrefix pulumi.StringPtrInput `pulumi:"usernamePrefix"`
}

func (ClusterOpenIdConnectConfigArgs) ElementType

func (ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigOutput

func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigOutput() ClusterOpenIdConnectConfigOutput

func (ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigOutputWithContext

func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigOutput

func (ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigPtrOutput

func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigPtrOutput() ClusterOpenIdConnectConfigPtrOutput

func (ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigPtrOutputWithContext

func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigPtrOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigPtrOutput

type ClusterOpenIdConnectConfigInput

type ClusterOpenIdConnectConfigInput interface {
	pulumi.Input

	ToClusterOpenIdConnectConfigOutput() ClusterOpenIdConnectConfigOutput
	ToClusterOpenIdConnectConfigOutputWithContext(context.Context) ClusterOpenIdConnectConfigOutput
}

ClusterOpenIdConnectConfigInput is an input type that accepts ClusterOpenIdConnectConfigArgs and ClusterOpenIdConnectConfigOutput values. You can construct a concrete instance of `ClusterOpenIdConnectConfigInput` via:

ClusterOpenIdConnectConfigArgs{...}

type ClusterOpenIdConnectConfigOutput

type ClusterOpenIdConnectConfigOutput struct{ *pulumi.OutputState }

func (ClusterOpenIdConnectConfigOutput) ClientId

A client id that all tokens must be issued for

func (ClusterOpenIdConnectConfigOutput) ElementType

func (ClusterOpenIdConnectConfigOutput) GroupsClaims

JWT claim to use as the user's group

func (ClusterOpenIdConnectConfigOutput) GroupsPrefix

Prefix prepended to group claims

func (ClusterOpenIdConnectConfigOutput) IssuerUrl

URL of the provider which allows the API server to discover public signing keys

func (ClusterOpenIdConnectConfigOutput) RequiredClaims

Multiple key=value pairs that describes a required claim in the ID Token

func (ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigOutput

func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigOutput() ClusterOpenIdConnectConfigOutput

func (ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigOutputWithContext

func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigOutput

func (ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigPtrOutput

func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigPtrOutput() ClusterOpenIdConnectConfigPtrOutput

func (ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigPtrOutputWithContext

func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigPtrOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigPtrOutput

func (ClusterOpenIdConnectConfigOutput) UsernameClaim

JWT claim to use as the user name

func (ClusterOpenIdConnectConfigOutput) UsernamePrefix

Prefix prepended to username

type ClusterOpenIdConnectConfigPtrInput

type ClusterOpenIdConnectConfigPtrInput interface {
	pulumi.Input

	ToClusterOpenIdConnectConfigPtrOutput() ClusterOpenIdConnectConfigPtrOutput
	ToClusterOpenIdConnectConfigPtrOutputWithContext(context.Context) ClusterOpenIdConnectConfigPtrOutput
}

ClusterOpenIdConnectConfigPtrInput is an input type that accepts ClusterOpenIdConnectConfigArgs, ClusterOpenIdConnectConfigPtr and ClusterOpenIdConnectConfigPtrOutput values. You can construct a concrete instance of `ClusterOpenIdConnectConfigPtrInput` via:

        ClusterOpenIdConnectConfigArgs{...}

or:

        nil

type ClusterOpenIdConnectConfigPtrOutput

type ClusterOpenIdConnectConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterOpenIdConnectConfigPtrOutput) ClientId

A client id that all tokens must be issued for

func (ClusterOpenIdConnectConfigPtrOutput) Elem

func (ClusterOpenIdConnectConfigPtrOutput) ElementType

func (ClusterOpenIdConnectConfigPtrOutput) GroupsClaims

JWT claim to use as the user's group

func (ClusterOpenIdConnectConfigPtrOutput) GroupsPrefix

Prefix prepended to group claims

func (ClusterOpenIdConnectConfigPtrOutput) IssuerUrl

URL of the provider which allows the API server to discover public signing keys

func (ClusterOpenIdConnectConfigPtrOutput) RequiredClaims

Multiple key=value pairs that describes a required claim in the ID Token

func (ClusterOpenIdConnectConfigPtrOutput) ToClusterOpenIdConnectConfigPtrOutput

func (o ClusterOpenIdConnectConfigPtrOutput) ToClusterOpenIdConnectConfigPtrOutput() ClusterOpenIdConnectConfigPtrOutput

func (ClusterOpenIdConnectConfigPtrOutput) ToClusterOpenIdConnectConfigPtrOutputWithContext

func (o ClusterOpenIdConnectConfigPtrOutput) ToClusterOpenIdConnectConfigPtrOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigPtrOutput

func (ClusterOpenIdConnectConfigPtrOutput) UsernameClaim

JWT claim to use as the user name

func (ClusterOpenIdConnectConfigPtrOutput) UsernamePrefix

Prefix prepended to username

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AdmissionPlugins

func (o ClusterOutput) AdmissionPlugins() pulumi.StringArrayOutput

The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.

func (ClusterOutput) ApiserverCertSans

func (o ClusterOutput) ApiserverCertSans() pulumi.StringArrayOutput

Additional Subject Alternative Names for the Kubernetes API server certificate

func (ClusterOutput) ApiserverUrl

func (o ClusterOutput) ApiserverUrl() pulumi.StringOutput

The URL of the Kubernetes API server.

func (ClusterOutput) AutoUpgrade

func (o ClusterOutput) AutoUpgrade() ClusterAutoUpgradeOutput

The auto upgrade configuration.

func (ClusterOutput) AutoscalerConfig

func (o ClusterOutput) AutoscalerConfig() ClusterAutoscalerConfigOutput

The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).

func (ClusterOutput) Cni

The Container Network Interface (CNI) for the Kubernetes cluster. > **Important:** Updates to this field will recreate a new resource.

func (ClusterOutput) CreatedAt

func (o ClusterOutput) CreatedAt() pulumi.StringOutput

The creation date of the cluster.

func (ClusterOutput) DeleteAdditionalResources

func (o ClusterOutput) DeleteAdditionalResources() pulumi.BoolOutput

Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion. > **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster. If you prefer keeping it, you should instead set it as `false`.

func (ClusterOutput) Description

func (o ClusterOutput) Description() pulumi.StringPtrOutput

A description for the Kubernetes cluster.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) FeatureGates

func (o ClusterOutput) FeatureGates() pulumi.StringArrayOutput

The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.

func (ClusterOutput) Kubeconfigs

The kubeconfig configuration file of the Kubernetes cluster

func (ClusterOutput) Name

The name for the Kubernetes cluster.

func (ClusterOutput) OpenIdConnectConfig

func (o ClusterOutput) OpenIdConnectConfig() ClusterOpenIdConnectConfigOutput

The OpenID Connect configuration of the cluster

func (ClusterOutput) OrganizationId

func (o ClusterOutput) OrganizationId() pulumi.StringOutput

The organization ID the cluster is associated with.

func (ClusterOutput) PrivateNetworkId

func (o ClusterOutput) PrivateNetworkId() pulumi.StringPtrOutput

The ID of the private network of the cluster.

> **Important:** Changes to this field will recreate a new resource.

> **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `privateNetworkId` set), you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.

func (ClusterOutput) ProjectId

func (o ClusterOutput) ProjectId() pulumi.StringOutput

`projectId`) The ID of the project the cluster is associated with.

func (ClusterOutput) Region

func (o ClusterOutput) Region() pulumi.StringOutput

`region`) The region in which the cluster should be created.

func (ClusterOutput) Status

func (o ClusterOutput) Status() pulumi.StringOutput

The status of the Kubernetes cluster.

func (ClusterOutput) Tags

The tags associated with the Kubernetes cluster.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) Type

The type of Kubernetes cluster. Possible values are:

- for mutualized clusters: `kapsule` or `multicloud`

- for dedicated Kapsule clusters: `kapsule-dedicated-4`, `kapsule-dedicated-8` or `kapsule-dedicated-16`.

- for dedicated Kosmos clusters: `multicloud-dedicated-4`, `multicloud-dedicated-8` or `multicloud-dedicated-16`.

func (ClusterOutput) UpdatedAt

func (o ClusterOutput) UpdatedAt() pulumi.StringOutput

The last update date of the cluster.

func (ClusterOutput) UpgradeAvailable

func (o ClusterOutput) UpgradeAvailable() pulumi.BoolOutput

Set to `true` if a newer Kubernetes version is available.

func (ClusterOutput) Version

func (o ClusterOutput) Version() pulumi.StringOutput

The version of the Kubernetes cluster.

func (ClusterOutput) WildcardDns

func (o ClusterOutput) WildcardDns() pulumi.StringOutput

The DNS wildcard that points to all ready nodes.

type ClusterState

type ClusterState struct {
	// The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) to enable on the cluster.
	AdmissionPlugins pulumi.StringArrayInput
	// Additional Subject Alternative Names for the Kubernetes API server certificate
	ApiserverCertSans pulumi.StringArrayInput
	// The URL of the Kubernetes API server.
	ApiserverUrl pulumi.StringPtrInput
	// The auto upgrade configuration.
	AutoUpgrade ClusterAutoUpgradePtrInput
	// The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
	AutoscalerConfig ClusterAutoscalerConfigPtrInput
	// The Container Network Interface (CNI) for the Kubernetes cluster.
	// > **Important:** Updates to this field will recreate a new resource.
	Cni pulumi.StringPtrInput
	// The creation date of the cluster.
	CreatedAt pulumi.StringPtrInput
	// Delete additional resources like block volumes, load-balancers and the cluster's private network (if empty) that were created in Kubernetes on cluster deletion.
	// > **Important:** Setting this field to `true` means that you will lose all your cluster data and network configuration when you delete your cluster.
	// If you prefer keeping it, you should instead set it as `false`.
	DeleteAdditionalResources pulumi.BoolPtrInput
	// A description for the Kubernetes cluster.
	Description pulumi.StringPtrInput
	// The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) to enable on the cluster.
	FeatureGates pulumi.StringArrayInput
	// The kubeconfig configuration file of the Kubernetes cluster
	Kubeconfigs ClusterKubeconfigArrayInput
	// The name for the Kubernetes cluster.
	Name pulumi.StringPtrInput
	// The OpenID Connect configuration of the cluster
	OpenIdConnectConfig ClusterOpenIdConnectConfigPtrInput
	// The organization ID the cluster is associated with.
	OrganizationId pulumi.StringPtrInput
	// The ID of the private network of the cluster.
	//
	// > **Important:** Changes to this field will recreate a new resource.
	//
	// > **Important:** Private Networks are now mandatory with Kapsule Clusters. If you have a legacy cluster (no `privateNetworkId` set),
	// you can still set it now. In this case it will not destroy and recreate your cluster but migrate it to the Private Network.
	PrivateNetworkId pulumi.StringPtrInput
	// `projectId`) The ID of the project the cluster is associated with.
	ProjectId pulumi.StringPtrInput
	// `region`) The region in which the cluster should be created.
	Region pulumi.StringPtrInput
	// The status of the Kubernetes cluster.
	Status pulumi.StringPtrInput
	// The tags associated with the Kubernetes cluster.
	Tags pulumi.StringArrayInput
	// The type of Kubernetes cluster. Possible values are:
	//
	// - for mutualized clusters: `kapsule` or `multicloud`
	//
	// - for dedicated Kapsule clusters: `kapsule-dedicated-4`, `kapsule-dedicated-8` or `kapsule-dedicated-16`.
	//
	// - for dedicated Kosmos clusters: `multicloud-dedicated-4`, `multicloud-dedicated-8` or `multicloud-dedicated-16`.
	Type pulumi.StringPtrInput
	// The last update date of the cluster.
	UpdatedAt pulumi.StringPtrInput
	// Set to `true` if a newer Kubernetes version is available.
	UpgradeAvailable pulumi.BoolPtrInput
	// The version of the Kubernetes cluster.
	Version pulumi.StringPtrInput
	// The DNS wildcard that points to all ready nodes.
	WildcardDns pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetClusterAutoUpgrade

type GetClusterAutoUpgrade struct {
	// True if Kubernetes patch version auto upgrades is enabled.
	Enable bool `pulumi:"enable"`
	// The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).
	MaintenanceWindowDay string `pulumi:"maintenanceWindowDay"`
	// The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).
	MaintenanceWindowStartHour int `pulumi:"maintenanceWindowStartHour"`
}

type GetClusterAutoUpgradeArgs

type GetClusterAutoUpgradeArgs struct {
	// True if Kubernetes patch version auto upgrades is enabled.
	Enable pulumi.BoolInput `pulumi:"enable"`
	// The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).
	MaintenanceWindowDay pulumi.StringInput `pulumi:"maintenanceWindowDay"`
	// The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).
	MaintenanceWindowStartHour pulumi.IntInput `pulumi:"maintenanceWindowStartHour"`
}

func (GetClusterAutoUpgradeArgs) ElementType

func (GetClusterAutoUpgradeArgs) ElementType() reflect.Type

func (GetClusterAutoUpgradeArgs) ToGetClusterAutoUpgradeOutput

func (i GetClusterAutoUpgradeArgs) ToGetClusterAutoUpgradeOutput() GetClusterAutoUpgradeOutput

func (GetClusterAutoUpgradeArgs) ToGetClusterAutoUpgradeOutputWithContext

func (i GetClusterAutoUpgradeArgs) ToGetClusterAutoUpgradeOutputWithContext(ctx context.Context) GetClusterAutoUpgradeOutput

type GetClusterAutoUpgradeArray

type GetClusterAutoUpgradeArray []GetClusterAutoUpgradeInput

func (GetClusterAutoUpgradeArray) ElementType

func (GetClusterAutoUpgradeArray) ElementType() reflect.Type

func (GetClusterAutoUpgradeArray) ToGetClusterAutoUpgradeArrayOutput

func (i GetClusterAutoUpgradeArray) ToGetClusterAutoUpgradeArrayOutput() GetClusterAutoUpgradeArrayOutput

func (GetClusterAutoUpgradeArray) ToGetClusterAutoUpgradeArrayOutputWithContext

func (i GetClusterAutoUpgradeArray) ToGetClusterAutoUpgradeArrayOutputWithContext(ctx context.Context) GetClusterAutoUpgradeArrayOutput

type GetClusterAutoUpgradeArrayInput

type GetClusterAutoUpgradeArrayInput interface {
	pulumi.Input

	ToGetClusterAutoUpgradeArrayOutput() GetClusterAutoUpgradeArrayOutput
	ToGetClusterAutoUpgradeArrayOutputWithContext(context.Context) GetClusterAutoUpgradeArrayOutput
}

GetClusterAutoUpgradeArrayInput is an input type that accepts GetClusterAutoUpgradeArray and GetClusterAutoUpgradeArrayOutput values. You can construct a concrete instance of `GetClusterAutoUpgradeArrayInput` via:

GetClusterAutoUpgradeArray{ GetClusterAutoUpgradeArgs{...} }

type GetClusterAutoUpgradeArrayOutput

type GetClusterAutoUpgradeArrayOutput struct{ *pulumi.OutputState }

func (GetClusterAutoUpgradeArrayOutput) ElementType

func (GetClusterAutoUpgradeArrayOutput) Index

func (GetClusterAutoUpgradeArrayOutput) ToGetClusterAutoUpgradeArrayOutput

func (o GetClusterAutoUpgradeArrayOutput) ToGetClusterAutoUpgradeArrayOutput() GetClusterAutoUpgradeArrayOutput

func (GetClusterAutoUpgradeArrayOutput) ToGetClusterAutoUpgradeArrayOutputWithContext

func (o GetClusterAutoUpgradeArrayOutput) ToGetClusterAutoUpgradeArrayOutputWithContext(ctx context.Context) GetClusterAutoUpgradeArrayOutput

type GetClusterAutoUpgradeInput

type GetClusterAutoUpgradeInput interface {
	pulumi.Input

	ToGetClusterAutoUpgradeOutput() GetClusterAutoUpgradeOutput
	ToGetClusterAutoUpgradeOutputWithContext(context.Context) GetClusterAutoUpgradeOutput
}

GetClusterAutoUpgradeInput is an input type that accepts GetClusterAutoUpgradeArgs and GetClusterAutoUpgradeOutput values. You can construct a concrete instance of `GetClusterAutoUpgradeInput` via:

GetClusterAutoUpgradeArgs{...}

type GetClusterAutoUpgradeOutput

type GetClusterAutoUpgradeOutput struct{ *pulumi.OutputState }

func (GetClusterAutoUpgradeOutput) ElementType

func (GetClusterAutoUpgradeOutput) Enable

True if Kubernetes patch version auto upgrades is enabled.

func (GetClusterAutoUpgradeOutput) MaintenanceWindowDay

func (o GetClusterAutoUpgradeOutput) MaintenanceWindowDay() pulumi.StringOutput

The day of the auto upgrade maintenance window (`monday` to `sunday`, or `any`).

func (GetClusterAutoUpgradeOutput) MaintenanceWindowStartHour

func (o GetClusterAutoUpgradeOutput) MaintenanceWindowStartHour() pulumi.IntOutput

The start hour (UTC) of the 2-hour auto upgrade maintenance window (0 to 23).

func (GetClusterAutoUpgradeOutput) ToGetClusterAutoUpgradeOutput

func (o GetClusterAutoUpgradeOutput) ToGetClusterAutoUpgradeOutput() GetClusterAutoUpgradeOutput

func (GetClusterAutoUpgradeOutput) ToGetClusterAutoUpgradeOutputWithContext

func (o GetClusterAutoUpgradeOutput) ToGetClusterAutoUpgradeOutputWithContext(ctx context.Context) GetClusterAutoUpgradeOutput

type GetClusterAutoscalerConfig

type GetClusterAutoscalerConfig struct {
	// True if detecting similar node groups and balance the number of nodes between them is enabled.
	BalanceSimilarNodeGroups bool `pulumi:"balanceSimilarNodeGroups"`
	// True if the scale down feature of the autoscaler is disabled.
	DisableScaleDown bool `pulumi:"disableScaleDown"`
	// The type of resource estimator used in scale up.
	Estimator string `pulumi:"estimator"`
	// The type of node group expander be used in scale up.
	Expander string `pulumi:"expander"`
	// Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.
	ExpendablePodsPriorityCutoff int `pulumi:"expendablePodsPriorityCutoff"`
	// True if ignoring DaemonSet pods when calculating resource utilization for scaling down is enabled.
	IgnoreDaemonsetsUtilization bool `pulumi:"ignoreDaemonsetsUtilization"`
	// Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node
	MaxGracefulTerminationSec int `pulumi:"maxGracefulTerminationSec"`
	// The duration after scale up that scale down evaluation resumes.
	ScaleDownDelayAfterAdd string `pulumi:"scaleDownDelayAfterAdd"`
	// The duration a node should be unneeded before it is eligible for scale down.
	ScaleDownUnneededTime string `pulumi:"scaleDownUnneededTime"`
	// Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down
	ScaleDownUtilizationThreshold float64 `pulumi:"scaleDownUtilizationThreshold"`
}

type GetClusterAutoscalerConfigArgs

type GetClusterAutoscalerConfigArgs struct {
	// True if detecting similar node groups and balance the number of nodes between them is enabled.
	BalanceSimilarNodeGroups pulumi.BoolInput `pulumi:"balanceSimilarNodeGroups"`
	// True if the scale down feature of the autoscaler is disabled.
	DisableScaleDown pulumi.BoolInput `pulumi:"disableScaleDown"`
	// The type of resource estimator used in scale up.
	Estimator pulumi.StringInput `pulumi:"estimator"`
	// The type of node group expander be used in scale up.
	Expander pulumi.StringInput `pulumi:"expander"`
	// Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.
	ExpendablePodsPriorityCutoff pulumi.IntInput `pulumi:"expendablePodsPriorityCutoff"`
	// True if ignoring DaemonSet pods when calculating resource utilization for scaling down is enabled.
	IgnoreDaemonsetsUtilization pulumi.BoolInput `pulumi:"ignoreDaemonsetsUtilization"`
	// Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node
	MaxGracefulTerminationSec pulumi.IntInput `pulumi:"maxGracefulTerminationSec"`
	// The duration after scale up that scale down evaluation resumes.
	ScaleDownDelayAfterAdd pulumi.StringInput `pulumi:"scaleDownDelayAfterAdd"`
	// The duration a node should be unneeded before it is eligible for scale down.
	ScaleDownUnneededTime pulumi.StringInput `pulumi:"scaleDownUnneededTime"`
	// Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down
	ScaleDownUtilizationThreshold pulumi.Float64Input `pulumi:"scaleDownUtilizationThreshold"`
}

func (GetClusterAutoscalerConfigArgs) ElementType

func (GetClusterAutoscalerConfigArgs) ToGetClusterAutoscalerConfigOutput

func (i GetClusterAutoscalerConfigArgs) ToGetClusterAutoscalerConfigOutput() GetClusterAutoscalerConfigOutput

func (GetClusterAutoscalerConfigArgs) ToGetClusterAutoscalerConfigOutputWithContext

func (i GetClusterAutoscalerConfigArgs) ToGetClusterAutoscalerConfigOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigOutput

type GetClusterAutoscalerConfigArray

type GetClusterAutoscalerConfigArray []GetClusterAutoscalerConfigInput

func (GetClusterAutoscalerConfigArray) ElementType

func (GetClusterAutoscalerConfigArray) ToGetClusterAutoscalerConfigArrayOutput

func (i GetClusterAutoscalerConfigArray) ToGetClusterAutoscalerConfigArrayOutput() GetClusterAutoscalerConfigArrayOutput

func (GetClusterAutoscalerConfigArray) ToGetClusterAutoscalerConfigArrayOutputWithContext

func (i GetClusterAutoscalerConfigArray) ToGetClusterAutoscalerConfigArrayOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigArrayOutput

type GetClusterAutoscalerConfigArrayInput

type GetClusterAutoscalerConfigArrayInput interface {
	pulumi.Input

	ToGetClusterAutoscalerConfigArrayOutput() GetClusterAutoscalerConfigArrayOutput
	ToGetClusterAutoscalerConfigArrayOutputWithContext(context.Context) GetClusterAutoscalerConfigArrayOutput
}

GetClusterAutoscalerConfigArrayInput is an input type that accepts GetClusterAutoscalerConfigArray and GetClusterAutoscalerConfigArrayOutput values. You can construct a concrete instance of `GetClusterAutoscalerConfigArrayInput` via:

GetClusterAutoscalerConfigArray{ GetClusterAutoscalerConfigArgs{...} }

type GetClusterAutoscalerConfigArrayOutput

type GetClusterAutoscalerConfigArrayOutput struct{ *pulumi.OutputState }

func (GetClusterAutoscalerConfigArrayOutput) ElementType

func (GetClusterAutoscalerConfigArrayOutput) Index

func (GetClusterAutoscalerConfigArrayOutput) ToGetClusterAutoscalerConfigArrayOutput

func (o GetClusterAutoscalerConfigArrayOutput) ToGetClusterAutoscalerConfigArrayOutput() GetClusterAutoscalerConfigArrayOutput

func (GetClusterAutoscalerConfigArrayOutput) ToGetClusterAutoscalerConfigArrayOutputWithContext

func (o GetClusterAutoscalerConfigArrayOutput) ToGetClusterAutoscalerConfigArrayOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigArrayOutput

type GetClusterAutoscalerConfigInput

type GetClusterAutoscalerConfigInput interface {
	pulumi.Input

	ToGetClusterAutoscalerConfigOutput() GetClusterAutoscalerConfigOutput
	ToGetClusterAutoscalerConfigOutputWithContext(context.Context) GetClusterAutoscalerConfigOutput
}

GetClusterAutoscalerConfigInput is an input type that accepts GetClusterAutoscalerConfigArgs and GetClusterAutoscalerConfigOutput values. You can construct a concrete instance of `GetClusterAutoscalerConfigInput` via:

GetClusterAutoscalerConfigArgs{...}

type GetClusterAutoscalerConfigOutput

type GetClusterAutoscalerConfigOutput struct{ *pulumi.OutputState }

func (GetClusterAutoscalerConfigOutput) BalanceSimilarNodeGroups

func (o GetClusterAutoscalerConfigOutput) BalanceSimilarNodeGroups() pulumi.BoolOutput

True if detecting similar node groups and balance the number of nodes between them is enabled.

func (GetClusterAutoscalerConfigOutput) DisableScaleDown

func (o GetClusterAutoscalerConfigOutput) DisableScaleDown() pulumi.BoolOutput

True if the scale down feature of the autoscaler is disabled.

func (GetClusterAutoscalerConfigOutput) ElementType

func (GetClusterAutoscalerConfigOutput) Estimator

The type of resource estimator used in scale up.

func (GetClusterAutoscalerConfigOutput) Expander

The type of node group expander be used in scale up.

func (GetClusterAutoscalerConfigOutput) ExpendablePodsPriorityCutoff

func (o GetClusterAutoscalerConfigOutput) ExpendablePodsPriorityCutoff() pulumi.IntOutput

Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable.

func (GetClusterAutoscalerConfigOutput) IgnoreDaemonsetsUtilization

func (o GetClusterAutoscalerConfigOutput) IgnoreDaemonsetsUtilization() pulumi.BoolOutput

True if ignoring DaemonSet pods when calculating resource utilization for scaling down is enabled.

func (GetClusterAutoscalerConfigOutput) MaxGracefulTerminationSec

func (o GetClusterAutoscalerConfigOutput) MaxGracefulTerminationSec() pulumi.IntOutput

Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node

func (GetClusterAutoscalerConfigOutput) ScaleDownDelayAfterAdd

func (o GetClusterAutoscalerConfigOutput) ScaleDownDelayAfterAdd() pulumi.StringOutput

The duration after scale up that scale down evaluation resumes.

func (GetClusterAutoscalerConfigOutput) ScaleDownUnneededTime

func (o GetClusterAutoscalerConfigOutput) ScaleDownUnneededTime() pulumi.StringOutput

The duration a node should be unneeded before it is eligible for scale down.

func (GetClusterAutoscalerConfigOutput) ScaleDownUtilizationThreshold

func (o GetClusterAutoscalerConfigOutput) ScaleDownUtilizationThreshold() pulumi.Float64Output

Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down

func (GetClusterAutoscalerConfigOutput) ToGetClusterAutoscalerConfigOutput

func (o GetClusterAutoscalerConfigOutput) ToGetClusterAutoscalerConfigOutput() GetClusterAutoscalerConfigOutput

func (GetClusterAutoscalerConfigOutput) ToGetClusterAutoscalerConfigOutputWithContext

func (o GetClusterAutoscalerConfigOutput) ToGetClusterAutoscalerConfigOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigOutput

type GetClusterKubeconfig

type GetClusterKubeconfig struct {
	// The CA certificate of the Kubernetes API server.
	ClusterCaCertificate string `pulumi:"clusterCaCertificate"`
	// The raw kubeconfig file.
	ConfigFile string `pulumi:"configFile"`
	// The URL of the Kubernetes API server.
	Host string `pulumi:"host"`
	// The token to connect to the Kubernetes API server.
	Token string `pulumi:"token"`
}

type GetClusterKubeconfigArgs

type GetClusterKubeconfigArgs struct {
	// The CA certificate of the Kubernetes API server.
	ClusterCaCertificate pulumi.StringInput `pulumi:"clusterCaCertificate"`
	// The raw kubeconfig file.
	ConfigFile pulumi.StringInput `pulumi:"configFile"`
	// The URL of the Kubernetes API server.
	Host pulumi.StringInput `pulumi:"host"`
	// The token to connect to the Kubernetes API server.
	Token pulumi.StringInput `pulumi:"token"`
}

func (GetClusterKubeconfigArgs) ElementType

func (GetClusterKubeconfigArgs) ElementType() reflect.Type

func (GetClusterKubeconfigArgs) ToGetClusterKubeconfigOutput

func (i GetClusterKubeconfigArgs) ToGetClusterKubeconfigOutput() GetClusterKubeconfigOutput

func (GetClusterKubeconfigArgs) ToGetClusterKubeconfigOutputWithContext

func (i GetClusterKubeconfigArgs) ToGetClusterKubeconfigOutputWithContext(ctx context.Context) GetClusterKubeconfigOutput

type GetClusterKubeconfigArray

type GetClusterKubeconfigArray []GetClusterKubeconfigInput

func (GetClusterKubeconfigArray) ElementType

func (GetClusterKubeconfigArray) ElementType() reflect.Type

func (GetClusterKubeconfigArray) ToGetClusterKubeconfigArrayOutput

func (i GetClusterKubeconfigArray) ToGetClusterKubeconfigArrayOutput() GetClusterKubeconfigArrayOutput

func (GetClusterKubeconfigArray) ToGetClusterKubeconfigArrayOutputWithContext

func (i GetClusterKubeconfigArray) ToGetClusterKubeconfigArrayOutputWithContext(ctx context.Context) GetClusterKubeconfigArrayOutput

type GetClusterKubeconfigArrayInput

type GetClusterKubeconfigArrayInput interface {
	pulumi.Input

	ToGetClusterKubeconfigArrayOutput() GetClusterKubeconfigArrayOutput
	ToGetClusterKubeconfigArrayOutputWithContext(context.Context) GetClusterKubeconfigArrayOutput
}

GetClusterKubeconfigArrayInput is an input type that accepts GetClusterKubeconfigArray and GetClusterKubeconfigArrayOutput values. You can construct a concrete instance of `GetClusterKubeconfigArrayInput` via:

GetClusterKubeconfigArray{ GetClusterKubeconfigArgs{...} }

type GetClusterKubeconfigArrayOutput

type GetClusterKubeconfigArrayOutput struct{ *pulumi.OutputState }

func (GetClusterKubeconfigArrayOutput) ElementType

func (GetClusterKubeconfigArrayOutput) Index

func (GetClusterKubeconfigArrayOutput) ToGetClusterKubeconfigArrayOutput

func (o GetClusterKubeconfigArrayOutput) ToGetClusterKubeconfigArrayOutput() GetClusterKubeconfigArrayOutput

func (GetClusterKubeconfigArrayOutput) ToGetClusterKubeconfigArrayOutputWithContext

func (o GetClusterKubeconfigArrayOutput) ToGetClusterKubeconfigArrayOutputWithContext(ctx context.Context) GetClusterKubeconfigArrayOutput

type GetClusterKubeconfigInput

type GetClusterKubeconfigInput interface {
	pulumi.Input

	ToGetClusterKubeconfigOutput() GetClusterKubeconfigOutput
	ToGetClusterKubeconfigOutputWithContext(context.Context) GetClusterKubeconfigOutput
}

GetClusterKubeconfigInput is an input type that accepts GetClusterKubeconfigArgs and GetClusterKubeconfigOutput values. You can construct a concrete instance of `GetClusterKubeconfigInput` via:

GetClusterKubeconfigArgs{...}

type GetClusterKubeconfigOutput

type GetClusterKubeconfigOutput struct{ *pulumi.OutputState }

func (GetClusterKubeconfigOutput) ClusterCaCertificate

func (o GetClusterKubeconfigOutput) ClusterCaCertificate() pulumi.StringOutput

The CA certificate of the Kubernetes API server.

func (GetClusterKubeconfigOutput) ConfigFile

The raw kubeconfig file.

func (GetClusterKubeconfigOutput) ElementType

func (GetClusterKubeconfigOutput) ElementType() reflect.Type

func (GetClusterKubeconfigOutput) Host

The URL of the Kubernetes API server.

func (GetClusterKubeconfigOutput) ToGetClusterKubeconfigOutput

func (o GetClusterKubeconfigOutput) ToGetClusterKubeconfigOutput() GetClusterKubeconfigOutput

func (GetClusterKubeconfigOutput) ToGetClusterKubeconfigOutputWithContext

func (o GetClusterKubeconfigOutput) ToGetClusterKubeconfigOutputWithContext(ctx context.Context) GetClusterKubeconfigOutput

func (GetClusterKubeconfigOutput) Token

The token to connect to the Kubernetes API server.

type GetClusterOpenIdConnectConfig

type GetClusterOpenIdConnectConfig struct {
	// A client id that all tokens must be issued for
	ClientId string `pulumi:"clientId"`
	// JWT claim to use as the user's group
	GroupsClaims []string `pulumi:"groupsClaims"`
	// Prefix prepended to group claims
	GroupsPrefix string `pulumi:"groupsPrefix"`
	// URL of the provider which allows the API server to discover public signing keys
	IssuerUrl string `pulumi:"issuerUrl"`
	// Multiple key=value pairs that describes a required claim in the ID Token
	RequiredClaims []string `pulumi:"requiredClaims"`
	// JWT claim to use as the user name
	UsernameClaim string `pulumi:"usernameClaim"`
	// Prefix prepended to username
	UsernamePrefix string `pulumi:"usernamePrefix"`
}

type GetClusterOpenIdConnectConfigArgs

type GetClusterOpenIdConnectConfigArgs struct {
	// A client id that all tokens must be issued for
	ClientId pulumi.StringInput `pulumi:"clientId"`
	// JWT claim to use as the user's group
	GroupsClaims pulumi.StringArrayInput `pulumi:"groupsClaims"`
	// Prefix prepended to group claims
	GroupsPrefix pulumi.StringInput `pulumi:"groupsPrefix"`
	// URL of the provider which allows the API server to discover public signing keys
	IssuerUrl pulumi.StringInput `pulumi:"issuerUrl"`
	// Multiple key=value pairs that describes a required claim in the ID Token
	RequiredClaims pulumi.StringArrayInput `pulumi:"requiredClaims"`
	// JWT claim to use as the user name
	UsernameClaim pulumi.StringInput `pulumi:"usernameClaim"`
	// Prefix prepended to username
	UsernamePrefix pulumi.StringInput `pulumi:"usernamePrefix"`
}

func (GetClusterOpenIdConnectConfigArgs) ElementType

func (GetClusterOpenIdConnectConfigArgs) ToGetClusterOpenIdConnectConfigOutput

func (i GetClusterOpenIdConnectConfigArgs) ToGetClusterOpenIdConnectConfigOutput() GetClusterOpenIdConnectConfigOutput

func (GetClusterOpenIdConnectConfigArgs) ToGetClusterOpenIdConnectConfigOutputWithContext

func (i GetClusterOpenIdConnectConfigArgs) ToGetClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigOutput

type GetClusterOpenIdConnectConfigArray

type GetClusterOpenIdConnectConfigArray []GetClusterOpenIdConnectConfigInput

func (GetClusterOpenIdConnectConfigArray) ElementType

func (GetClusterOpenIdConnectConfigArray) ToGetClusterOpenIdConnectConfigArrayOutput

func (i GetClusterOpenIdConnectConfigArray) ToGetClusterOpenIdConnectConfigArrayOutput() GetClusterOpenIdConnectConfigArrayOutput

func (GetClusterOpenIdConnectConfigArray) ToGetClusterOpenIdConnectConfigArrayOutputWithContext

func (i GetClusterOpenIdConnectConfigArray) ToGetClusterOpenIdConnectConfigArrayOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigArrayOutput

type GetClusterOpenIdConnectConfigArrayInput

type GetClusterOpenIdConnectConfigArrayInput interface {
	pulumi.Input

	ToGetClusterOpenIdConnectConfigArrayOutput() GetClusterOpenIdConnectConfigArrayOutput
	ToGetClusterOpenIdConnectConfigArrayOutputWithContext(context.Context) GetClusterOpenIdConnectConfigArrayOutput
}

GetClusterOpenIdConnectConfigArrayInput is an input type that accepts GetClusterOpenIdConnectConfigArray and GetClusterOpenIdConnectConfigArrayOutput values. You can construct a concrete instance of `GetClusterOpenIdConnectConfigArrayInput` via:

GetClusterOpenIdConnectConfigArray{ GetClusterOpenIdConnectConfigArgs{...} }

type GetClusterOpenIdConnectConfigArrayOutput

type GetClusterOpenIdConnectConfigArrayOutput struct{ *pulumi.OutputState }

func (GetClusterOpenIdConnectConfigArrayOutput) ElementType

func (GetClusterOpenIdConnectConfigArrayOutput) Index

func (GetClusterOpenIdConnectConfigArrayOutput) ToGetClusterOpenIdConnectConfigArrayOutput

func (o GetClusterOpenIdConnectConfigArrayOutput) ToGetClusterOpenIdConnectConfigArrayOutput() GetClusterOpenIdConnectConfigArrayOutput

func (GetClusterOpenIdConnectConfigArrayOutput) ToGetClusterOpenIdConnectConfigArrayOutputWithContext

func (o GetClusterOpenIdConnectConfigArrayOutput) ToGetClusterOpenIdConnectConfigArrayOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigArrayOutput

type GetClusterOpenIdConnectConfigInput

type GetClusterOpenIdConnectConfigInput interface {
	pulumi.Input

	ToGetClusterOpenIdConnectConfigOutput() GetClusterOpenIdConnectConfigOutput
	ToGetClusterOpenIdConnectConfigOutputWithContext(context.Context) GetClusterOpenIdConnectConfigOutput
}

GetClusterOpenIdConnectConfigInput is an input type that accepts GetClusterOpenIdConnectConfigArgs and GetClusterOpenIdConnectConfigOutput values. You can construct a concrete instance of `GetClusterOpenIdConnectConfigInput` via:

GetClusterOpenIdConnectConfigArgs{...}

type GetClusterOpenIdConnectConfigOutput

type GetClusterOpenIdConnectConfigOutput struct{ *pulumi.OutputState }

func (GetClusterOpenIdConnectConfigOutput) ClientId

A client id that all tokens must be issued for

func (GetClusterOpenIdConnectConfigOutput) ElementType

func (GetClusterOpenIdConnectConfigOutput) GroupsClaims

JWT claim to use as the user's group

func (GetClusterOpenIdConnectConfigOutput) GroupsPrefix

Prefix prepended to group claims

func (GetClusterOpenIdConnectConfigOutput) IssuerUrl

URL of the provider which allows the API server to discover public signing keys

func (GetClusterOpenIdConnectConfigOutput) RequiredClaims

Multiple key=value pairs that describes a required claim in the ID Token

func (GetClusterOpenIdConnectConfigOutput) ToGetClusterOpenIdConnectConfigOutput

func (o GetClusterOpenIdConnectConfigOutput) ToGetClusterOpenIdConnectConfigOutput() GetClusterOpenIdConnectConfigOutput

func (GetClusterOpenIdConnectConfigOutput) ToGetClusterOpenIdConnectConfigOutputWithContext

func (o GetClusterOpenIdConnectConfigOutput) ToGetClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigOutput

func (GetClusterOpenIdConnectConfigOutput) UsernameClaim

JWT claim to use as the user name

func (GetClusterOpenIdConnectConfigOutput) UsernamePrefix

Prefix prepended to username

type GetPoolNode

type GetPoolNode struct {
	// The pool name. Only one of `name` and `poolId` should be specified. `clusterId` should be specified with `name`.
	Name string `pulumi:"name"`
	// The public IPv4.
	PublicIp string `pulumi:"publicIp"`
	// The public IPv6.
	PublicIpV6 string `pulumi:"publicIpV6"`
	// The status of the node.
	Status string `pulumi:"status"`
}

type GetPoolNodeArgs

type GetPoolNodeArgs struct {
	// The pool name. Only one of `name` and `poolId` should be specified. `clusterId` should be specified with `name`.
	Name pulumi.StringInput `pulumi:"name"`
	// The public IPv4.
	PublicIp pulumi.StringInput `pulumi:"publicIp"`
	// The public IPv6.
	PublicIpV6 pulumi.StringInput `pulumi:"publicIpV6"`
	// The status of the node.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetPoolNodeArgs) ElementType

func (GetPoolNodeArgs) ElementType() reflect.Type

func (GetPoolNodeArgs) ToGetPoolNodeOutput

func (i GetPoolNodeArgs) ToGetPoolNodeOutput() GetPoolNodeOutput

func (GetPoolNodeArgs) ToGetPoolNodeOutputWithContext

func (i GetPoolNodeArgs) ToGetPoolNodeOutputWithContext(ctx context.Context) GetPoolNodeOutput

type GetPoolNodeArray

type GetPoolNodeArray []GetPoolNodeInput

func (GetPoolNodeArray) ElementType

func (GetPoolNodeArray) ElementType() reflect.Type

func (GetPoolNodeArray) ToGetPoolNodeArrayOutput

func (i GetPoolNodeArray) ToGetPoolNodeArrayOutput() GetPoolNodeArrayOutput

func (GetPoolNodeArray) ToGetPoolNodeArrayOutputWithContext

func (i GetPoolNodeArray) ToGetPoolNodeArrayOutputWithContext(ctx context.Context) GetPoolNodeArrayOutput

type GetPoolNodeArrayInput

type GetPoolNodeArrayInput interface {
	pulumi.Input

	ToGetPoolNodeArrayOutput() GetPoolNodeArrayOutput
	ToGetPoolNodeArrayOutputWithContext(context.Context) GetPoolNodeArrayOutput
}

GetPoolNodeArrayInput is an input type that accepts GetPoolNodeArray and GetPoolNodeArrayOutput values. You can construct a concrete instance of `GetPoolNodeArrayInput` via:

GetPoolNodeArray{ GetPoolNodeArgs{...} }

type GetPoolNodeArrayOutput

type GetPoolNodeArrayOutput struct{ *pulumi.OutputState }

func (GetPoolNodeArrayOutput) ElementType

func (GetPoolNodeArrayOutput) ElementType() reflect.Type

func (GetPoolNodeArrayOutput) Index

func (GetPoolNodeArrayOutput) ToGetPoolNodeArrayOutput

func (o GetPoolNodeArrayOutput) ToGetPoolNodeArrayOutput() GetPoolNodeArrayOutput

func (GetPoolNodeArrayOutput) ToGetPoolNodeArrayOutputWithContext

func (o GetPoolNodeArrayOutput) ToGetPoolNodeArrayOutputWithContext(ctx context.Context) GetPoolNodeArrayOutput

type GetPoolNodeInput

type GetPoolNodeInput interface {
	pulumi.Input

	ToGetPoolNodeOutput() GetPoolNodeOutput
	ToGetPoolNodeOutputWithContext(context.Context) GetPoolNodeOutput
}

GetPoolNodeInput is an input type that accepts GetPoolNodeArgs and GetPoolNodeOutput values. You can construct a concrete instance of `GetPoolNodeInput` via:

GetPoolNodeArgs{...}

type GetPoolNodeOutput

type GetPoolNodeOutput struct{ *pulumi.OutputState }

func (GetPoolNodeOutput) ElementType

func (GetPoolNodeOutput) ElementType() reflect.Type

func (GetPoolNodeOutput) Name

The pool name. Only one of `name` and `poolId` should be specified. `clusterId` should be specified with `name`.

func (GetPoolNodeOutput) PublicIp

func (o GetPoolNodeOutput) PublicIp() pulumi.StringOutput

The public IPv4.

func (GetPoolNodeOutput) PublicIpV6

func (o GetPoolNodeOutput) PublicIpV6() pulumi.StringOutput

The public IPv6.

func (GetPoolNodeOutput) Status

The status of the node.

func (GetPoolNodeOutput) ToGetPoolNodeOutput

func (o GetPoolNodeOutput) ToGetPoolNodeOutput() GetPoolNodeOutput

func (GetPoolNodeOutput) ToGetPoolNodeOutputWithContext

func (o GetPoolNodeOutput) ToGetPoolNodeOutputWithContext(ctx context.Context) GetPoolNodeOutput

type GetPoolUpgradePolicy

type GetPoolUpgradePolicy struct {
	// The maximum number of nodes to be created during the upgrade
	MaxSurge int `pulumi:"maxSurge"`
	// The maximum number of nodes that can be not ready at the same time
	MaxUnavailable int `pulumi:"maxUnavailable"`
}

type GetPoolUpgradePolicyArgs

type GetPoolUpgradePolicyArgs struct {
	// The maximum number of nodes to be created during the upgrade
	MaxSurge pulumi.IntInput `pulumi:"maxSurge"`
	// The maximum number of nodes that can be not ready at the same time
	MaxUnavailable pulumi.IntInput `pulumi:"maxUnavailable"`
}

func (GetPoolUpgradePolicyArgs) ElementType

func (GetPoolUpgradePolicyArgs) ElementType() reflect.Type

func (GetPoolUpgradePolicyArgs) ToGetPoolUpgradePolicyOutput

func (i GetPoolUpgradePolicyArgs) ToGetPoolUpgradePolicyOutput() GetPoolUpgradePolicyOutput

func (GetPoolUpgradePolicyArgs) ToGetPoolUpgradePolicyOutputWithContext

func (i GetPoolUpgradePolicyArgs) ToGetPoolUpgradePolicyOutputWithContext(ctx context.Context) GetPoolUpgradePolicyOutput

type GetPoolUpgradePolicyArray

type GetPoolUpgradePolicyArray []GetPoolUpgradePolicyInput

func (GetPoolUpgradePolicyArray) ElementType

func (GetPoolUpgradePolicyArray) ElementType() reflect.Type

func (GetPoolUpgradePolicyArray) ToGetPoolUpgradePolicyArrayOutput

func (i GetPoolUpgradePolicyArray) ToGetPoolUpgradePolicyArrayOutput() GetPoolUpgradePolicyArrayOutput

func (GetPoolUpgradePolicyArray) ToGetPoolUpgradePolicyArrayOutputWithContext

func (i GetPoolUpgradePolicyArray) ToGetPoolUpgradePolicyArrayOutputWithContext(ctx context.Context) GetPoolUpgradePolicyArrayOutput

type GetPoolUpgradePolicyArrayInput

type GetPoolUpgradePolicyArrayInput interface {
	pulumi.Input

	ToGetPoolUpgradePolicyArrayOutput() GetPoolUpgradePolicyArrayOutput
	ToGetPoolUpgradePolicyArrayOutputWithContext(context.Context) GetPoolUpgradePolicyArrayOutput
}

GetPoolUpgradePolicyArrayInput is an input type that accepts GetPoolUpgradePolicyArray and GetPoolUpgradePolicyArrayOutput values. You can construct a concrete instance of `GetPoolUpgradePolicyArrayInput` via:

GetPoolUpgradePolicyArray{ GetPoolUpgradePolicyArgs{...} }

type GetPoolUpgradePolicyArrayOutput

type GetPoolUpgradePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetPoolUpgradePolicyArrayOutput) ElementType

func (GetPoolUpgradePolicyArrayOutput) Index

func (GetPoolUpgradePolicyArrayOutput) ToGetPoolUpgradePolicyArrayOutput

func (o GetPoolUpgradePolicyArrayOutput) ToGetPoolUpgradePolicyArrayOutput() GetPoolUpgradePolicyArrayOutput

func (GetPoolUpgradePolicyArrayOutput) ToGetPoolUpgradePolicyArrayOutputWithContext

func (o GetPoolUpgradePolicyArrayOutput) ToGetPoolUpgradePolicyArrayOutputWithContext(ctx context.Context) GetPoolUpgradePolicyArrayOutput

type GetPoolUpgradePolicyInput

type GetPoolUpgradePolicyInput interface {
	pulumi.Input

	ToGetPoolUpgradePolicyOutput() GetPoolUpgradePolicyOutput
	ToGetPoolUpgradePolicyOutputWithContext(context.Context) GetPoolUpgradePolicyOutput
}

GetPoolUpgradePolicyInput is an input type that accepts GetPoolUpgradePolicyArgs and GetPoolUpgradePolicyOutput values. You can construct a concrete instance of `GetPoolUpgradePolicyInput` via:

GetPoolUpgradePolicyArgs{...}

type GetPoolUpgradePolicyOutput

type GetPoolUpgradePolicyOutput struct{ *pulumi.OutputState }

func (GetPoolUpgradePolicyOutput) ElementType

func (GetPoolUpgradePolicyOutput) ElementType() reflect.Type

func (GetPoolUpgradePolicyOutput) MaxSurge

The maximum number of nodes to be created during the upgrade

func (GetPoolUpgradePolicyOutput) MaxUnavailable

func (o GetPoolUpgradePolicyOutput) MaxUnavailable() pulumi.IntOutput

The maximum number of nodes that can be not ready at the same time

func (GetPoolUpgradePolicyOutput) ToGetPoolUpgradePolicyOutput

func (o GetPoolUpgradePolicyOutput) ToGetPoolUpgradePolicyOutput() GetPoolUpgradePolicyOutput

func (GetPoolUpgradePolicyOutput) ToGetPoolUpgradePolicyOutputWithContext

func (o GetPoolUpgradePolicyOutput) ToGetPoolUpgradePolicyOutputWithContext(ctx context.Context) GetPoolUpgradePolicyOutput

type GetVersionArgs

type GetVersionArgs struct {
	// The name of the Kubernetes version.
	Name string `pulumi:"name"`
	// `region`) The region in which the version exists.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getVersion.

type GetVersionOutputArgs

type GetVersionOutputArgs struct {
	// The name of the Kubernetes version.
	Name pulumi.StringInput `pulumi:"name"`
	// `region`) The region in which the version exists.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getVersion.

func (GetVersionOutputArgs) ElementType

func (GetVersionOutputArgs) ElementType() reflect.Type

type GetVersionResult

type GetVersionResult struct {
	// The list of supported Container Network Interface (CNI) plugins for this version.
	AvailableCnis []string `pulumi:"availableCnis"`
	// The list of supported container runtimes for this version.
	AvailableContainerRuntimes []string `pulumi:"availableContainerRuntimes"`
	// The list of supported feature gates for this version.
	AvailableFeatureGates []string `pulumi:"availableFeatureGates"`
	// The provider-assigned unique ID for this managed resource.
	Id     string `pulumi:"id"`
	Name   string `pulumi:"name"`
	Region string `pulumi:"region"`
}

A collection of values returned by getVersion.

func GetVersion

func GetVersion(ctx *pulumi.Context, args *GetVersionArgs, opts ...pulumi.InvokeOption) (*GetVersionResult, error)

Gets information about a Kubernetes version. For more information, see [the documentation](https://developers.scaleway.com/en/products/k8s/api).

You can also use the [scaleway-cli](https://github.com/scaleway/scaleway-cli) with `scw k8s version list` to list all available versions.

## Example Usage

### Use the latest version

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kubernetes.GetVersion(ctx, &kubernetes.GetVersionArgs{
			Name: "latest",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Use a specific version

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kubernetes.GetVersion(ctx, &kubernetes.GetVersionArgs{
			Name: "1.26.0",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetVersionResultOutput

type GetVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVersion.

func (GetVersionResultOutput) AvailableCnis

The list of supported Container Network Interface (CNI) plugins for this version.

func (GetVersionResultOutput) AvailableContainerRuntimes

func (o GetVersionResultOutput) AvailableContainerRuntimes() pulumi.StringArrayOutput

The list of supported container runtimes for this version.

func (GetVersionResultOutput) AvailableFeatureGates

func (o GetVersionResultOutput) AvailableFeatureGates() pulumi.StringArrayOutput

The list of supported feature gates for this version.

func (GetVersionResultOutput) ElementType

func (GetVersionResultOutput) ElementType() reflect.Type

func (GetVersionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetVersionResultOutput) Name

func (GetVersionResultOutput) Region

func (GetVersionResultOutput) ToGetVersionResultOutput

func (o GetVersionResultOutput) ToGetVersionResultOutput() GetVersionResultOutput

func (GetVersionResultOutput) ToGetVersionResultOutputWithContext

func (o GetVersionResultOutput) ToGetVersionResultOutputWithContext(ctx context.Context) GetVersionResultOutput

type LookupClusterArgs

type LookupClusterArgs struct {
	// The cluster ID. Only one of `name` and `clusterId` should be specified.
	ClusterId *string `pulumi:"clusterId"`
	// The cluster name. Only one of `name` and `clusterId` should be specified.
	Name *string `pulumi:"name"`
	// The ID of the project the cluster is associated with.
	ProjectId *string `pulumi:"projectId"`
	// `region`) The region in which the cluster exists.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getCluster.

type LookupClusterOutputArgs

type LookupClusterOutputArgs struct {
	// The cluster ID. Only one of `name` and `clusterId` should be specified.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// The cluster name. Only one of `name` and `clusterId` should be specified.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The ID of the project the cluster is associated with.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// `region`) The region in which the cluster exists.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

A collection of arguments for invoking getCluster.

func (LookupClusterOutputArgs) ElementType

func (LookupClusterOutputArgs) ElementType() reflect.Type

type LookupClusterResult

type LookupClusterResult struct {
	// The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) enabled on the cluster.
	AdmissionPlugins  []string `pulumi:"admissionPlugins"`
	ApiserverCertSans []string `pulumi:"apiserverCertSans"`
	// The URL of the Kubernetes API server.
	ApiserverUrl string `pulumi:"apiserverUrl"`
	// The auto upgrade configuration.
	AutoUpgrades []GetClusterAutoUpgrade `pulumi:"autoUpgrades"`
	// The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
	AutoscalerConfigs []GetClusterAutoscalerConfig `pulumi:"autoscalerConfigs"`
	ClusterId         *string                      `pulumi:"clusterId"`
	// The Container Network Interface (CNI) for the Kubernetes cluster.
	Cni string `pulumi:"cni"`
	// The creation date of the cluster.
	CreatedAt string `pulumi:"createdAt"`
	// A description for the Kubernetes cluster.
	Description string `pulumi:"description"`
	// The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) enabled on the cluster.
	FeatureGates []string `pulumi:"featureGates"`
	// The provider-assigned unique ID for this managed resource.
	Id                   string                          `pulumi:"id"`
	Kubeconfigs          []GetClusterKubeconfig          `pulumi:"kubeconfigs"`
	Name                 *string                         `pulumi:"name"`
	OpenIdConnectConfigs []GetClusterOpenIdConnectConfig `pulumi:"openIdConnectConfigs"`
	// The ID of the organization the cluster is associated with.
	OrganizationId string `pulumi:"organizationId"`
	// The ID of the private network of the cluster.
	PrivateNetworkId string  `pulumi:"privateNetworkId"`
	ProjectId        *string `pulumi:"projectId"`
	// The region in which the cluster is.
	Region *string `pulumi:"region"`
	// The status of the Kubernetes cluster.
	Status string `pulumi:"status"`
	// The tags associated with the Kubernetes cluster.
	Tags []string `pulumi:"tags"`
	// The type of the Kubernetes cluster.
	Type string `pulumi:"type"`
	// The last update date of the cluster.
	UpdatedAt string `pulumi:"updatedAt"`
	// True if a newer Kubernetes version is available.
	UpgradeAvailable bool `pulumi:"upgradeAvailable"`
	// The version of the Kubernetes cluster.
	Version string `pulumi:"version"`
	// The DNS wildcard that points to all ready nodes.
	WildcardDns string `pulumi:"wildcardDns"`
}

A collection of values returned by getCluster.

func LookupCluster

func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)

Gets information about a Kubernetes Cluster.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kubernetes.LookupCluster(ctx, &kubernetes.LookupClusterArgs{
			ClusterId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupClusterResultOutput

type LookupClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCluster.

func (LookupClusterResultOutput) AdmissionPlugins

func (o LookupClusterResultOutput) AdmissionPlugins() pulumi.StringArrayOutput

The list of [admission plugins](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/) enabled on the cluster.

func (LookupClusterResultOutput) ApiserverCertSans

func (o LookupClusterResultOutput) ApiserverCertSans() pulumi.StringArrayOutput

func (LookupClusterResultOutput) ApiserverUrl

The URL of the Kubernetes API server.

func (LookupClusterResultOutput) AutoUpgrades

The auto upgrade configuration.

func (LookupClusterResultOutput) AutoscalerConfigs

The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).

func (LookupClusterResultOutput) ClusterId

func (LookupClusterResultOutput) Cni

The Container Network Interface (CNI) for the Kubernetes cluster.

func (LookupClusterResultOutput) CreatedAt

The creation date of the cluster.

func (LookupClusterResultOutput) Description

A description for the Kubernetes cluster.

func (LookupClusterResultOutput) ElementType

func (LookupClusterResultOutput) ElementType() reflect.Type

func (LookupClusterResultOutput) FeatureGates

The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) enabled on the cluster.

func (LookupClusterResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupClusterResultOutput) Kubeconfigs

func (LookupClusterResultOutput) Name

func (LookupClusterResultOutput) OpenIdConnectConfigs

func (LookupClusterResultOutput) OrganizationId

func (o LookupClusterResultOutput) OrganizationId() pulumi.StringOutput

The ID of the organization the cluster is associated with.

func (LookupClusterResultOutput) PrivateNetworkId

func (o LookupClusterResultOutput) PrivateNetworkId() pulumi.StringOutput

The ID of the private network of the cluster.

func (LookupClusterResultOutput) ProjectId

func (LookupClusterResultOutput) Region

The region in which the cluster is.

func (LookupClusterResultOutput) Status

The status of the Kubernetes cluster.

func (LookupClusterResultOutput) Tags

The tags associated with the Kubernetes cluster.

func (LookupClusterResultOutput) ToLookupClusterResultOutput

func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput

func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext

func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput

func (LookupClusterResultOutput) Type

The type of the Kubernetes cluster.

func (LookupClusterResultOutput) UpdatedAt

The last update date of the cluster.

func (LookupClusterResultOutput) UpgradeAvailable

func (o LookupClusterResultOutput) UpgradeAvailable() pulumi.BoolOutput

True if a newer Kubernetes version is available.

func (LookupClusterResultOutput) Version

The version of the Kubernetes cluster.

func (LookupClusterResultOutput) WildcardDns

The DNS wildcard that points to all ready nodes.

type LookupPoolArgs

type LookupPoolArgs struct {
	// The cluster ID. Required when `name` is set.
	ClusterId *string `pulumi:"clusterId"`
	// The pool name. Only one of `name` and `poolId` should be specified. `clusterId` should be specified with `name`.
	Name *string `pulumi:"name"`
	// The pool's ID. Only one of `name` and `poolId` should be specified.
	PoolId *string `pulumi:"poolId"`
	// `region`) The region in which the pool exists.
	Region *string `pulumi:"region"`
	// The size of the pool.
	Size *int `pulumi:"size"`
}

A collection of arguments for invoking getPool.

type LookupPoolOutputArgs

type LookupPoolOutputArgs struct {
	// The cluster ID. Required when `name` is set.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// The pool name. Only one of `name` and `poolId` should be specified. `clusterId` should be specified with `name`.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The pool's ID. Only one of `name` and `poolId` should be specified.
	PoolId pulumi.StringPtrInput `pulumi:"poolId"`
	// `region`) The region in which the pool exists.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// The size of the pool.
	Size pulumi.IntPtrInput `pulumi:"size"`
}

A collection of arguments for invoking getPool.

func (LookupPoolOutputArgs) ElementType

func (LookupPoolOutputArgs) ElementType() reflect.Type

type LookupPoolResult

type LookupPoolResult struct {
	// True if the autohealing feature is enabled for this pool.
	Autohealing bool `pulumi:"autohealing"`
	// True if the autoscaling feature is enabled for this pool.
	Autoscaling bool    `pulumi:"autoscaling"`
	ClusterId   *string `pulumi:"clusterId"`
	// The container runtime of the pool.
	ContainerRuntime string `pulumi:"containerRuntime"`
	// The creation date of the pool.
	CreatedAt   string `pulumi:"createdAt"`
	CurrentSize int    `pulumi:"currentSize"`
	// The provider-assigned unique ID for this managed resource.
	Id          string            `pulumi:"id"`
	KubeletArgs map[string]string `pulumi:"kubeletArgs"`
	// The maximum size of the pool, used by the autoscaling feature.
	MaxSize int `pulumi:"maxSize"`
	// The minimum size of the pool, used by the autoscaling feature.
	MinSize int `pulumi:"minSize"`
	// The name of the node.
	Name *string `pulumi:"name"`
	// The commercial type of the pool instances.
	NodeType string `pulumi:"nodeType"`
	// (List of) The nodes in the default pool.
	Nodes []GetPoolNode `pulumi:"nodes"`
	// [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool are attached to.
	PlacementGroupId   string  `pulumi:"placementGroupId"`
	PoolId             *string `pulumi:"poolId"`
	PublicIpDisabled   bool    `pulumi:"publicIpDisabled"`
	Region             *string `pulumi:"region"`
	RootVolumeSizeInGb int     `pulumi:"rootVolumeSizeInGb"`
	RootVolumeType     string  `pulumi:"rootVolumeType"`
	// The size of the pool.
	Size *int `pulumi:"size"`
	// The status of the node.
	Status string `pulumi:"status"`
	// The tags associated with the pool.
	Tags []string `pulumi:"tags"`
	// The last update date of the pool.
	UpdatedAt       string                 `pulumi:"updatedAt"`
	UpgradePolicies []GetPoolUpgradePolicy `pulumi:"upgradePolicies"`
	// The version of the pool.
	Version          string `pulumi:"version"`
	WaitForPoolReady bool   `pulumi:"waitForPoolReady"`
	Zone             string `pulumi:"zone"`
}

A collection of values returned by getPool.

func LookupPool

func LookupPool(ctx *pulumi.Context, args *LookupPoolArgs, opts ...pulumi.InvokeOption) (*LookupPoolResult, error)

Gets information about a Kubernetes Cluster's Pool.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/kubernetes"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kubernetes.LookupPool(ctx, &kubernetes.LookupPoolArgs{
			PoolId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupPoolResultOutput

type LookupPoolResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPool.

func (LookupPoolResultOutput) Autohealing

func (o LookupPoolResultOutput) Autohealing() pulumi.BoolOutput

True if the autohealing feature is enabled for this pool.

func (LookupPoolResultOutput) Autoscaling

func (o LookupPoolResultOutput) Autoscaling() pulumi.BoolOutput

True if the autoscaling feature is enabled for this pool.

func (LookupPoolResultOutput) ClusterId

func (LookupPoolResultOutput) ContainerRuntime

func (o LookupPoolResultOutput) ContainerRuntime() pulumi.StringOutput

The container runtime of the pool.

func (LookupPoolResultOutput) CreatedAt

The creation date of the pool.

func (LookupPoolResultOutput) CurrentSize

func (o LookupPoolResultOutput) CurrentSize() pulumi.IntOutput

func (LookupPoolResultOutput) ElementType

func (LookupPoolResultOutput) ElementType() reflect.Type

func (LookupPoolResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPoolResultOutput) KubeletArgs

func (LookupPoolResultOutput) MaxSize

The maximum size of the pool, used by the autoscaling feature.

func (LookupPoolResultOutput) MinSize

The minimum size of the pool, used by the autoscaling feature.

func (LookupPoolResultOutput) Name

The name of the node.

func (LookupPoolResultOutput) NodeType

The commercial type of the pool instances.

func (LookupPoolResultOutput) Nodes

(List of) The nodes in the default pool.

func (LookupPoolResultOutput) PlacementGroupId

func (o LookupPoolResultOutput) PlacementGroupId() pulumi.StringOutput

[placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool are attached to.

func (LookupPoolResultOutput) PoolId

func (LookupPoolResultOutput) PublicIpDisabled

func (o LookupPoolResultOutput) PublicIpDisabled() pulumi.BoolOutput

func (LookupPoolResultOutput) Region

func (LookupPoolResultOutput) RootVolumeSizeInGb

func (o LookupPoolResultOutput) RootVolumeSizeInGb() pulumi.IntOutput

func (LookupPoolResultOutput) RootVolumeType

func (o LookupPoolResultOutput) RootVolumeType() pulumi.StringOutput

func (LookupPoolResultOutput) Size

The size of the pool.

func (LookupPoolResultOutput) Status

The status of the node.

func (LookupPoolResultOutput) Tags

The tags associated with the pool.

func (LookupPoolResultOutput) ToLookupPoolResultOutput

func (o LookupPoolResultOutput) ToLookupPoolResultOutput() LookupPoolResultOutput

func (LookupPoolResultOutput) ToLookupPoolResultOutputWithContext

func (o LookupPoolResultOutput) ToLookupPoolResultOutputWithContext(ctx context.Context) LookupPoolResultOutput

func (LookupPoolResultOutput) UpdatedAt

The last update date of the pool.

func (LookupPoolResultOutput) UpgradePolicies

func (LookupPoolResultOutput) Version

The version of the pool.

func (LookupPoolResultOutput) WaitForPoolReady

func (o LookupPoolResultOutput) WaitForPoolReady() pulumi.BoolOutput

func (LookupPoolResultOutput) Zone

type Pool

type Pool struct {
	pulumi.CustomResourceState

	// Enables the autohealing feature for this pool.
	Autohealing pulumi.BoolPtrOutput `pulumi:"autohealing"`
	// Enables the autoscaling feature for this pool.
	// > **Important:** When enabled, an update of the `size` will not be taken into account.
	Autoscaling pulumi.BoolPtrOutput `pulumi:"autoscaling"`
	// The ID of the Kubernetes cluster on which this pool will be created.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The container runtime of the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	ContainerRuntime pulumi.StringPtrOutput `pulumi:"containerRuntime"`
	// The creation date of the pool.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The actual size of the pool
	CurrentSize pulumi.IntOutput `pulumi:"currentSize"`
	// The Kubelet arguments to be used by this pool
	KubeletArgs pulumi.StringMapOutput `pulumi:"kubeletArgs"`
	// The maximum size of the pool, used by the autoscaling feature.
	MaxSize pulumi.IntOutput `pulumi:"maxSize"`
	// The minimum size of the pool, used by the autoscaling feature.
	MinSize pulumi.IntPtrOutput `pulumi:"minSize"`
	// The name for the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
	//
	// > **Important:** Updates to this field will recreate a new resource.
	NodeType pulumi.StringOutput `pulumi:"nodeType"`
	// (List of) The nodes in the default pool.
	Nodes PoolNodeArrayOutput `pulumi:"nodes"`
	// The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
	// > **Important:** Updates to this field will recreate a new resource.
	PlacementGroupId pulumi.StringPtrOutput `pulumi:"placementGroupId"`
	// Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
	// > **Important:** Updates to this field will recreate a new resource.
	PublicIpDisabled pulumi.BoolPtrOutput `pulumi:"publicIpDisabled"`
	// `region`) The region in which the pool should be created.
	Region pulumi.StringOutput `pulumi:"region"`
	// The size of the system volume of the nodes in gigabyte
	RootVolumeSizeInGb pulumi.IntOutput `pulumi:"rootVolumeSizeInGb"`
	// System volume type of the nodes composing the pool
	RootVolumeType pulumi.StringOutput `pulumi:"rootVolumeType"`
	// The size of the pool.
	// > **Important:** This field will only be used at creation if autoscaling is enabled.
	Size pulumi.IntOutput `pulumi:"size"`
	// The status of the node.
	Status pulumi.StringOutput `pulumi:"status"`
	// The tags associated with the pool.
	// > Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The last update date of the pool.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// The Pool upgrade policy
	UpgradePolicy PoolUpgradePolicyOutput `pulumi:"upgradePolicy"`
	// The version of the pool.
	Version pulumi.StringOutput `pulumi:"version"`
	// Whether to wait for the pool to be ready.
	WaitForPoolReady pulumi.BoolPtrOutput `pulumi:"waitForPoolReady"`
	// `zone`) The zone in which the pool should be created.
	// > **Important:** Updates to this field will recreate a new resource.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

## Import

Kubernetes pools can be imported using the `{region}/{id}`, e.g.

bash

```sh $ pulumi import scaleway:kubernetes/pool:Pool mypool fr-par/11111111-1111-1111-1111-111111111111 ```

func GetPool

func GetPool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PoolState, opts ...pulumi.ResourceOption) (*Pool, error)

GetPool gets an existing Pool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPool

func NewPool(ctx *pulumi.Context,
	name string, args *PoolArgs, opts ...pulumi.ResourceOption) (*Pool, error)

NewPool registers a new resource with the given unique name, arguments, and options.

func (*Pool) ElementType

func (*Pool) ElementType() reflect.Type

func (*Pool) ToPoolOutput

func (i *Pool) ToPoolOutput() PoolOutput

func (*Pool) ToPoolOutputWithContext

func (i *Pool) ToPoolOutputWithContext(ctx context.Context) PoolOutput

type PoolArgs

type PoolArgs struct {
	// Enables the autohealing feature for this pool.
	Autohealing pulumi.BoolPtrInput
	// Enables the autoscaling feature for this pool.
	// > **Important:** When enabled, an update of the `size` will not be taken into account.
	Autoscaling pulumi.BoolPtrInput
	// The ID of the Kubernetes cluster on which this pool will be created.
	ClusterId pulumi.StringInput
	// The container runtime of the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	ContainerRuntime pulumi.StringPtrInput
	// The Kubelet arguments to be used by this pool
	KubeletArgs pulumi.StringMapInput
	// The maximum size of the pool, used by the autoscaling feature.
	MaxSize pulumi.IntPtrInput
	// The minimum size of the pool, used by the autoscaling feature.
	MinSize pulumi.IntPtrInput
	// The name for the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	Name pulumi.StringPtrInput
	// The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
	//
	// > **Important:** Updates to this field will recreate a new resource.
	NodeType pulumi.StringInput
	// The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
	// > **Important:** Updates to this field will recreate a new resource.
	PlacementGroupId pulumi.StringPtrInput
	// Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
	// > **Important:** Updates to this field will recreate a new resource.
	PublicIpDisabled pulumi.BoolPtrInput
	// `region`) The region in which the pool should be created.
	Region pulumi.StringPtrInput
	// The size of the system volume of the nodes in gigabyte
	RootVolumeSizeInGb pulumi.IntPtrInput
	// System volume type of the nodes composing the pool
	RootVolumeType pulumi.StringPtrInput
	// The size of the pool.
	// > **Important:** This field will only be used at creation if autoscaling is enabled.
	Size pulumi.IntInput
	// The tags associated with the pool.
	// > Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
	Tags pulumi.StringArrayInput
	// The Pool upgrade policy
	UpgradePolicy PoolUpgradePolicyPtrInput
	// Whether to wait for the pool to be ready.
	WaitForPoolReady pulumi.BoolPtrInput
	// `zone`) The zone in which the pool should be created.
	// > **Important:** Updates to this field will recreate a new resource.
	Zone pulumi.StringPtrInput
}

The set of arguments for constructing a Pool resource.

func (PoolArgs) ElementType

func (PoolArgs) ElementType() reflect.Type

type PoolArray

type PoolArray []PoolInput

func (PoolArray) ElementType

func (PoolArray) ElementType() reflect.Type

func (PoolArray) ToPoolArrayOutput

func (i PoolArray) ToPoolArrayOutput() PoolArrayOutput

func (PoolArray) ToPoolArrayOutputWithContext

func (i PoolArray) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolArrayInput

type PoolArrayInput interface {
	pulumi.Input

	ToPoolArrayOutput() PoolArrayOutput
	ToPoolArrayOutputWithContext(context.Context) PoolArrayOutput
}

PoolArrayInput is an input type that accepts PoolArray and PoolArrayOutput values. You can construct a concrete instance of `PoolArrayInput` via:

PoolArray{ PoolArgs{...} }

type PoolArrayOutput

type PoolArrayOutput struct{ *pulumi.OutputState }

func (PoolArrayOutput) ElementType

func (PoolArrayOutput) ElementType() reflect.Type

func (PoolArrayOutput) Index

func (PoolArrayOutput) ToPoolArrayOutput

func (o PoolArrayOutput) ToPoolArrayOutput() PoolArrayOutput

func (PoolArrayOutput) ToPoolArrayOutputWithContext

func (o PoolArrayOutput) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput

type PoolInput

type PoolInput interface {
	pulumi.Input

	ToPoolOutput() PoolOutput
	ToPoolOutputWithContext(ctx context.Context) PoolOutput
}

type PoolMap

type PoolMap map[string]PoolInput

func (PoolMap) ElementType

func (PoolMap) ElementType() reflect.Type

func (PoolMap) ToPoolMapOutput

func (i PoolMap) ToPoolMapOutput() PoolMapOutput

func (PoolMap) ToPoolMapOutputWithContext

func (i PoolMap) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolMapInput

type PoolMapInput interface {
	pulumi.Input

	ToPoolMapOutput() PoolMapOutput
	ToPoolMapOutputWithContext(context.Context) PoolMapOutput
}

PoolMapInput is an input type that accepts PoolMap and PoolMapOutput values. You can construct a concrete instance of `PoolMapInput` via:

PoolMap{ "key": PoolArgs{...} }

type PoolMapOutput

type PoolMapOutput struct{ *pulumi.OutputState }

func (PoolMapOutput) ElementType

func (PoolMapOutput) ElementType() reflect.Type

func (PoolMapOutput) MapIndex

func (PoolMapOutput) ToPoolMapOutput

func (o PoolMapOutput) ToPoolMapOutput() PoolMapOutput

func (PoolMapOutput) ToPoolMapOutputWithContext

func (o PoolMapOutput) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput

type PoolNode

type PoolNode struct {
	// The name for the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	Name *string `pulumi:"name"`
	// The public IPv4.
	PublicIp *string `pulumi:"publicIp"`
	// The public IPv6.
	PublicIpV6 *string `pulumi:"publicIpV6"`
	// The status of the node.
	Status *string `pulumi:"status"`
}

type PoolNodeArgs

type PoolNodeArgs struct {
	// The name for the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The public IPv4.
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	// The public IPv6.
	PublicIpV6 pulumi.StringPtrInput `pulumi:"publicIpV6"`
	// The status of the node.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (PoolNodeArgs) ElementType

func (PoolNodeArgs) ElementType() reflect.Type

func (PoolNodeArgs) ToPoolNodeOutput

func (i PoolNodeArgs) ToPoolNodeOutput() PoolNodeOutput

func (PoolNodeArgs) ToPoolNodeOutputWithContext

func (i PoolNodeArgs) ToPoolNodeOutputWithContext(ctx context.Context) PoolNodeOutput

type PoolNodeArray

type PoolNodeArray []PoolNodeInput

func (PoolNodeArray) ElementType

func (PoolNodeArray) ElementType() reflect.Type

func (PoolNodeArray) ToPoolNodeArrayOutput

func (i PoolNodeArray) ToPoolNodeArrayOutput() PoolNodeArrayOutput

func (PoolNodeArray) ToPoolNodeArrayOutputWithContext

func (i PoolNodeArray) ToPoolNodeArrayOutputWithContext(ctx context.Context) PoolNodeArrayOutput

type PoolNodeArrayInput

type PoolNodeArrayInput interface {
	pulumi.Input

	ToPoolNodeArrayOutput() PoolNodeArrayOutput
	ToPoolNodeArrayOutputWithContext(context.Context) PoolNodeArrayOutput
}

PoolNodeArrayInput is an input type that accepts PoolNodeArray and PoolNodeArrayOutput values. You can construct a concrete instance of `PoolNodeArrayInput` via:

PoolNodeArray{ PoolNodeArgs{...} }

type PoolNodeArrayOutput

type PoolNodeArrayOutput struct{ *pulumi.OutputState }

func (PoolNodeArrayOutput) ElementType

func (PoolNodeArrayOutput) ElementType() reflect.Type

func (PoolNodeArrayOutput) Index

func (PoolNodeArrayOutput) ToPoolNodeArrayOutput

func (o PoolNodeArrayOutput) ToPoolNodeArrayOutput() PoolNodeArrayOutput

func (PoolNodeArrayOutput) ToPoolNodeArrayOutputWithContext

func (o PoolNodeArrayOutput) ToPoolNodeArrayOutputWithContext(ctx context.Context) PoolNodeArrayOutput

type PoolNodeInput

type PoolNodeInput interface {
	pulumi.Input

	ToPoolNodeOutput() PoolNodeOutput
	ToPoolNodeOutputWithContext(context.Context) PoolNodeOutput
}

PoolNodeInput is an input type that accepts PoolNodeArgs and PoolNodeOutput values. You can construct a concrete instance of `PoolNodeInput` via:

PoolNodeArgs{...}

type PoolNodeOutput

type PoolNodeOutput struct{ *pulumi.OutputState }

func (PoolNodeOutput) ElementType

func (PoolNodeOutput) ElementType() reflect.Type

func (PoolNodeOutput) Name

The name for the pool. > **Important:** Updates to this field will recreate a new resource.

func (PoolNodeOutput) PublicIp

func (o PoolNodeOutput) PublicIp() pulumi.StringPtrOutput

The public IPv4.

func (PoolNodeOutput) PublicIpV6

func (o PoolNodeOutput) PublicIpV6() pulumi.StringPtrOutput

The public IPv6.

func (PoolNodeOutput) Status

The status of the node.

func (PoolNodeOutput) ToPoolNodeOutput

func (o PoolNodeOutput) ToPoolNodeOutput() PoolNodeOutput

func (PoolNodeOutput) ToPoolNodeOutputWithContext

func (o PoolNodeOutput) ToPoolNodeOutputWithContext(ctx context.Context) PoolNodeOutput

type PoolOutput

type PoolOutput struct{ *pulumi.OutputState }

func (PoolOutput) Autohealing

func (o PoolOutput) Autohealing() pulumi.BoolPtrOutput

Enables the autohealing feature for this pool.

func (PoolOutput) Autoscaling

func (o PoolOutput) Autoscaling() pulumi.BoolPtrOutput

Enables the autoscaling feature for this pool. > **Important:** When enabled, an update of the `size` will not be taken into account.

func (PoolOutput) ClusterId

func (o PoolOutput) ClusterId() pulumi.StringOutput

The ID of the Kubernetes cluster on which this pool will be created.

func (PoolOutput) ContainerRuntime

func (o PoolOutput) ContainerRuntime() pulumi.StringPtrOutput

The container runtime of the pool. > **Important:** Updates to this field will recreate a new resource.

func (PoolOutput) CreatedAt

func (o PoolOutput) CreatedAt() pulumi.StringOutput

The creation date of the pool.

func (PoolOutput) CurrentSize

func (o PoolOutput) CurrentSize() pulumi.IntOutput

The actual size of the pool

func (PoolOutput) ElementType

func (PoolOutput) ElementType() reflect.Type

func (PoolOutput) KubeletArgs

func (o PoolOutput) KubeletArgs() pulumi.StringMapOutput

The Kubelet arguments to be used by this pool

func (PoolOutput) MaxSize

func (o PoolOutput) MaxSize() pulumi.IntOutput

The maximum size of the pool, used by the autoscaling feature.

func (PoolOutput) MinSize

func (o PoolOutput) MinSize() pulumi.IntPtrOutput

The minimum size of the pool, used by the autoscaling feature.

func (PoolOutput) Name

func (o PoolOutput) Name() pulumi.StringOutput

The name for the pool. > **Important:** Updates to this field will recreate a new resource.

func (PoolOutput) NodeType

func (o PoolOutput) NodeType() pulumi.StringOutput

The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.

> **Important:** Updates to this field will recreate a new resource.

func (PoolOutput) Nodes

func (o PoolOutput) Nodes() PoolNodeArrayOutput

(List of) The nodes in the default pool.

func (PoolOutput) PlacementGroupId

func (o PoolOutput) PlacementGroupId() pulumi.StringPtrOutput

The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to. > **Important:** Updates to this field will recreate a new resource.

func (PoolOutput) PublicIpDisabled

func (o PoolOutput) PublicIpDisabled() pulumi.BoolPtrOutput

Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway. > **Important:** Updates to this field will recreate a new resource.

func (PoolOutput) Region

func (o PoolOutput) Region() pulumi.StringOutput

`region`) The region in which the pool should be created.

func (PoolOutput) RootVolumeSizeInGb

func (o PoolOutput) RootVolumeSizeInGb() pulumi.IntOutput

The size of the system volume of the nodes in gigabyte

func (PoolOutput) RootVolumeType

func (o PoolOutput) RootVolumeType() pulumi.StringOutput

System volume type of the nodes composing the pool

func (PoolOutput) Size

func (o PoolOutput) Size() pulumi.IntOutput

The size of the pool. > **Important:** This field will only be used at creation if autoscaling is enabled.

func (PoolOutput) Status

func (o PoolOutput) Status() pulumi.StringOutput

The status of the node.

func (PoolOutput) Tags

The tags associated with the pool. > Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")

func (PoolOutput) ToPoolOutput

func (o PoolOutput) ToPoolOutput() PoolOutput

func (PoolOutput) ToPoolOutputWithContext

func (o PoolOutput) ToPoolOutputWithContext(ctx context.Context) PoolOutput

func (PoolOutput) UpdatedAt

func (o PoolOutput) UpdatedAt() pulumi.StringOutput

The last update date of the pool.

func (PoolOutput) UpgradePolicy

func (o PoolOutput) UpgradePolicy() PoolUpgradePolicyOutput

The Pool upgrade policy

func (PoolOutput) Version

func (o PoolOutput) Version() pulumi.StringOutput

The version of the pool.

func (PoolOutput) WaitForPoolReady

func (o PoolOutput) WaitForPoolReady() pulumi.BoolPtrOutput

Whether to wait for the pool to be ready.

func (PoolOutput) Zone

func (o PoolOutput) Zone() pulumi.StringOutput

`zone`) The zone in which the pool should be created. > **Important:** Updates to this field will recreate a new resource.

type PoolState

type PoolState struct {
	// Enables the autohealing feature for this pool.
	Autohealing pulumi.BoolPtrInput
	// Enables the autoscaling feature for this pool.
	// > **Important:** When enabled, an update of the `size` will not be taken into account.
	Autoscaling pulumi.BoolPtrInput
	// The ID of the Kubernetes cluster on which this pool will be created.
	ClusterId pulumi.StringPtrInput
	// The container runtime of the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	ContainerRuntime pulumi.StringPtrInput
	// The creation date of the pool.
	CreatedAt pulumi.StringPtrInput
	// The actual size of the pool
	CurrentSize pulumi.IntPtrInput
	// The Kubelet arguments to be used by this pool
	KubeletArgs pulumi.StringMapInput
	// The maximum size of the pool, used by the autoscaling feature.
	MaxSize pulumi.IntPtrInput
	// The minimum size of the pool, used by the autoscaling feature.
	MinSize pulumi.IntPtrInput
	// The name for the pool.
	// > **Important:** Updates to this field will recreate a new resource.
	Name pulumi.StringPtrInput
	// The commercial type of the pool instances. Instances with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). `external` is a special node type used to provision from other Cloud providers.
	//
	// > **Important:** Updates to this field will recreate a new resource.
	NodeType pulumi.StringPtrInput
	// (List of) The nodes in the default pool.
	Nodes PoolNodeArrayInput
	// The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the nodes of the pool will be attached to.
	// > **Important:** Updates to this field will recreate a new resource.
	PlacementGroupId pulumi.StringPtrInput
	// Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway.
	// > **Important:** Updates to this field will recreate a new resource.
	PublicIpDisabled pulumi.BoolPtrInput
	// `region`) The region in which the pool should be created.
	Region pulumi.StringPtrInput
	// The size of the system volume of the nodes in gigabyte
	RootVolumeSizeInGb pulumi.IntPtrInput
	// System volume type of the nodes composing the pool
	RootVolumeType pulumi.StringPtrInput
	// The size of the pool.
	// > **Important:** This field will only be used at creation if autoscaling is enabled.
	Size pulumi.IntPtrInput
	// The status of the node.
	Status pulumi.StringPtrInput
	// The tags associated with the pool.
	// > Note: As mentionned in [this document](https://github.com/scaleway/scaleway-cloud-controller-manager/blob/master/docs/tags.md#taints), taints of a pool's nodes are applied using tags. (Example: "taint=taintName=taineValue:Effect")
	Tags pulumi.StringArrayInput
	// The last update date of the pool.
	UpdatedAt pulumi.StringPtrInput
	// The Pool upgrade policy
	UpgradePolicy PoolUpgradePolicyPtrInput
	// The version of the pool.
	Version pulumi.StringPtrInput
	// Whether to wait for the pool to be ready.
	WaitForPoolReady pulumi.BoolPtrInput
	// `zone`) The zone in which the pool should be created.
	// > **Important:** Updates to this field will recreate a new resource.
	Zone pulumi.StringPtrInput
}

func (PoolState) ElementType

func (PoolState) ElementType() reflect.Type

type PoolUpgradePolicy

type PoolUpgradePolicy struct {
	// The maximum number of nodes to be created during the upgrade
	MaxSurge *int `pulumi:"maxSurge"`
	// The maximum number of nodes that can be not ready at the same time
	MaxUnavailable *int `pulumi:"maxUnavailable"`
}

type PoolUpgradePolicyArgs

type PoolUpgradePolicyArgs struct {
	// The maximum number of nodes to be created during the upgrade
	MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"`
	// The maximum number of nodes that can be not ready at the same time
	MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"`
}

func (PoolUpgradePolicyArgs) ElementType

func (PoolUpgradePolicyArgs) ElementType() reflect.Type

func (PoolUpgradePolicyArgs) ToPoolUpgradePolicyOutput

func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyOutput() PoolUpgradePolicyOutput

func (PoolUpgradePolicyArgs) ToPoolUpgradePolicyOutputWithContext

func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyOutputWithContext(ctx context.Context) PoolUpgradePolicyOutput

func (PoolUpgradePolicyArgs) ToPoolUpgradePolicyPtrOutput

func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyPtrOutput() PoolUpgradePolicyPtrOutput

func (PoolUpgradePolicyArgs) ToPoolUpgradePolicyPtrOutputWithContext

func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyPtrOutputWithContext(ctx context.Context) PoolUpgradePolicyPtrOutput

type PoolUpgradePolicyInput

type PoolUpgradePolicyInput interface {
	pulumi.Input

	ToPoolUpgradePolicyOutput() PoolUpgradePolicyOutput
	ToPoolUpgradePolicyOutputWithContext(context.Context) PoolUpgradePolicyOutput
}

PoolUpgradePolicyInput is an input type that accepts PoolUpgradePolicyArgs and PoolUpgradePolicyOutput values. You can construct a concrete instance of `PoolUpgradePolicyInput` via:

PoolUpgradePolicyArgs{...}

type PoolUpgradePolicyOutput

type PoolUpgradePolicyOutput struct{ *pulumi.OutputState }

func (PoolUpgradePolicyOutput) ElementType

func (PoolUpgradePolicyOutput) ElementType() reflect.Type

func (PoolUpgradePolicyOutput) MaxSurge

The maximum number of nodes to be created during the upgrade

func (PoolUpgradePolicyOutput) MaxUnavailable

func (o PoolUpgradePolicyOutput) MaxUnavailable() pulumi.IntPtrOutput

The maximum number of nodes that can be not ready at the same time

func (PoolUpgradePolicyOutput) ToPoolUpgradePolicyOutput

func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyOutput() PoolUpgradePolicyOutput

func (PoolUpgradePolicyOutput) ToPoolUpgradePolicyOutputWithContext

func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyOutputWithContext(ctx context.Context) PoolUpgradePolicyOutput

func (PoolUpgradePolicyOutput) ToPoolUpgradePolicyPtrOutput

func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyPtrOutput() PoolUpgradePolicyPtrOutput

func (PoolUpgradePolicyOutput) ToPoolUpgradePolicyPtrOutputWithContext

func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyPtrOutputWithContext(ctx context.Context) PoolUpgradePolicyPtrOutput

type PoolUpgradePolicyPtrInput

type PoolUpgradePolicyPtrInput interface {
	pulumi.Input

	ToPoolUpgradePolicyPtrOutput() PoolUpgradePolicyPtrOutput
	ToPoolUpgradePolicyPtrOutputWithContext(context.Context) PoolUpgradePolicyPtrOutput
}

PoolUpgradePolicyPtrInput is an input type that accepts PoolUpgradePolicyArgs, PoolUpgradePolicyPtr and PoolUpgradePolicyPtrOutput values. You can construct a concrete instance of `PoolUpgradePolicyPtrInput` via:

        PoolUpgradePolicyArgs{...}

or:

        nil

type PoolUpgradePolicyPtrOutput

type PoolUpgradePolicyPtrOutput struct{ *pulumi.OutputState }

func (PoolUpgradePolicyPtrOutput) Elem

func (PoolUpgradePolicyPtrOutput) ElementType

func (PoolUpgradePolicyPtrOutput) ElementType() reflect.Type

func (PoolUpgradePolicyPtrOutput) MaxSurge

The maximum number of nodes to be created during the upgrade

func (PoolUpgradePolicyPtrOutput) MaxUnavailable

func (o PoolUpgradePolicyPtrOutput) MaxUnavailable() pulumi.IntPtrOutput

The maximum number of nodes that can be not ready at the same time

func (PoolUpgradePolicyPtrOutput) ToPoolUpgradePolicyPtrOutput

func (o PoolUpgradePolicyPtrOutput) ToPoolUpgradePolicyPtrOutput() PoolUpgradePolicyPtrOutput

func (PoolUpgradePolicyPtrOutput) ToPoolUpgradePolicyPtrOutputWithContext

func (o PoolUpgradePolicyPtrOutput) ToPoolUpgradePolicyPtrOutputWithContext(ctx context.Context) PoolUpgradePolicyPtrOutput

Jump to

Keyboard shortcuts

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