Documentation ¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterAutoUpgrade
- type ClusterAutoUpgradeArgs
- func (ClusterAutoUpgradeArgs) ElementType() reflect.Type
- func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradeOutput() ClusterAutoUpgradeOutput
- func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradeOutputWithContext(ctx context.Context) ClusterAutoUpgradeOutput
- func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradePtrOutput() ClusterAutoUpgradePtrOutput
- func (i ClusterAutoUpgradeArgs) ToClusterAutoUpgradePtrOutputWithContext(ctx context.Context) ClusterAutoUpgradePtrOutput
- type ClusterAutoUpgradeInput
- type ClusterAutoUpgradeOutput
- func (ClusterAutoUpgradeOutput) ElementType() reflect.Type
- func (o ClusterAutoUpgradeOutput) Enable() pulumi.BoolOutput
- func (o ClusterAutoUpgradeOutput) MaintenanceWindowDay() pulumi.StringOutput
- func (o ClusterAutoUpgradeOutput) MaintenanceWindowStartHour() pulumi.IntOutput
- func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradeOutput() ClusterAutoUpgradeOutput
- func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradeOutputWithContext(ctx context.Context) ClusterAutoUpgradeOutput
- func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradePtrOutput() ClusterAutoUpgradePtrOutput
- func (o ClusterAutoUpgradeOutput) ToClusterAutoUpgradePtrOutputWithContext(ctx context.Context) ClusterAutoUpgradePtrOutput
- type ClusterAutoUpgradePtrInput
- type ClusterAutoUpgradePtrOutput
- func (o ClusterAutoUpgradePtrOutput) Elem() ClusterAutoUpgradeOutput
- func (ClusterAutoUpgradePtrOutput) ElementType() reflect.Type
- func (o ClusterAutoUpgradePtrOutput) Enable() pulumi.BoolPtrOutput
- func (o ClusterAutoUpgradePtrOutput) MaintenanceWindowDay() pulumi.StringPtrOutput
- func (o ClusterAutoUpgradePtrOutput) MaintenanceWindowStartHour() pulumi.IntPtrOutput
- func (o ClusterAutoUpgradePtrOutput) ToClusterAutoUpgradePtrOutput() ClusterAutoUpgradePtrOutput
- func (o ClusterAutoUpgradePtrOutput) ToClusterAutoUpgradePtrOutputWithContext(ctx context.Context) ClusterAutoUpgradePtrOutput
- type ClusterAutoscalerConfig
- type ClusterAutoscalerConfigArgs
- func (ClusterAutoscalerConfigArgs) ElementType() reflect.Type
- func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigOutput() ClusterAutoscalerConfigOutput
- func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigOutputWithContext(ctx context.Context) ClusterAutoscalerConfigOutput
- func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigPtrOutput() ClusterAutoscalerConfigPtrOutput
- func (i ClusterAutoscalerConfigArgs) ToClusterAutoscalerConfigPtrOutputWithContext(ctx context.Context) ClusterAutoscalerConfigPtrOutput
- type ClusterAutoscalerConfigInput
- type ClusterAutoscalerConfigOutput
- func (o ClusterAutoscalerConfigOutput) BalanceSimilarNodeGroups() pulumi.BoolPtrOutput
- func (o ClusterAutoscalerConfigOutput) DisableScaleDown() pulumi.BoolPtrOutput
- func (ClusterAutoscalerConfigOutput) ElementType() reflect.Type
- func (o ClusterAutoscalerConfigOutput) Estimator() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigOutput) Expander() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigOutput) ExpendablePodsPriorityCutoff() pulumi.IntPtrOutput
- func (o ClusterAutoscalerConfigOutput) IgnoreDaemonsetsUtilization() pulumi.BoolPtrOutput
- func (o ClusterAutoscalerConfigOutput) MaxGracefulTerminationSec() pulumi.IntPtrOutput
- func (o ClusterAutoscalerConfigOutput) ScaleDownDelayAfterAdd() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigOutput) ScaleDownUnneededTime() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigOutput) ScaleDownUtilizationThreshold() pulumi.Float64PtrOutput
- func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigOutput() ClusterAutoscalerConfigOutput
- func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigOutputWithContext(ctx context.Context) ClusterAutoscalerConfigOutput
- func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigPtrOutput() ClusterAutoscalerConfigPtrOutput
- func (o ClusterAutoscalerConfigOutput) ToClusterAutoscalerConfigPtrOutputWithContext(ctx context.Context) ClusterAutoscalerConfigPtrOutput
- type ClusterAutoscalerConfigPtrInput
- type ClusterAutoscalerConfigPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) BalanceSimilarNodeGroups() pulumi.BoolPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) DisableScaleDown() pulumi.BoolPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) Elem() ClusterAutoscalerConfigOutput
- func (ClusterAutoscalerConfigPtrOutput) ElementType() reflect.Type
- func (o ClusterAutoscalerConfigPtrOutput) Estimator() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) Expander() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) ExpendablePodsPriorityCutoff() pulumi.IntPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) IgnoreDaemonsetsUtilization() pulumi.BoolPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) MaxGracefulTerminationSec() pulumi.IntPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) ScaleDownDelayAfterAdd() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) ScaleDownUnneededTime() pulumi.StringPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) ScaleDownUtilizationThreshold() pulumi.Float64PtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) ToClusterAutoscalerConfigPtrOutput() ClusterAutoscalerConfigPtrOutput
- func (o ClusterAutoscalerConfigPtrOutput) ToClusterAutoscalerConfigPtrOutputWithContext(ctx context.Context) ClusterAutoscalerConfigPtrOutput
- type ClusterInput
- type ClusterKubeconfig
- type ClusterKubeconfigArgs
- type ClusterKubeconfigArray
- type ClusterKubeconfigArrayInput
- type ClusterKubeconfigArrayOutput
- func (ClusterKubeconfigArrayOutput) ElementType() reflect.Type
- func (o ClusterKubeconfigArrayOutput) Index(i pulumi.IntInput) ClusterKubeconfigOutput
- func (o ClusterKubeconfigArrayOutput) ToClusterKubeconfigArrayOutput() ClusterKubeconfigArrayOutput
- func (o ClusterKubeconfigArrayOutput) ToClusterKubeconfigArrayOutputWithContext(ctx context.Context) ClusterKubeconfigArrayOutput
- type ClusterKubeconfigInput
- type ClusterKubeconfigOutput
- func (o ClusterKubeconfigOutput) ClusterCaCertificate() pulumi.StringPtrOutput
- func (o ClusterKubeconfigOutput) ConfigFile() pulumi.StringPtrOutput
- func (ClusterKubeconfigOutput) ElementType() reflect.Type
- func (o ClusterKubeconfigOutput) Host() pulumi.StringPtrOutput
- func (o ClusterKubeconfigOutput) ToClusterKubeconfigOutput() ClusterKubeconfigOutput
- func (o ClusterKubeconfigOutput) ToClusterKubeconfigOutputWithContext(ctx context.Context) ClusterKubeconfigOutput
- func (o ClusterKubeconfigOutput) Token() pulumi.StringPtrOutput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOpenIdConnectConfig
- type ClusterOpenIdConnectConfigArgs
- func (ClusterOpenIdConnectConfigArgs) ElementType() reflect.Type
- func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigOutput() ClusterOpenIdConnectConfigOutput
- func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigOutput
- func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigPtrOutput() ClusterOpenIdConnectConfigPtrOutput
- func (i ClusterOpenIdConnectConfigArgs) ToClusterOpenIdConnectConfigPtrOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigPtrOutput
- type ClusterOpenIdConnectConfigInput
- type ClusterOpenIdConnectConfigOutput
- func (o ClusterOpenIdConnectConfigOutput) ClientId() pulumi.StringOutput
- func (ClusterOpenIdConnectConfigOutput) ElementType() reflect.Type
- func (o ClusterOpenIdConnectConfigOutput) GroupsClaims() pulumi.StringArrayOutput
- func (o ClusterOpenIdConnectConfigOutput) GroupsPrefix() pulumi.StringPtrOutput
- func (o ClusterOpenIdConnectConfigOutput) IssuerUrl() pulumi.StringOutput
- func (o ClusterOpenIdConnectConfigOutput) RequiredClaims() pulumi.StringArrayOutput
- func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigOutput() ClusterOpenIdConnectConfigOutput
- func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigOutput
- func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigPtrOutput() ClusterOpenIdConnectConfigPtrOutput
- func (o ClusterOpenIdConnectConfigOutput) ToClusterOpenIdConnectConfigPtrOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigPtrOutput
- func (o ClusterOpenIdConnectConfigOutput) UsernameClaim() pulumi.StringPtrOutput
- func (o ClusterOpenIdConnectConfigOutput) UsernamePrefix() pulumi.StringPtrOutput
- type ClusterOpenIdConnectConfigPtrInput
- type ClusterOpenIdConnectConfigPtrOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) ClientId() pulumi.StringPtrOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) Elem() ClusterOpenIdConnectConfigOutput
- func (ClusterOpenIdConnectConfigPtrOutput) ElementType() reflect.Type
- func (o ClusterOpenIdConnectConfigPtrOutput) GroupsClaims() pulumi.StringArrayOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) GroupsPrefix() pulumi.StringPtrOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) IssuerUrl() pulumi.StringPtrOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) RequiredClaims() pulumi.StringArrayOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) ToClusterOpenIdConnectConfigPtrOutput() ClusterOpenIdConnectConfigPtrOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) ToClusterOpenIdConnectConfigPtrOutputWithContext(ctx context.Context) ClusterOpenIdConnectConfigPtrOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) UsernameClaim() pulumi.StringPtrOutput
- func (o ClusterOpenIdConnectConfigPtrOutput) UsernamePrefix() pulumi.StringPtrOutput
- type ClusterOutput
- func (o ClusterOutput) AdmissionPlugins() pulumi.StringArrayOutput
- func (o ClusterOutput) ApiserverCertSans() pulumi.StringArrayOutput
- func (o ClusterOutput) ApiserverUrl() pulumi.StringOutput
- func (o ClusterOutput) AutoUpgrade() ClusterAutoUpgradeOutput
- func (o ClusterOutput) AutoscalerConfig() ClusterAutoscalerConfigOutput
- func (o ClusterOutput) Cni() pulumi.StringOutput
- func (o ClusterOutput) CreatedAt() pulumi.StringOutput
- func (o ClusterOutput) DeleteAdditionalResources() pulumi.BoolOutput
- func (o ClusterOutput) Description() pulumi.StringPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) FeatureGates() pulumi.StringArrayOutput
- func (o ClusterOutput) Kubeconfigs() ClusterKubeconfigArrayOutput
- func (o ClusterOutput) Name() pulumi.StringOutput
- func (o ClusterOutput) OpenIdConnectConfig() ClusterOpenIdConnectConfigOutput
- func (o ClusterOutput) OrganizationId() pulumi.StringOutput
- func (o ClusterOutput) PrivateNetworkId() pulumi.StringPtrOutput
- func (o ClusterOutput) ProjectId() pulumi.StringOutput
- func (o ClusterOutput) Region() pulumi.StringOutput
- func (o ClusterOutput) Status() pulumi.StringOutput
- func (o ClusterOutput) Tags() pulumi.StringArrayOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) Type() pulumi.StringOutput
- func (o ClusterOutput) UpdatedAt() pulumi.StringOutput
- func (o ClusterOutput) UpgradeAvailable() pulumi.BoolOutput
- func (o ClusterOutput) Version() pulumi.StringOutput
- func (o ClusterOutput) WildcardDns() pulumi.StringOutput
- type ClusterState
- type GetClusterAutoUpgrade
- type GetClusterAutoUpgradeArgs
- type GetClusterAutoUpgradeArray
- func (GetClusterAutoUpgradeArray) ElementType() reflect.Type
- func (i GetClusterAutoUpgradeArray) ToGetClusterAutoUpgradeArrayOutput() GetClusterAutoUpgradeArrayOutput
- func (i GetClusterAutoUpgradeArray) ToGetClusterAutoUpgradeArrayOutputWithContext(ctx context.Context) GetClusterAutoUpgradeArrayOutput
- type GetClusterAutoUpgradeArrayInput
- type GetClusterAutoUpgradeArrayOutput
- func (GetClusterAutoUpgradeArrayOutput) ElementType() reflect.Type
- func (o GetClusterAutoUpgradeArrayOutput) Index(i pulumi.IntInput) GetClusterAutoUpgradeOutput
- func (o GetClusterAutoUpgradeArrayOutput) ToGetClusterAutoUpgradeArrayOutput() GetClusterAutoUpgradeArrayOutput
- func (o GetClusterAutoUpgradeArrayOutput) ToGetClusterAutoUpgradeArrayOutputWithContext(ctx context.Context) GetClusterAutoUpgradeArrayOutput
- type GetClusterAutoUpgradeInput
- type GetClusterAutoUpgradeOutput
- func (GetClusterAutoUpgradeOutput) ElementType() reflect.Type
- func (o GetClusterAutoUpgradeOutput) Enable() pulumi.BoolOutput
- func (o GetClusterAutoUpgradeOutput) MaintenanceWindowDay() pulumi.StringOutput
- func (o GetClusterAutoUpgradeOutput) MaintenanceWindowStartHour() pulumi.IntOutput
- func (o GetClusterAutoUpgradeOutput) ToGetClusterAutoUpgradeOutput() GetClusterAutoUpgradeOutput
- func (o GetClusterAutoUpgradeOutput) ToGetClusterAutoUpgradeOutputWithContext(ctx context.Context) GetClusterAutoUpgradeOutput
- type GetClusterAutoscalerConfig
- type GetClusterAutoscalerConfigArgs
- func (GetClusterAutoscalerConfigArgs) ElementType() reflect.Type
- func (i GetClusterAutoscalerConfigArgs) ToGetClusterAutoscalerConfigOutput() GetClusterAutoscalerConfigOutput
- func (i GetClusterAutoscalerConfigArgs) ToGetClusterAutoscalerConfigOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigOutput
- type GetClusterAutoscalerConfigArray
- func (GetClusterAutoscalerConfigArray) ElementType() reflect.Type
- func (i GetClusterAutoscalerConfigArray) ToGetClusterAutoscalerConfigArrayOutput() GetClusterAutoscalerConfigArrayOutput
- func (i GetClusterAutoscalerConfigArray) ToGetClusterAutoscalerConfigArrayOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigArrayOutput
- type GetClusterAutoscalerConfigArrayInput
- type GetClusterAutoscalerConfigArrayOutput
- func (GetClusterAutoscalerConfigArrayOutput) ElementType() reflect.Type
- func (o GetClusterAutoscalerConfigArrayOutput) Index(i pulumi.IntInput) GetClusterAutoscalerConfigOutput
- func (o GetClusterAutoscalerConfigArrayOutput) ToGetClusterAutoscalerConfigArrayOutput() GetClusterAutoscalerConfigArrayOutput
- func (o GetClusterAutoscalerConfigArrayOutput) ToGetClusterAutoscalerConfigArrayOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigArrayOutput
- type GetClusterAutoscalerConfigInput
- type GetClusterAutoscalerConfigOutput
- func (o GetClusterAutoscalerConfigOutput) BalanceSimilarNodeGroups() pulumi.BoolOutput
- func (o GetClusterAutoscalerConfigOutput) DisableScaleDown() pulumi.BoolOutput
- func (GetClusterAutoscalerConfigOutput) ElementType() reflect.Type
- func (o GetClusterAutoscalerConfigOutput) Estimator() pulumi.StringOutput
- func (o GetClusterAutoscalerConfigOutput) Expander() pulumi.StringOutput
- func (o GetClusterAutoscalerConfigOutput) ExpendablePodsPriorityCutoff() pulumi.IntOutput
- func (o GetClusterAutoscalerConfigOutput) IgnoreDaemonsetsUtilization() pulumi.BoolOutput
- func (o GetClusterAutoscalerConfigOutput) MaxGracefulTerminationSec() pulumi.IntOutput
- func (o GetClusterAutoscalerConfigOutput) ScaleDownDelayAfterAdd() pulumi.StringOutput
- func (o GetClusterAutoscalerConfigOutput) ScaleDownUnneededTime() pulumi.StringOutput
- func (o GetClusterAutoscalerConfigOutput) ScaleDownUtilizationThreshold() pulumi.Float64Output
- func (o GetClusterAutoscalerConfigOutput) ToGetClusterAutoscalerConfigOutput() GetClusterAutoscalerConfigOutput
- func (o GetClusterAutoscalerConfigOutput) ToGetClusterAutoscalerConfigOutputWithContext(ctx context.Context) GetClusterAutoscalerConfigOutput
- type GetClusterKubeconfig
- type GetClusterKubeconfigArgs
- type GetClusterKubeconfigArray
- type GetClusterKubeconfigArrayInput
- type GetClusterKubeconfigArrayOutput
- func (GetClusterKubeconfigArrayOutput) ElementType() reflect.Type
- func (o GetClusterKubeconfigArrayOutput) Index(i pulumi.IntInput) GetClusterKubeconfigOutput
- func (o GetClusterKubeconfigArrayOutput) ToGetClusterKubeconfigArrayOutput() GetClusterKubeconfigArrayOutput
- func (o GetClusterKubeconfigArrayOutput) ToGetClusterKubeconfigArrayOutputWithContext(ctx context.Context) GetClusterKubeconfigArrayOutput
- type GetClusterKubeconfigInput
- type GetClusterKubeconfigOutput
- func (o GetClusterKubeconfigOutput) ClusterCaCertificate() pulumi.StringOutput
- func (o GetClusterKubeconfigOutput) ConfigFile() pulumi.StringOutput
- func (GetClusterKubeconfigOutput) ElementType() reflect.Type
- func (o GetClusterKubeconfigOutput) Host() pulumi.StringOutput
- func (o GetClusterKubeconfigOutput) ToGetClusterKubeconfigOutput() GetClusterKubeconfigOutput
- func (o GetClusterKubeconfigOutput) ToGetClusterKubeconfigOutputWithContext(ctx context.Context) GetClusterKubeconfigOutput
- func (o GetClusterKubeconfigOutput) Token() pulumi.StringOutput
- type GetClusterOpenIdConnectConfig
- type GetClusterOpenIdConnectConfigArgs
- func (GetClusterOpenIdConnectConfigArgs) ElementType() reflect.Type
- func (i GetClusterOpenIdConnectConfigArgs) ToGetClusterOpenIdConnectConfigOutput() GetClusterOpenIdConnectConfigOutput
- func (i GetClusterOpenIdConnectConfigArgs) ToGetClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigOutput
- type GetClusterOpenIdConnectConfigArray
- func (GetClusterOpenIdConnectConfigArray) ElementType() reflect.Type
- func (i GetClusterOpenIdConnectConfigArray) ToGetClusterOpenIdConnectConfigArrayOutput() GetClusterOpenIdConnectConfigArrayOutput
- func (i GetClusterOpenIdConnectConfigArray) ToGetClusterOpenIdConnectConfigArrayOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigArrayOutput
- type GetClusterOpenIdConnectConfigArrayInput
- type GetClusterOpenIdConnectConfigArrayOutput
- func (GetClusterOpenIdConnectConfigArrayOutput) ElementType() reflect.Type
- func (o GetClusterOpenIdConnectConfigArrayOutput) Index(i pulumi.IntInput) GetClusterOpenIdConnectConfigOutput
- func (o GetClusterOpenIdConnectConfigArrayOutput) ToGetClusterOpenIdConnectConfigArrayOutput() GetClusterOpenIdConnectConfigArrayOutput
- func (o GetClusterOpenIdConnectConfigArrayOutput) ToGetClusterOpenIdConnectConfigArrayOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigArrayOutput
- type GetClusterOpenIdConnectConfigInput
- type GetClusterOpenIdConnectConfigOutput
- func (o GetClusterOpenIdConnectConfigOutput) ClientId() pulumi.StringOutput
- func (GetClusterOpenIdConnectConfigOutput) ElementType() reflect.Type
- func (o GetClusterOpenIdConnectConfigOutput) GroupsClaims() pulumi.StringArrayOutput
- func (o GetClusterOpenIdConnectConfigOutput) GroupsPrefix() pulumi.StringOutput
- func (o GetClusterOpenIdConnectConfigOutput) IssuerUrl() pulumi.StringOutput
- func (o GetClusterOpenIdConnectConfigOutput) RequiredClaims() pulumi.StringArrayOutput
- func (o GetClusterOpenIdConnectConfigOutput) ToGetClusterOpenIdConnectConfigOutput() GetClusterOpenIdConnectConfigOutput
- func (o GetClusterOpenIdConnectConfigOutput) ToGetClusterOpenIdConnectConfigOutputWithContext(ctx context.Context) GetClusterOpenIdConnectConfigOutput
- func (o GetClusterOpenIdConnectConfigOutput) UsernameClaim() pulumi.StringOutput
- func (o GetClusterOpenIdConnectConfigOutput) UsernamePrefix() pulumi.StringOutput
- type GetPoolNode
- type GetPoolNodeArgs
- type GetPoolNodeArray
- type GetPoolNodeArrayInput
- type GetPoolNodeArrayOutput
- func (GetPoolNodeArrayOutput) ElementType() reflect.Type
- func (o GetPoolNodeArrayOutput) Index(i pulumi.IntInput) GetPoolNodeOutput
- func (o GetPoolNodeArrayOutput) ToGetPoolNodeArrayOutput() GetPoolNodeArrayOutput
- func (o GetPoolNodeArrayOutput) ToGetPoolNodeArrayOutputWithContext(ctx context.Context) GetPoolNodeArrayOutput
- type GetPoolNodeInput
- type GetPoolNodeOutput
- func (GetPoolNodeOutput) ElementType() reflect.Type
- func (o GetPoolNodeOutput) Name() pulumi.StringOutput
- func (o GetPoolNodeOutput) PublicIp() pulumi.StringOutput
- func (o GetPoolNodeOutput) PublicIpV6() pulumi.StringOutput
- func (o GetPoolNodeOutput) Status() pulumi.StringOutput
- func (o GetPoolNodeOutput) ToGetPoolNodeOutput() GetPoolNodeOutput
- func (o GetPoolNodeOutput) ToGetPoolNodeOutputWithContext(ctx context.Context) GetPoolNodeOutput
- type GetPoolUpgradePolicy
- type GetPoolUpgradePolicyArgs
- type GetPoolUpgradePolicyArray
- type GetPoolUpgradePolicyArrayInput
- type GetPoolUpgradePolicyArrayOutput
- func (GetPoolUpgradePolicyArrayOutput) ElementType() reflect.Type
- func (o GetPoolUpgradePolicyArrayOutput) Index(i pulumi.IntInput) GetPoolUpgradePolicyOutput
- func (o GetPoolUpgradePolicyArrayOutput) ToGetPoolUpgradePolicyArrayOutput() GetPoolUpgradePolicyArrayOutput
- func (o GetPoolUpgradePolicyArrayOutput) ToGetPoolUpgradePolicyArrayOutputWithContext(ctx context.Context) GetPoolUpgradePolicyArrayOutput
- type GetPoolUpgradePolicyInput
- type GetPoolUpgradePolicyOutput
- func (GetPoolUpgradePolicyOutput) ElementType() reflect.Type
- func (o GetPoolUpgradePolicyOutput) MaxSurge() pulumi.IntOutput
- func (o GetPoolUpgradePolicyOutput) MaxUnavailable() pulumi.IntOutput
- func (o GetPoolUpgradePolicyOutput) ToGetPoolUpgradePolicyOutput() GetPoolUpgradePolicyOutput
- func (o GetPoolUpgradePolicyOutput) ToGetPoolUpgradePolicyOutputWithContext(ctx context.Context) GetPoolUpgradePolicyOutput
- type GetVersionArgs
- type GetVersionOutputArgs
- type GetVersionResult
- type GetVersionResultOutput
- func (o GetVersionResultOutput) AvailableCnis() pulumi.StringArrayOutput
- func (o GetVersionResultOutput) AvailableContainerRuntimes() pulumi.StringArrayOutput
- func (o GetVersionResultOutput) AvailableFeatureGates() pulumi.StringArrayOutput
- func (GetVersionResultOutput) ElementType() reflect.Type
- func (o GetVersionResultOutput) Id() pulumi.StringOutput
- func (o GetVersionResultOutput) Name() pulumi.StringOutput
- func (o GetVersionResultOutput) Region() pulumi.StringOutput
- func (o GetVersionResultOutput) ToGetVersionResultOutput() GetVersionResultOutput
- func (o GetVersionResultOutput) ToGetVersionResultOutputWithContext(ctx context.Context) GetVersionResultOutput
- type LookupClusterArgs
- type LookupClusterOutputArgs
- type LookupClusterResult
- type LookupClusterResultOutput
- func (o LookupClusterResultOutput) AdmissionPlugins() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) ApiserverCertSans() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) ApiserverUrl() pulumi.StringOutput
- func (o LookupClusterResultOutput) AutoUpgrades() GetClusterAutoUpgradeArrayOutput
- func (o LookupClusterResultOutput) AutoscalerConfigs() GetClusterAutoscalerConfigArrayOutput
- func (o LookupClusterResultOutput) ClusterId() pulumi.StringPtrOutput
- func (o LookupClusterResultOutput) Cni() pulumi.StringOutput
- func (o LookupClusterResultOutput) CreatedAt() pulumi.StringOutput
- func (o LookupClusterResultOutput) Description() pulumi.StringOutput
- func (LookupClusterResultOutput) ElementType() reflect.Type
- func (o LookupClusterResultOutput) FeatureGates() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterResultOutput) Kubeconfigs() GetClusterKubeconfigArrayOutput
- func (o LookupClusterResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupClusterResultOutput) OpenIdConnectConfigs() GetClusterOpenIdConnectConfigArrayOutput
- func (o LookupClusterResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupClusterResultOutput) PrivateNetworkId() pulumi.StringOutput
- func (o LookupClusterResultOutput) ProjectId() pulumi.StringPtrOutput
- func (o LookupClusterResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupClusterResultOutput) Status() pulumi.StringOutput
- func (o LookupClusterResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
- func (o LookupClusterResultOutput) Type() pulumi.StringOutput
- func (o LookupClusterResultOutput) UpdatedAt() pulumi.StringOutput
- func (o LookupClusterResultOutput) UpgradeAvailable() pulumi.BoolOutput
- func (o LookupClusterResultOutput) Version() pulumi.StringOutput
- func (o LookupClusterResultOutput) WildcardDns() pulumi.StringOutput
- type LookupPoolArgs
- type LookupPoolOutputArgs
- type LookupPoolResult
- type LookupPoolResultOutput
- func (o LookupPoolResultOutput) Autohealing() pulumi.BoolOutput
- func (o LookupPoolResultOutput) Autoscaling() pulumi.BoolOutput
- func (o LookupPoolResultOutput) ClusterId() pulumi.StringPtrOutput
- func (o LookupPoolResultOutput) ContainerRuntime() pulumi.StringOutput
- func (o LookupPoolResultOutput) CreatedAt() pulumi.StringOutput
- func (o LookupPoolResultOutput) CurrentSize() pulumi.IntOutput
- func (LookupPoolResultOutput) ElementType() reflect.Type
- func (o LookupPoolResultOutput) Id() pulumi.StringOutput
- func (o LookupPoolResultOutput) KubeletArgs() pulumi.StringMapOutput
- func (o LookupPoolResultOutput) MaxSize() pulumi.IntOutput
- func (o LookupPoolResultOutput) MinSize() pulumi.IntOutput
- func (o LookupPoolResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupPoolResultOutput) NodeType() pulumi.StringOutput
- func (o LookupPoolResultOutput) Nodes() GetPoolNodeArrayOutput
- func (o LookupPoolResultOutput) PlacementGroupId() pulumi.StringOutput
- func (o LookupPoolResultOutput) PoolId() pulumi.StringPtrOutput
- func (o LookupPoolResultOutput) PublicIpDisabled() pulumi.BoolOutput
- func (o LookupPoolResultOutput) Region() pulumi.StringPtrOutput
- func (o LookupPoolResultOutput) RootVolumeSizeInGb() pulumi.IntOutput
- func (o LookupPoolResultOutput) RootVolumeType() pulumi.StringOutput
- func (o LookupPoolResultOutput) Size() pulumi.IntPtrOutput
- func (o LookupPoolResultOutput) Status() pulumi.StringOutput
- func (o LookupPoolResultOutput) Tags() pulumi.StringArrayOutput
- func (o LookupPoolResultOutput) ToLookupPoolResultOutput() LookupPoolResultOutput
- func (o LookupPoolResultOutput) ToLookupPoolResultOutputWithContext(ctx context.Context) LookupPoolResultOutput
- func (o LookupPoolResultOutput) UpdatedAt() pulumi.StringOutput
- func (o LookupPoolResultOutput) UpgradePolicies() GetPoolUpgradePolicyArrayOutput
- func (o LookupPoolResultOutput) Version() pulumi.StringOutput
- func (o LookupPoolResultOutput) WaitForPoolReady() pulumi.BoolOutput
- func (o LookupPoolResultOutput) Zone() pulumi.StringOutput
- type Pool
- type PoolArgs
- type PoolArray
- type PoolArrayInput
- type PoolArrayOutput
- type PoolInput
- type PoolMap
- type PoolMapInput
- type PoolMapOutput
- type PoolNode
- type PoolNodeArgs
- type PoolNodeArray
- type PoolNodeArrayInput
- type PoolNodeArrayOutput
- type PoolNodeInput
- type PoolNodeOutput
- func (PoolNodeOutput) ElementType() reflect.Type
- func (o PoolNodeOutput) Name() pulumi.StringPtrOutput
- func (o PoolNodeOutput) PublicIp() pulumi.StringPtrOutput
- func (o PoolNodeOutput) PublicIpV6() pulumi.StringPtrOutput
- func (o PoolNodeOutput) Status() pulumi.StringPtrOutput
- func (o PoolNodeOutput) ToPoolNodeOutput() PoolNodeOutput
- func (o PoolNodeOutput) ToPoolNodeOutputWithContext(ctx context.Context) PoolNodeOutput
- type PoolOutput
- func (o PoolOutput) Autohealing() pulumi.BoolPtrOutput
- func (o PoolOutput) Autoscaling() pulumi.BoolPtrOutput
- func (o PoolOutput) ClusterId() pulumi.StringOutput
- func (o PoolOutput) ContainerRuntime() pulumi.StringPtrOutput
- func (o PoolOutput) CreatedAt() pulumi.StringOutput
- func (o PoolOutput) CurrentSize() pulumi.IntOutput
- func (PoolOutput) ElementType() reflect.Type
- func (o PoolOutput) KubeletArgs() pulumi.StringMapOutput
- func (o PoolOutput) MaxSize() pulumi.IntOutput
- func (o PoolOutput) MinSize() pulumi.IntPtrOutput
- func (o PoolOutput) Name() pulumi.StringOutput
- func (o PoolOutput) NodeType() pulumi.StringOutput
- func (o PoolOutput) Nodes() PoolNodeArrayOutput
- func (o PoolOutput) PlacementGroupId() pulumi.StringPtrOutput
- func (o PoolOutput) PublicIpDisabled() pulumi.BoolPtrOutput
- func (o PoolOutput) Region() pulumi.StringOutput
- func (o PoolOutput) RootVolumeSizeInGb() pulumi.IntOutput
- func (o PoolOutput) RootVolumeType() pulumi.StringOutput
- func (o PoolOutput) Size() pulumi.IntOutput
- func (o PoolOutput) Status() pulumi.StringOutput
- func (o PoolOutput) Tags() pulumi.StringArrayOutput
- func (o PoolOutput) ToPoolOutput() PoolOutput
- func (o PoolOutput) ToPoolOutputWithContext(ctx context.Context) PoolOutput
- func (o PoolOutput) UpdatedAt() pulumi.StringOutput
- func (o PoolOutput) UpgradePolicy() PoolUpgradePolicyOutput
- func (o PoolOutput) Version() pulumi.StringOutput
- func (o PoolOutput) WaitForPoolReady() pulumi.BoolPtrOutput
- func (o PoolOutput) Zone() pulumi.StringOutput
- type PoolState
- type PoolUpgradePolicy
- type PoolUpgradePolicyArgs
- func (PoolUpgradePolicyArgs) ElementType() reflect.Type
- func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyOutput() PoolUpgradePolicyOutput
- func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyOutputWithContext(ctx context.Context) PoolUpgradePolicyOutput
- func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyPtrOutput() PoolUpgradePolicyPtrOutput
- func (i PoolUpgradePolicyArgs) ToPoolUpgradePolicyPtrOutputWithContext(ctx context.Context) PoolUpgradePolicyPtrOutput
- type PoolUpgradePolicyInput
- type PoolUpgradePolicyOutput
- func (PoolUpgradePolicyOutput) ElementType() reflect.Type
- func (o PoolUpgradePolicyOutput) MaxSurge() pulumi.IntPtrOutput
- func (o PoolUpgradePolicyOutput) MaxUnavailable() pulumi.IntPtrOutput
- func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyOutput() PoolUpgradePolicyOutput
- func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyOutputWithContext(ctx context.Context) PoolUpgradePolicyOutput
- func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyPtrOutput() PoolUpgradePolicyPtrOutput
- func (o PoolUpgradePolicyOutput) ToPoolUpgradePolicyPtrOutputWithContext(ctx context.Context) PoolUpgradePolicyPtrOutput
- type PoolUpgradePolicyPtrInput
- type PoolUpgradePolicyPtrOutput
- func (o PoolUpgradePolicyPtrOutput) Elem() PoolUpgradePolicyOutput
- func (PoolUpgradePolicyPtrOutput) ElementType() reflect.Type
- func (o PoolUpgradePolicyPtrOutput) MaxSurge() pulumi.IntPtrOutput
- func (o PoolUpgradePolicyPtrOutput) MaxUnavailable() pulumi.IntPtrOutput
- func (o PoolUpgradePolicyPtrOutput) ToPoolUpgradePolicyPtrOutput() PoolUpgradePolicyPtrOutput
- func (o PoolUpgradePolicyPtrOutput) ToPoolUpgradePolicyPtrOutputWithContext(ctx context.Context) PoolUpgradePolicyPtrOutput
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) 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 (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
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 ¶
func (o ClusterAutoUpgradeOutput) Enable() pulumi.BoolOutput
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
func ClusterAutoUpgradePtr ¶
func ClusterAutoUpgradePtr(v *ClusterAutoUpgradeArgs) ClusterAutoUpgradePtrInput
type ClusterAutoUpgradePtrOutput ¶
type ClusterAutoUpgradePtrOutput struct{ *pulumi.OutputState }
func (ClusterAutoUpgradePtrOutput) Elem ¶
func (o ClusterAutoUpgradePtrOutput) Elem() ClusterAutoUpgradeOutput
func (ClusterAutoUpgradePtrOutput) ElementType ¶
func (ClusterAutoUpgradePtrOutput) ElementType() reflect.Type
func (ClusterAutoUpgradePtrOutput) Enable ¶
func (o ClusterAutoUpgradePtrOutput) Enable() pulumi.BoolPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ClusterAutoscalerConfigOutput) Estimator ¶
func (o ClusterAutoscalerConfigOutput) Estimator() pulumi.StringPtrOutput
Type of resource estimator to be used in scale up.
func (ClusterAutoscalerConfigOutput) Expander ¶
func (o ClusterAutoscalerConfigOutput) Expander() pulumi.StringPtrOutput
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
func ClusterAutoscalerConfigPtr ¶
func ClusterAutoscalerConfigPtr(v *ClusterAutoscalerConfigArgs) ClusterAutoscalerConfigPtrInput
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 ¶
func (o ClusterAutoscalerConfigPtrOutput) DisableScaleDown() pulumi.BoolPtrOutput
Disables the scale down feature of the autoscaler.
func (ClusterAutoscalerConfigPtrOutput) Elem ¶
func (o ClusterAutoscalerConfigPtrOutput) Elem() ClusterAutoscalerConfigOutput
func (ClusterAutoscalerConfigPtrOutput) ElementType ¶
func (ClusterAutoscalerConfigPtrOutput) ElementType() reflect.Type
func (ClusterAutoscalerConfigPtrOutput) Estimator ¶
func (o ClusterAutoscalerConfigPtrOutput) Estimator() pulumi.StringPtrOutput
Type of resource estimator to be used in scale up.
func (ClusterAutoscalerConfigPtrOutput) Expander ¶
func (o ClusterAutoscalerConfigPtrOutput) Expander() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (ClusterKubeconfigArrayOutput) Index ¶
func (o ClusterKubeconfigArrayOutput) Index(i pulumi.IntInput) ClusterKubeconfigOutput
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 ¶
func (o ClusterKubeconfigOutput) ConfigFile() pulumi.StringPtrOutput
The raw kubeconfig file.
func (ClusterKubeconfigOutput) ElementType ¶
func (ClusterKubeconfigOutput) ElementType() reflect.Type
func (ClusterKubeconfigOutput) Host ¶
func (o ClusterKubeconfigOutput) Host() pulumi.StringPtrOutput
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 ¶
func (o ClusterKubeconfigOutput) Token() pulumi.StringPtrOutput
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 (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
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) ElementType() reflect.Type
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 ¶
func (o ClusterOpenIdConnectConfigOutput) ClientId() pulumi.StringOutput
A client id that all tokens must be issued for
func (ClusterOpenIdConnectConfigOutput) ElementType ¶
func (ClusterOpenIdConnectConfigOutput) ElementType() reflect.Type
func (ClusterOpenIdConnectConfigOutput) GroupsClaims ¶
func (o ClusterOpenIdConnectConfigOutput) GroupsClaims() pulumi.StringArrayOutput
JWT claim to use as the user's group
func (ClusterOpenIdConnectConfigOutput) GroupsPrefix ¶
func (o ClusterOpenIdConnectConfigOutput) GroupsPrefix() pulumi.StringPtrOutput
Prefix prepended to group claims
func (ClusterOpenIdConnectConfigOutput) IssuerUrl ¶
func (o ClusterOpenIdConnectConfigOutput) IssuerUrl() pulumi.StringOutput
URL of the provider which allows the API server to discover public signing keys
func (ClusterOpenIdConnectConfigOutput) RequiredClaims ¶
func (o ClusterOpenIdConnectConfigOutput) RequiredClaims() pulumi.StringArrayOutput
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 ¶
func (o ClusterOpenIdConnectConfigOutput) UsernameClaim() pulumi.StringPtrOutput
JWT claim to use as the user name
func (ClusterOpenIdConnectConfigOutput) UsernamePrefix ¶
func (o ClusterOpenIdConnectConfigOutput) UsernamePrefix() pulumi.StringPtrOutput
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
func ClusterOpenIdConnectConfigPtr ¶
func ClusterOpenIdConnectConfigPtr(v *ClusterOpenIdConnectConfigArgs) ClusterOpenIdConnectConfigPtrInput
type ClusterOpenIdConnectConfigPtrOutput ¶
type ClusterOpenIdConnectConfigPtrOutput struct{ *pulumi.OutputState }
func (ClusterOpenIdConnectConfigPtrOutput) ClientId ¶
func (o ClusterOpenIdConnectConfigPtrOutput) ClientId() pulumi.StringPtrOutput
A client id that all tokens must be issued for
func (ClusterOpenIdConnectConfigPtrOutput) Elem ¶
func (o ClusterOpenIdConnectConfigPtrOutput) Elem() ClusterOpenIdConnectConfigOutput
func (ClusterOpenIdConnectConfigPtrOutput) ElementType ¶
func (ClusterOpenIdConnectConfigPtrOutput) ElementType() reflect.Type
func (ClusterOpenIdConnectConfigPtrOutput) GroupsClaims ¶
func (o ClusterOpenIdConnectConfigPtrOutput) GroupsClaims() pulumi.StringArrayOutput
JWT claim to use as the user's group
func (ClusterOpenIdConnectConfigPtrOutput) GroupsPrefix ¶
func (o ClusterOpenIdConnectConfigPtrOutput) GroupsPrefix() pulumi.StringPtrOutput
Prefix prepended to group claims
func (ClusterOpenIdConnectConfigPtrOutput) IssuerUrl ¶
func (o ClusterOpenIdConnectConfigPtrOutput) IssuerUrl() pulumi.StringPtrOutput
URL of the provider which allows the API server to discover public signing keys
func (ClusterOpenIdConnectConfigPtrOutput) RequiredClaims ¶
func (o ClusterOpenIdConnectConfigPtrOutput) RequiredClaims() pulumi.StringArrayOutput
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 ¶
func (o ClusterOpenIdConnectConfigPtrOutput) UsernameClaim() pulumi.StringPtrOutput
JWT claim to use as the user name
func (ClusterOpenIdConnectConfigPtrOutput) UsernamePrefix ¶
func (o ClusterOpenIdConnectConfigPtrOutput) UsernamePrefix() pulumi.StringPtrOutput
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 ¶
func (o ClusterOutput) Cni() pulumi.StringOutput
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 ¶
func (o ClusterOutput) Kubeconfigs() ClusterKubeconfigArrayOutput
The kubeconfig configuration file of the Kubernetes cluster
func (ClusterOutput) Name ¶
func (o ClusterOutput) Name() pulumi.StringOutput
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 ¶
func (o ClusterOutput) Tags() pulumi.StringArrayOutput
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 ¶
func (o ClusterOutput) Type() pulumi.StringOutput
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) ElementType() reflect.Type
func (GetClusterAutoUpgradeArrayOutput) Index ¶
func (o GetClusterAutoUpgradeArrayOutput) Index(i pulumi.IntInput) GetClusterAutoUpgradeOutput
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) ElementType() reflect.Type
func (GetClusterAutoUpgradeOutput) Enable ¶
func (o GetClusterAutoUpgradeOutput) Enable() pulumi.BoolOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetClusterAutoscalerConfigArrayOutput) Index ¶
func (o GetClusterAutoscalerConfigArrayOutput) Index(i pulumi.IntInput) GetClusterAutoscalerConfigOutput
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) ElementType() reflect.Type
func (GetClusterAutoscalerConfigOutput) Estimator ¶
func (o GetClusterAutoscalerConfigOutput) Estimator() pulumi.StringOutput
The type of resource estimator used in scale up.
func (GetClusterAutoscalerConfigOutput) Expander ¶
func (o GetClusterAutoscalerConfigOutput) Expander() pulumi.StringOutput
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) ElementType() reflect.Type
func (GetClusterKubeconfigArrayOutput) Index ¶
func (o GetClusterKubeconfigArrayOutput) Index(i pulumi.IntInput) GetClusterKubeconfigOutput
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 ¶
func (o GetClusterKubeconfigOutput) ConfigFile() pulumi.StringOutput
The raw kubeconfig file.
func (GetClusterKubeconfigOutput) ElementType ¶
func (GetClusterKubeconfigOutput) ElementType() reflect.Type
func (GetClusterKubeconfigOutput) Host ¶
func (o GetClusterKubeconfigOutput) Host() pulumi.StringOutput
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 ¶
func (o GetClusterKubeconfigOutput) Token() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o GetClusterOpenIdConnectConfigOutput) ClientId() pulumi.StringOutput
A client id that all tokens must be issued for
func (GetClusterOpenIdConnectConfigOutput) ElementType ¶
func (GetClusterOpenIdConnectConfigOutput) ElementType() reflect.Type
func (GetClusterOpenIdConnectConfigOutput) GroupsClaims ¶
func (o GetClusterOpenIdConnectConfigOutput) GroupsClaims() pulumi.StringArrayOutput
JWT claim to use as the user's group
func (GetClusterOpenIdConnectConfigOutput) GroupsPrefix ¶
func (o GetClusterOpenIdConnectConfigOutput) GroupsPrefix() pulumi.StringOutput
Prefix prepended to group claims
func (GetClusterOpenIdConnectConfigOutput) IssuerUrl ¶
func (o GetClusterOpenIdConnectConfigOutput) IssuerUrl() pulumi.StringOutput
URL of the provider which allows the API server to discover public signing keys
func (GetClusterOpenIdConnectConfigOutput) RequiredClaims ¶
func (o GetClusterOpenIdConnectConfigOutput) RequiredClaims() pulumi.StringArrayOutput
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 ¶
func (o GetClusterOpenIdConnectConfigOutput) UsernameClaim() pulumi.StringOutput
JWT claim to use as the user name
func (GetClusterOpenIdConnectConfigOutput) UsernamePrefix ¶
func (o GetClusterOpenIdConnectConfigOutput) UsernamePrefix() pulumi.StringOutput
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 (o GetPoolNodeArrayOutput) Index(i pulumi.IntInput) GetPoolNodeOutput
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 ¶
func (o GetPoolNodeOutput) Name() pulumi.StringOutput
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 ¶
func (o GetPoolNodeOutput) Status() pulumi.StringOutput
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 GetPoolUpgradePolicyArgs ¶
type GetPoolUpgradePolicyArgs struct { // The maximum number of nodes to be created during the upgrade MaxSurge pulumi.IntInput `pulumi:"maxSurge"` 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) ElementType() reflect.Type
func (GetPoolUpgradePolicyArrayOutput) Index ¶
func (o GetPoolUpgradePolicyArrayOutput) Index(i pulumi.IntInput) GetPoolUpgradePolicyOutput
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 ¶
func (o GetPoolUpgradePolicyOutput) MaxSurge() pulumi.IntOutput
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 GetVersionOutput ¶
func GetVersionOutput(ctx *pulumi.Context, args GetVersionOutputArgs, opts ...pulumi.InvokeOption) GetVersionResultOutput
func (GetVersionResultOutput) AvailableCnis ¶
func (o GetVersionResultOutput) AvailableCnis() pulumi.StringArrayOutput
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 ¶
func (o GetVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVersionResultOutput) Name ¶
func (o GetVersionResultOutput) Name() pulumi.StringOutput
func (GetVersionResultOutput) Region ¶
func (o GetVersionResultOutput) Region() pulumi.StringOutput
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 LookupClusterOutput ¶
func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts ...pulumi.InvokeOption) LookupClusterResultOutput
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 ¶
func (o LookupClusterResultOutput) ApiserverUrl() pulumi.StringOutput
The URL of the Kubernetes API server.
func (LookupClusterResultOutput) AutoUpgrades ¶
func (o LookupClusterResultOutput) AutoUpgrades() GetClusterAutoUpgradeArrayOutput
The auto upgrade configuration.
func (LookupClusterResultOutput) AutoscalerConfigs ¶
func (o LookupClusterResultOutput) AutoscalerConfigs() GetClusterAutoscalerConfigArrayOutput
The configuration options for the [Kubernetes cluster autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler).
func (LookupClusterResultOutput) ClusterId ¶
func (o LookupClusterResultOutput) ClusterId() pulumi.StringPtrOutput
func (LookupClusterResultOutput) Cni ¶
func (o LookupClusterResultOutput) Cni() pulumi.StringOutput
The Container Network Interface (CNI) for the Kubernetes cluster.
func (LookupClusterResultOutput) CreatedAt ¶
func (o LookupClusterResultOutput) CreatedAt() pulumi.StringOutput
The creation date of the cluster.
func (LookupClusterResultOutput) Description ¶
func (o LookupClusterResultOutput) Description() pulumi.StringOutput
A description for the Kubernetes cluster.
func (LookupClusterResultOutput) ElementType ¶
func (LookupClusterResultOutput) ElementType() reflect.Type
func (LookupClusterResultOutput) FeatureGates ¶
func (o LookupClusterResultOutput) FeatureGates() pulumi.StringArrayOutput
The list of [feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) enabled on the cluster.
func (LookupClusterResultOutput) Id ¶
func (o LookupClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterResultOutput) Kubeconfigs ¶
func (o LookupClusterResultOutput) Kubeconfigs() GetClusterKubeconfigArrayOutput
func (LookupClusterResultOutput) Name ¶
func (o LookupClusterResultOutput) Name() pulumi.StringPtrOutput
func (LookupClusterResultOutput) OpenIdConnectConfigs ¶
func (o LookupClusterResultOutput) OpenIdConnectConfigs() GetClusterOpenIdConnectConfigArrayOutput
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 (o LookupClusterResultOutput) ProjectId() pulumi.StringPtrOutput
func (LookupClusterResultOutput) Region ¶
func (o LookupClusterResultOutput) Region() pulumi.StringPtrOutput
The region in which the cluster is.
func (LookupClusterResultOutput) Status ¶
func (o LookupClusterResultOutput) Status() pulumi.StringOutput
The status of the Kubernetes cluster.
func (LookupClusterResultOutput) Tags ¶
func (o LookupClusterResultOutput) Tags() pulumi.StringArrayOutput
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 ¶
func (o LookupClusterResultOutput) Type() pulumi.StringOutput
The type of the Kubernetes cluster.
func (LookupClusterResultOutput) UpdatedAt ¶
func (o LookupClusterResultOutput) UpdatedAt() pulumi.StringOutput
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 ¶
func (o LookupClusterResultOutput) Version() pulumi.StringOutput
The version of the Kubernetes cluster.
func (LookupClusterResultOutput) WildcardDns ¶
func (o LookupClusterResultOutput) WildcardDns() pulumi.StringOutput
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 LookupPoolOutput ¶
func LookupPoolOutput(ctx *pulumi.Context, args LookupPoolOutputArgs, opts ...pulumi.InvokeOption) LookupPoolResultOutput
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 (o LookupPoolResultOutput) ClusterId() pulumi.StringPtrOutput
func (LookupPoolResultOutput) ContainerRuntime ¶
func (o LookupPoolResultOutput) ContainerRuntime() pulumi.StringOutput
The container runtime of the pool.
func (LookupPoolResultOutput) CreatedAt ¶
func (o LookupPoolResultOutput) CreatedAt() pulumi.StringOutput
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 ¶
func (o LookupPoolResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPoolResultOutput) KubeletArgs ¶
func (o LookupPoolResultOutput) KubeletArgs() pulumi.StringMapOutput
func (LookupPoolResultOutput) MaxSize ¶
func (o LookupPoolResultOutput) MaxSize() pulumi.IntOutput
The maximum size of the pool, used by the autoscaling feature.
func (LookupPoolResultOutput) MinSize ¶
func (o LookupPoolResultOutput) MinSize() pulumi.IntOutput
The minimum size of the pool, used by the autoscaling feature.
func (LookupPoolResultOutput) Name ¶
func (o LookupPoolResultOutput) Name() pulumi.StringPtrOutput
The name of the node.
func (LookupPoolResultOutput) NodeType ¶
func (o LookupPoolResultOutput) NodeType() pulumi.StringOutput
The commercial type of the pool instances.
func (LookupPoolResultOutput) Nodes ¶
func (o LookupPoolResultOutput) Nodes() GetPoolNodeArrayOutput
(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 (o LookupPoolResultOutput) PoolId() pulumi.StringPtrOutput
func (LookupPoolResultOutput) PublicIpDisabled ¶
func (o LookupPoolResultOutput) PublicIpDisabled() pulumi.BoolOutput
func (LookupPoolResultOutput) Region ¶
func (o LookupPoolResultOutput) Region() pulumi.StringPtrOutput
func (LookupPoolResultOutput) RootVolumeSizeInGb ¶
func (o LookupPoolResultOutput) RootVolumeSizeInGb() pulumi.IntOutput
func (LookupPoolResultOutput) RootVolumeType ¶
func (o LookupPoolResultOutput) RootVolumeType() pulumi.StringOutput
func (LookupPoolResultOutput) Size ¶
func (o LookupPoolResultOutput) Size() pulumi.IntPtrOutput
The size of the pool.
func (LookupPoolResultOutput) Status ¶
func (o LookupPoolResultOutput) Status() pulumi.StringOutput
The status of the node.
func (LookupPoolResultOutput) Tags ¶
func (o LookupPoolResultOutput) Tags() pulumi.StringArrayOutput
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 ¶
func (o LookupPoolResultOutput) UpdatedAt() pulumi.StringOutput
The last update date of the pool.
func (LookupPoolResultOutput) UpgradePolicies ¶
func (o LookupPoolResultOutput) UpgradePolicies() GetPoolUpgradePolicyArrayOutput
func (LookupPoolResultOutput) Version ¶
func (o LookupPoolResultOutput) Version() pulumi.StringOutput
The version of the pool.
func (LookupPoolResultOutput) WaitForPoolReady ¶
func (o LookupPoolResultOutput) WaitForPoolReady() pulumi.BoolOutput
func (LookupPoolResultOutput) Zone ¶
func (o LookupPoolResultOutput) Zone() pulumi.StringOutput
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) 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 ¶
type PoolArray ¶
type PoolArray []PoolInput
func (PoolArray) ElementType ¶
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 (o PoolArrayOutput) Index(i pulumi.IntInput) PoolOutput
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 ¶
func (PoolMap) ElementType ¶
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 (o PoolMapOutput) MapIndex(k pulumi.StringInput) PoolOutput
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 (o PoolNodeArrayOutput) Index(i pulumi.IntInput) PoolNodeOutput
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 ¶
func (o PoolNodeOutput) Name() pulumi.StringPtrOutput
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 ¶
func (o PoolNodeOutput) Status() pulumi.StringPtrOutput
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) Tags ¶
func (o PoolOutput) Tags() pulumi.StringArrayOutput
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 ¶
type PoolUpgradePolicy ¶
type PoolUpgradePolicyArgs ¶
type PoolUpgradePolicyArgs struct { // The maximum number of nodes to be created during the upgrade MaxSurge pulumi.IntPtrInput `pulumi:"maxSurge"` 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 ¶
func (o PoolUpgradePolicyOutput) MaxSurge() pulumi.IntPtrOutput
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
func PoolUpgradePolicyPtr ¶
func PoolUpgradePolicyPtr(v *PoolUpgradePolicyArgs) PoolUpgradePolicyPtrInput
type PoolUpgradePolicyPtrOutput ¶
type PoolUpgradePolicyPtrOutput struct{ *pulumi.OutputState }
func (PoolUpgradePolicyPtrOutput) Elem ¶
func (o PoolUpgradePolicyPtrOutput) Elem() PoolUpgradePolicyOutput
func (PoolUpgradePolicyPtrOutput) ElementType ¶
func (PoolUpgradePolicyPtrOutput) ElementType() reflect.Type
func (PoolUpgradePolicyPtrOutput) MaxSurge ¶
func (o PoolUpgradePolicyPtrOutput) MaxSurge() pulumi.IntPtrOutput
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