Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.container/v1beta1.Cluster
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project’s default network. One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project’s global metadata indicating which CIDR range the cluster is using.
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args?: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
args: Optional[ClusterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
addons_config: Optional[AddonsConfigArgs] = None,
authenticator_groups_config: Optional[AuthenticatorGroupsConfigArgs] = None,
autopilot: Optional[AutopilotArgs] = None,
autoscaling: Optional[ClusterAutoscalingArgs] = None,
binary_authorization: Optional[BinaryAuthorizationArgs] = None,
cluster_ipv4_cidr: Optional[str] = None,
cluster_telemetry: Optional[ClusterTelemetryArgs] = None,
conditions: Optional[Sequence[StatusConditionArgs]] = None,
confidential_nodes: Optional[ConfidentialNodesArgs] = None,
cost_management_config: Optional[CostManagementConfigArgs] = None,
database_encryption: Optional[DatabaseEncryptionArgs] = None,
default_max_pods_constraint: Optional[MaxPodsConstraintArgs] = None,
description: Optional[str] = None,
enable_k8s_beta_apis: Optional[K8sBetaAPIConfigArgs] = None,
enable_kubernetes_alpha: Optional[bool] = None,
enable_tpu: Optional[bool] = None,
enterprise_config: Optional[EnterpriseConfigArgs] = None,
etag: Optional[str] = None,
fleet: Optional[FleetArgs] = None,
identity_service_config: Optional[IdentityServiceConfigArgs] = None,
initial_cluster_version: Optional[str] = None,
initial_node_count: Optional[int] = None,
instance_group_urls: Optional[Sequence[str]] = None,
ip_allocation_policy: Optional[IPAllocationPolicyArgs] = None,
legacy_abac: Optional[LegacyAbacArgs] = None,
location: Optional[str] = None,
locations: Optional[Sequence[str]] = None,
logging_config: Optional[LoggingConfigArgs] = None,
logging_service: Optional[str] = None,
maintenance_policy: Optional[MaintenancePolicyArgs] = None,
master: Optional[MasterArgs] = None,
master_auth: Optional[MasterAuthArgs] = None,
master_authorized_networks_config: Optional[MasterAuthorizedNetworksConfigArgs] = None,
master_ipv4_cidr_block: Optional[str] = None,
mesh_certificates: Optional[MeshCertificatesArgs] = None,
monitoring_config: Optional[MonitoringConfigArgs] = None,
monitoring_service: Optional[str] = None,
name: Optional[str] = None,
network: Optional[str] = None,
network_config: Optional[NetworkConfigArgs] = None,
network_policy: Optional[NetworkPolicyArgs] = None,
node_config: Optional[NodeConfigArgs] = None,
node_pool_auto_config: Optional[NodePoolAutoConfigArgs] = None,
node_pool_defaults: Optional[NodePoolDefaultsArgs] = None,
node_pools: Optional[Sequence[NodePoolArgs]] = None,
notification_config: Optional[NotificationConfigArgs] = None,
parent: Optional[str] = None,
parent_product_config: Optional[ParentProductConfigArgs] = None,
pod_security_policy_config: Optional[PodSecurityPolicyConfigArgs] = None,
private_cluster: Optional[bool] = None,
private_cluster_config: Optional[PrivateClusterConfigArgs] = None,
project: Optional[str] = None,
protect_config: Optional[ProtectConfigArgs] = None,
release_channel: Optional[ReleaseChannelArgs] = None,
resource_labels: Optional[Mapping[str, str]] = None,
resource_usage_export_config: Optional[ResourceUsageExportConfigArgs] = None,
security_posture_config: Optional[SecurityPostureConfigArgs] = None,
shielded_nodes: Optional[ShieldedNodesArgs] = None,
subnetwork: Optional[str] = None,
tpu_config: Optional[TpuConfigArgs] = None,
vertical_pod_autoscaling: Optional[VerticalPodAutoscalingArgs] = None,
workload_alts_config: Optional[WorkloadALTSConfigArgs] = None,
workload_certificates: Optional[WorkloadCertificatesArgs] = None,
workload_identity_config: Optional[WorkloadIdentityConfigArgs] = None,
zone: Optional[str] = None)
func NewCluster(ctx *Context, name string, args *ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs? args = null, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: google-native:container/v1beta1:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleclusterResourceResourceFromContainerv1beta1 = new GoogleNative.Container.V1Beta1.Cluster("exampleclusterResourceResourceFromContainerv1beta1", new()
{
AddonsConfig = new GoogleNative.Container.V1Beta1.Inputs.AddonsConfigArgs
{
CloudRunConfig = new GoogleNative.Container.V1Beta1.Inputs.CloudRunConfigArgs
{
Disabled = false,
LoadBalancerType = GoogleNative.Container.V1Beta1.CloudRunConfigLoadBalancerType.LoadBalancerTypeUnspecified,
},
ConfigConnectorConfig = new GoogleNative.Container.V1Beta1.Inputs.ConfigConnectorConfigArgs
{
Enabled = false,
},
DnsCacheConfig = new GoogleNative.Container.V1Beta1.Inputs.DnsCacheConfigArgs
{
Enabled = false,
},
GcePersistentDiskCsiDriverConfig = new GoogleNative.Container.V1Beta1.Inputs.GcePersistentDiskCsiDriverConfigArgs
{
Enabled = false,
},
GcpFilestoreCsiDriverConfig = new GoogleNative.Container.V1Beta1.Inputs.GcpFilestoreCsiDriverConfigArgs
{
Enabled = false,
},
GcsFuseCsiDriverConfig = new GoogleNative.Container.V1Beta1.Inputs.GcsFuseCsiDriverConfigArgs
{
Enabled = false,
},
GkeBackupAgentConfig = new GoogleNative.Container.V1Beta1.Inputs.GkeBackupAgentConfigArgs
{
Enabled = false,
},
HorizontalPodAutoscaling = new GoogleNative.Container.V1Beta1.Inputs.HorizontalPodAutoscalingArgs
{
Disabled = false,
},
HttpLoadBalancing = new GoogleNative.Container.V1Beta1.Inputs.HttpLoadBalancingArgs
{
Disabled = false,
},
IstioConfig = new GoogleNative.Container.V1Beta1.Inputs.IstioConfigArgs
{
Auth = GoogleNative.Container.V1Beta1.IstioConfigAuth.AuthNone,
Disabled = false,
},
KalmConfig = new GoogleNative.Container.V1Beta1.Inputs.KalmConfigArgs
{
Enabled = false,
},
KubernetesDashboard = new GoogleNative.Container.V1Beta1.Inputs.KubernetesDashboardArgs
{
Disabled = false,
},
NetworkPolicyConfig = new GoogleNative.Container.V1Beta1.Inputs.NetworkPolicyConfigArgs
{
Disabled = false,
},
},
AuthenticatorGroupsConfig = new GoogleNative.Container.V1Beta1.Inputs.AuthenticatorGroupsConfigArgs
{
Enabled = false,
SecurityGroup = "string",
},
Autopilot = new GoogleNative.Container.V1Beta1.Inputs.AutopilotArgs
{
ConversionStatus = null,
Enabled = false,
WorkloadPolicyConfig = new GoogleNative.Container.V1Beta1.Inputs.WorkloadPolicyConfigArgs
{
AllowNetAdmin = false,
},
},
Autoscaling = new GoogleNative.Container.V1Beta1.Inputs.ClusterAutoscalingArgs
{
AutoprovisioningLocations = new[]
{
"string",
},
AutoprovisioningNodePoolDefaults = new GoogleNative.Container.V1Beta1.Inputs.AutoprovisioningNodePoolDefaultsArgs
{
BootDiskKmsKey = "string",
DiskSizeGb = 0,
DiskType = "string",
ImageType = "string",
InsecureKubeletReadonlyPortEnabled = false,
Management = new GoogleNative.Container.V1Beta1.Inputs.NodeManagementArgs
{
AutoRepair = false,
AutoUpgrade = false,
UpgradeOptions = null,
},
OauthScopes = new[]
{
"string",
},
ServiceAccount = "string",
ShieldedInstanceConfig = new GoogleNative.Container.V1Beta1.Inputs.ShieldedInstanceConfigArgs
{
EnableIntegrityMonitoring = false,
EnableSecureBoot = false,
},
UpgradeSettings = new GoogleNative.Container.V1Beta1.Inputs.UpgradeSettingsArgs
{
BlueGreenSettings = new GoogleNative.Container.V1Beta1.Inputs.BlueGreenSettingsArgs
{
NodePoolSoakDuration = "string",
StandardRolloutPolicy = new GoogleNative.Container.V1Beta1.Inputs.StandardRolloutPolicyArgs
{
BatchNodeCount = 0,
BatchPercentage = 0,
BatchSoakDuration = "string",
},
},
MaxSurge = 0,
MaxUnavailable = 0,
Strategy = GoogleNative.Container.V1Beta1.UpgradeSettingsStrategy.NodePoolUpdateStrategyUnspecified,
},
},
AutoscalingProfile = GoogleNative.Container.V1Beta1.ClusterAutoscalingAutoscalingProfile.ProfileUnspecified,
EnableNodeAutoprovisioning = false,
ResourceLimits = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.ResourceLimitArgs
{
Maximum = "string",
Minimum = "string",
ResourceType = "string",
},
},
},
BinaryAuthorization = new GoogleNative.Container.V1Beta1.Inputs.BinaryAuthorizationArgs
{
EvaluationMode = GoogleNative.Container.V1Beta1.BinaryAuthorizationEvaluationMode.EvaluationModeUnspecified,
PolicyBindings = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.PolicyBindingArgs
{
Name = "string",
},
},
},
ClusterIpv4Cidr = "string",
ClusterTelemetry = new GoogleNative.Container.V1Beta1.Inputs.ClusterTelemetryArgs
{
Type = GoogleNative.Container.V1Beta1.ClusterTelemetryType.Unspecified,
},
Conditions = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.StatusConditionArgs
{
CanonicalCode = GoogleNative.Container.V1Beta1.StatusConditionCanonicalCode.Ok,
Message = "string",
},
},
ConfidentialNodes = new GoogleNative.Container.V1Beta1.Inputs.ConfidentialNodesArgs
{
Enabled = false,
},
CostManagementConfig = new GoogleNative.Container.V1Beta1.Inputs.CostManagementConfigArgs
{
Enabled = false,
},
DatabaseEncryption = new GoogleNative.Container.V1Beta1.Inputs.DatabaseEncryptionArgs
{
KeyName = "string",
State = GoogleNative.Container.V1Beta1.DatabaseEncryptionState.Unknown,
},
DefaultMaxPodsConstraint = new GoogleNative.Container.V1Beta1.Inputs.MaxPodsConstraintArgs
{
MaxPodsPerNode = "string",
},
Description = "string",
EnableK8sBetaApis = new GoogleNative.Container.V1Beta1.Inputs.K8sBetaAPIConfigArgs
{
EnabledApis = new[]
{
"string",
},
},
EnableKubernetesAlpha = false,
EnterpriseConfig = null,
Etag = "string",
Fleet = new GoogleNative.Container.V1Beta1.Inputs.FleetArgs
{
Project = "string",
},
IdentityServiceConfig = new GoogleNative.Container.V1Beta1.Inputs.IdentityServiceConfigArgs
{
Enabled = false,
},
InitialClusterVersion = "string",
IpAllocationPolicy = new GoogleNative.Container.V1Beta1.Inputs.IPAllocationPolicyArgs
{
AllowRouteOverlap = false,
ClusterIpv4CidrBlock = "string",
ClusterSecondaryRangeName = "string",
CreateSubnetwork = false,
Ipv6AccessType = GoogleNative.Container.V1Beta1.IPAllocationPolicyIpv6AccessType.Ipv6AccessTypeUnspecified,
NodeIpv4CidrBlock = "string",
PodCidrOverprovisionConfig = new GoogleNative.Container.V1Beta1.Inputs.PodCIDROverprovisionConfigArgs
{
Disable = false,
},
ServicesIpv4CidrBlock = "string",
ServicesSecondaryRangeName = "string",
StackType = GoogleNative.Container.V1Beta1.IPAllocationPolicyStackType.StackTypeUnspecified,
SubnetworkName = "string",
UseIpAliases = false,
UseRoutes = false,
},
LegacyAbac = new GoogleNative.Container.V1Beta1.Inputs.LegacyAbacArgs
{
Enabled = false,
},
Location = "string",
Locations = new[]
{
"string",
},
LoggingConfig = new GoogleNative.Container.V1Beta1.Inputs.LoggingConfigArgs
{
ComponentConfig = new GoogleNative.Container.V1Beta1.Inputs.LoggingComponentConfigArgs
{
EnableComponents = new[]
{
GoogleNative.Container.V1Beta1.LoggingComponentConfigEnableComponentsItem.ComponentUnspecified,
},
},
},
LoggingService = "string",
MaintenancePolicy = new GoogleNative.Container.V1Beta1.Inputs.MaintenancePolicyArgs
{
ResourceVersion = "string",
Window = new GoogleNative.Container.V1Beta1.Inputs.MaintenanceWindowArgs
{
DailyMaintenanceWindow = new GoogleNative.Container.V1Beta1.Inputs.DailyMaintenanceWindowArgs
{
StartTime = "string",
},
MaintenanceExclusions =
{
{ "string", "string" },
},
RecurringWindow = new GoogleNative.Container.V1Beta1.Inputs.RecurringTimeWindowArgs
{
Recurrence = "string",
Window = new GoogleNative.Container.V1Beta1.Inputs.TimeWindowArgs
{
EndTime = "string",
MaintenanceExclusionOptions = new GoogleNative.Container.V1Beta1.Inputs.MaintenanceExclusionOptionsArgs
{
Scope = GoogleNative.Container.V1Beta1.MaintenanceExclusionOptionsScope.NoUpgrades,
},
StartTime = "string",
},
},
},
},
Master = null,
MasterAuth = new GoogleNative.Container.V1Beta1.Inputs.MasterAuthArgs
{
ClientCertificateConfig = new GoogleNative.Container.V1Beta1.Inputs.ClientCertificateConfigArgs
{
IssueClientCertificate = false,
},
ClusterCaCertificate = "string",
Password = "string",
Username = "string",
},
MasterAuthorizedNetworksConfig = new GoogleNative.Container.V1Beta1.Inputs.MasterAuthorizedNetworksConfigArgs
{
CidrBlocks = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.CidrBlockArgs
{
CidrBlock = "string",
DisplayName = "string",
},
},
Enabled = false,
GcpPublicCidrsAccessEnabled = false,
},
MeshCertificates = new GoogleNative.Container.V1Beta1.Inputs.MeshCertificatesArgs
{
EnableCertificates = false,
},
MonitoringConfig = new GoogleNative.Container.V1Beta1.Inputs.MonitoringConfigArgs
{
AdvancedDatapathObservabilityConfig = new GoogleNative.Container.V1Beta1.Inputs.AdvancedDatapathObservabilityConfigArgs
{
EnableMetrics = false,
RelayMode = GoogleNative.Container.V1Beta1.AdvancedDatapathObservabilityConfigRelayMode.RelayModeUnspecified,
},
ComponentConfig = new GoogleNative.Container.V1Beta1.Inputs.MonitoringComponentConfigArgs
{
EnableComponents = new[]
{
GoogleNative.Container.V1Beta1.MonitoringComponentConfigEnableComponentsItem.ComponentUnspecified,
},
},
ManagedPrometheusConfig = new GoogleNative.Container.V1Beta1.Inputs.ManagedPrometheusConfigArgs
{
Enabled = false,
},
},
MonitoringService = "string",
Name = "string",
Network = "string",
NetworkConfig = new GoogleNative.Container.V1Beta1.Inputs.NetworkConfigArgs
{
DatapathProvider = GoogleNative.Container.V1Beta1.NetworkConfigDatapathProvider.DatapathProviderUnspecified,
DefaultSnatStatus = new GoogleNative.Container.V1Beta1.Inputs.DefaultSnatStatusArgs
{
Disabled = false,
},
DnsConfig = new GoogleNative.Container.V1Beta1.Inputs.DNSConfigArgs
{
ClusterDns = GoogleNative.Container.V1Beta1.DNSConfigClusterDns.ProviderUnspecified,
ClusterDnsDomain = "string",
ClusterDnsScope = GoogleNative.Container.V1Beta1.DNSConfigClusterDnsScope.DnsScopeUnspecified,
},
EnableFqdnNetworkPolicy = false,
EnableIntraNodeVisibility = false,
EnableL4ilbSubsetting = false,
EnableMultiNetworking = false,
GatewayApiConfig = new GoogleNative.Container.V1Beta1.Inputs.GatewayAPIConfigArgs
{
Channel = GoogleNative.Container.V1Beta1.GatewayAPIConfigChannel.ChannelUnspecified,
},
InTransitEncryptionConfig = GoogleNative.Container.V1Beta1.NetworkConfigInTransitEncryptionConfig.InTransitEncryptionConfigUnspecified,
NetworkPerformanceConfig = new GoogleNative.Container.V1Beta1.Inputs.ClusterNetworkPerformanceConfigArgs
{
TotalEgressBandwidthTier = GoogleNative.Container.V1Beta1.ClusterNetworkPerformanceConfigTotalEgressBandwidthTier.TierUnspecified,
},
PrivateIpv6GoogleAccess = GoogleNative.Container.V1Beta1.NetworkConfigPrivateIpv6GoogleAccess.PrivateIpv6GoogleAccessUnspecified,
ServiceExternalIpsConfig = new GoogleNative.Container.V1Beta1.Inputs.ServiceExternalIPsConfigArgs
{
Enabled = false,
},
},
NetworkPolicy = new GoogleNative.Container.V1Beta1.Inputs.NetworkPolicyArgs
{
Enabled = false,
Provider = GoogleNative.Container.V1Beta1.NetworkPolicyProvider.ProviderUnspecified,
},
NodePoolAutoConfig = new GoogleNative.Container.V1Beta1.Inputs.NodePoolAutoConfigArgs
{
NetworkTags = new GoogleNative.Container.V1Beta1.Inputs.NetworkTagsArgs
{
Tags = new[]
{
"string",
},
},
ResourceManagerTags = new GoogleNative.Container.V1Beta1.Inputs.ResourceManagerTagsArgs
{
Tags =
{
{ "string", "string" },
},
},
},
NodePoolDefaults = new GoogleNative.Container.V1Beta1.Inputs.NodePoolDefaultsArgs
{
NodeConfigDefaults = new GoogleNative.Container.V1Beta1.Inputs.NodeConfigDefaultsArgs
{
GcfsConfig = new GoogleNative.Container.V1Beta1.Inputs.GcfsConfigArgs
{
Enabled = false,
},
HostMaintenancePolicy = new GoogleNative.Container.V1Beta1.Inputs.HostMaintenancePolicyArgs
{
MaintenanceInterval = GoogleNative.Container.V1Beta1.HostMaintenancePolicyMaintenanceInterval.MaintenanceIntervalUnspecified,
OpportunisticMaintenanceStrategy = new GoogleNative.Container.V1Beta1.Inputs.OpportunisticMaintenanceStrategyArgs
{
MaintenanceAvailabilityWindow = "string",
MinNodesPerPool = "string",
NodeIdleTimeWindow = "string",
},
},
LoggingConfig = new GoogleNative.Container.V1Beta1.Inputs.NodePoolLoggingConfigArgs
{
VariantConfig = new GoogleNative.Container.V1Beta1.Inputs.LoggingVariantConfigArgs
{
Variant = GoogleNative.Container.V1Beta1.LoggingVariantConfigVariant.VariantUnspecified,
},
},
},
},
NodePools = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.NodePoolArgs
{
Autoscaling = new GoogleNative.Container.V1Beta1.Inputs.NodePoolAutoscalingArgs
{
Autoprovisioned = false,
Enabled = false,
LocationPolicy = GoogleNative.Container.V1Beta1.NodePoolAutoscalingLocationPolicy.LocationPolicyUnspecified,
MaxNodeCount = 0,
MinNodeCount = 0,
TotalMaxNodeCount = 0,
TotalMinNodeCount = 0,
},
BestEffortProvisioning = new GoogleNative.Container.V1Beta1.Inputs.BestEffortProvisioningArgs
{
Enabled = false,
MinProvisionNodes = 0,
},
Conditions = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.StatusConditionArgs
{
CanonicalCode = GoogleNative.Container.V1Beta1.StatusConditionCanonicalCode.Ok,
Message = "string",
},
},
Config = new GoogleNative.Container.V1Beta1.Inputs.NodeConfigArgs
{
Accelerators = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.AcceleratorConfigArgs
{
AcceleratorCount = "string",
AcceleratorType = "string",
GpuDriverInstallationConfig = new GoogleNative.Container.V1Beta1.Inputs.GPUDriverInstallationConfigArgs
{
GpuDriverVersion = GoogleNative.Container.V1Beta1.GPUDriverInstallationConfigGpuDriverVersion.GpuDriverVersionUnspecified,
},
GpuPartitionSize = "string",
GpuSharingConfig = new GoogleNative.Container.V1Beta1.Inputs.GPUSharingConfigArgs
{
GpuSharingStrategy = GoogleNative.Container.V1Beta1.GPUSharingConfigGpuSharingStrategy.GpuSharingStrategyUnspecified,
MaxSharedClientsPerGpu = "string",
},
MaxTimeSharedClientsPerGpu = "string",
},
},
AdvancedMachineFeatures = new GoogleNative.Container.V1Beta1.Inputs.AdvancedMachineFeaturesArgs
{
ThreadsPerCore = "string",
},
BootDiskKmsKey = "string",
ConfidentialNodes = new GoogleNative.Container.V1Beta1.Inputs.ConfidentialNodesArgs
{
Enabled = false,
},
DiskSizeGb = 0,
DiskType = "string",
EnableConfidentialStorage = false,
EphemeralStorageConfig = new GoogleNative.Container.V1Beta1.Inputs.EphemeralStorageConfigArgs
{
LocalSsdCount = 0,
},
EphemeralStorageLocalSsdConfig = new GoogleNative.Container.V1Beta1.Inputs.EphemeralStorageLocalSsdConfigArgs
{
LocalSsdCount = 0,
},
FastSocket = new GoogleNative.Container.V1Beta1.Inputs.FastSocketArgs
{
Enabled = false,
},
GcfsConfig = new GoogleNative.Container.V1Beta1.Inputs.GcfsConfigArgs
{
Enabled = false,
},
Gvnic = new GoogleNative.Container.V1Beta1.Inputs.VirtualNICArgs
{
Enabled = false,
},
HostMaintenancePolicy = new GoogleNative.Container.V1Beta1.Inputs.HostMaintenancePolicyArgs
{
MaintenanceInterval = GoogleNative.Container.V1Beta1.HostMaintenancePolicyMaintenanceInterval.MaintenanceIntervalUnspecified,
OpportunisticMaintenanceStrategy = new GoogleNative.Container.V1Beta1.Inputs.OpportunisticMaintenanceStrategyArgs
{
MaintenanceAvailabilityWindow = "string",
MinNodesPerPool = "string",
NodeIdleTimeWindow = "string",
},
},
ImageType = "string",
KubeletConfig = new GoogleNative.Container.V1Beta1.Inputs.NodeKubeletConfigArgs
{
CpuCfsQuota = false,
CpuCfsQuotaPeriod = "string",
CpuManagerPolicy = "string",
InsecureKubeletReadonlyPortEnabled = false,
PodPidsLimit = "string",
},
Labels =
{
{ "string", "string" },
},
LinuxNodeConfig = new GoogleNative.Container.V1Beta1.Inputs.LinuxNodeConfigArgs
{
CgroupMode = GoogleNative.Container.V1Beta1.LinuxNodeConfigCgroupMode.CgroupModeUnspecified,
Sysctls =
{
{ "string", "string" },
},
},
LocalNvmeSsdBlockConfig = new GoogleNative.Container.V1Beta1.Inputs.LocalNvmeSsdBlockConfigArgs
{
LocalSsdCount = 0,
},
LocalSsdCount = 0,
LoggingConfig = new GoogleNative.Container.V1Beta1.Inputs.NodePoolLoggingConfigArgs
{
VariantConfig = new GoogleNative.Container.V1Beta1.Inputs.LoggingVariantConfigArgs
{
Variant = GoogleNative.Container.V1Beta1.LoggingVariantConfigVariant.VariantUnspecified,
},
},
MachineType = "string",
Metadata =
{
{ "string", "string" },
},
MinCpuPlatform = "string",
NodeGroup = "string",
OauthScopes = new[]
{
"string",
},
Preemptible = false,
ReservationAffinity = new GoogleNative.Container.V1Beta1.Inputs.ReservationAffinityArgs
{
ConsumeReservationType = GoogleNative.Container.V1Beta1.ReservationAffinityConsumeReservationType.Unspecified,
Key = "string",
Values = new[]
{
"string",
},
},
ResourceLabels =
{
{ "string", "string" },
},
ResourceManagerTags = new GoogleNative.Container.V1Beta1.Inputs.ResourceManagerTagsArgs
{
Tags =
{
{ "string", "string" },
},
},
SandboxConfig = new GoogleNative.Container.V1Beta1.Inputs.SandboxConfigArgs
{
SandboxType = "string",
Type = GoogleNative.Container.V1Beta1.SandboxConfigType.Unspecified,
},
ServiceAccount = "string",
ShieldedInstanceConfig = new GoogleNative.Container.V1Beta1.Inputs.ShieldedInstanceConfigArgs
{
EnableIntegrityMonitoring = false,
EnableSecureBoot = false,
},
SoleTenantConfig = new GoogleNative.Container.V1Beta1.Inputs.SoleTenantConfigArgs
{
NodeAffinities = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.NodeAffinityArgs
{
Key = "string",
Operator = GoogleNative.Container.V1Beta1.NodeAffinityOperator.OperatorUnspecified,
Values = new[]
{
"string",
},
},
},
},
Spot = false,
Tags = new[]
{
"string",
},
Taints = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.NodeTaintArgs
{
Effect = GoogleNative.Container.V1Beta1.NodeTaintEffect.EffectUnspecified,
Key = "string",
Value = "string",
},
},
WindowsNodeConfig = new GoogleNative.Container.V1Beta1.Inputs.WindowsNodeConfigArgs
{
OsVersion = GoogleNative.Container.V1Beta1.WindowsNodeConfigOsVersion.OsVersionUnspecified,
},
WorkloadMetadataConfig = new GoogleNative.Container.V1Beta1.Inputs.WorkloadMetadataConfigArgs
{
Mode = GoogleNative.Container.V1Beta1.WorkloadMetadataConfigMode.ModeUnspecified,
NodeMetadata = GoogleNative.Container.V1Beta1.WorkloadMetadataConfigNodeMetadata.Unspecified,
},
},
Etag = "string",
InitialNodeCount = 0,
Locations = new[]
{
"string",
},
Management = new GoogleNative.Container.V1Beta1.Inputs.NodeManagementArgs
{
AutoRepair = false,
AutoUpgrade = false,
UpgradeOptions = null,
},
MaxPodsConstraint = new GoogleNative.Container.V1Beta1.Inputs.MaxPodsConstraintArgs
{
MaxPodsPerNode = "string",
},
Name = "string",
NetworkConfig = new GoogleNative.Container.V1Beta1.Inputs.NodeNetworkConfigArgs
{
AdditionalNodeNetworkConfigs = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.AdditionalNodeNetworkConfigArgs
{
Network = "string",
Subnetwork = "string",
},
},
AdditionalPodNetworkConfigs = new[]
{
new GoogleNative.Container.V1Beta1.Inputs.AdditionalPodNetworkConfigArgs
{
MaxPodsPerNode = new GoogleNative.Container.V1Beta1.Inputs.MaxPodsConstraintArgs
{
MaxPodsPerNode = "string",
},
SecondaryPodRange = "string",
Subnetwork = "string",
},
},
CreatePodRange = false,
EnablePrivateNodes = false,
NetworkPerformanceConfig = new GoogleNative.Container.V1Beta1.Inputs.NetworkPerformanceConfigArgs
{
ExternalIpEgressBandwidthTier = GoogleNative.Container.V1Beta1.NetworkPerformanceConfigExternalIpEgressBandwidthTier.TierUnspecified,
TotalEgressBandwidthTier = GoogleNative.Container.V1Beta1.NetworkPerformanceConfigTotalEgressBandwidthTier.TierUnspecified,
},
PodCidrOverprovisionConfig = new GoogleNative.Container.V1Beta1.Inputs.PodCIDROverprovisionConfigArgs
{
Disable = false,
},
PodIpv4CidrBlock = "string",
PodRange = "string",
},
PlacementPolicy = new GoogleNative.Container.V1Beta1.Inputs.PlacementPolicyArgs
{
PolicyName = "string",
TpuTopology = "string",
Type = GoogleNative.Container.V1Beta1.PlacementPolicyType.TypeUnspecified,
},
QueuedProvisioning = new GoogleNative.Container.V1Beta1.Inputs.QueuedProvisioningArgs
{
Enabled = false,
},
UpgradeSettings = new GoogleNative.Container.V1Beta1.Inputs.UpgradeSettingsArgs
{
BlueGreenSettings = new GoogleNative.Container.V1Beta1.Inputs.BlueGreenSettingsArgs
{
NodePoolSoakDuration = "string",
StandardRolloutPolicy = new GoogleNative.Container.V1Beta1.Inputs.StandardRolloutPolicyArgs
{
BatchNodeCount = 0,
BatchPercentage = 0,
BatchSoakDuration = "string",
},
},
MaxSurge = 0,
MaxUnavailable = 0,
Strategy = GoogleNative.Container.V1Beta1.UpgradeSettingsStrategy.NodePoolUpdateStrategyUnspecified,
},
Version = "string",
},
},
NotificationConfig = new GoogleNative.Container.V1Beta1.Inputs.NotificationConfigArgs
{
Pubsub = new GoogleNative.Container.V1Beta1.Inputs.PubSubArgs
{
Enabled = false,
Filter = new GoogleNative.Container.V1Beta1.Inputs.FilterArgs
{
EventType = new[]
{
GoogleNative.Container.V1Beta1.FilterEventTypeItem.EventTypeUnspecified,
},
},
Topic = "string",
},
},
Parent = "string",
ParentProductConfig = new GoogleNative.Container.V1Beta1.Inputs.ParentProductConfigArgs
{
Labels =
{
{ "string", "string" },
},
ProductName = "string",
},
PodSecurityPolicyConfig = new GoogleNative.Container.V1Beta1.Inputs.PodSecurityPolicyConfigArgs
{
Enabled = false,
},
PrivateClusterConfig = new GoogleNative.Container.V1Beta1.Inputs.PrivateClusterConfigArgs
{
EnablePrivateEndpoint = false,
EnablePrivateNodes = false,
MasterGlobalAccessConfig = new GoogleNative.Container.V1Beta1.Inputs.PrivateClusterMasterGlobalAccessConfigArgs
{
Enabled = false,
},
MasterIpv4CidrBlock = "string",
PrivateEndpointSubnetwork = "string",
},
ReleaseChannel = new GoogleNative.Container.V1Beta1.Inputs.ReleaseChannelArgs
{
Channel = GoogleNative.Container.V1Beta1.ReleaseChannelChannel.Unspecified,
},
ResourceLabels =
{
{ "string", "string" },
},
ResourceUsageExportConfig = new GoogleNative.Container.V1Beta1.Inputs.ResourceUsageExportConfigArgs
{
BigqueryDestination = new GoogleNative.Container.V1Beta1.Inputs.BigQueryDestinationArgs
{
DatasetId = "string",
},
ConsumptionMeteringConfig = new GoogleNative.Container.V1Beta1.Inputs.ConsumptionMeteringConfigArgs
{
Enabled = false,
},
EnableNetworkEgressMetering = false,
},
SecurityPostureConfig = new GoogleNative.Container.V1Beta1.Inputs.SecurityPostureConfigArgs
{
Mode = GoogleNative.Container.V1Beta1.SecurityPostureConfigMode.ModeUnspecified,
VulnerabilityMode = GoogleNative.Container.V1Beta1.SecurityPostureConfigVulnerabilityMode.VulnerabilityModeUnspecified,
},
ShieldedNodes = new GoogleNative.Container.V1Beta1.Inputs.ShieldedNodesArgs
{
Enabled = false,
},
Subnetwork = "string",
TpuConfig = new GoogleNative.Container.V1Beta1.Inputs.TpuConfigArgs
{
Enabled = false,
Ipv4CidrBlock = "string",
UseServiceNetworking = false,
},
VerticalPodAutoscaling = new GoogleNative.Container.V1Beta1.Inputs.VerticalPodAutoscalingArgs
{
Enabled = false,
},
WorkloadAltsConfig = new GoogleNative.Container.V1Beta1.Inputs.WorkloadALTSConfigArgs
{
EnableAlts = false,
},
WorkloadCertificates = new GoogleNative.Container.V1Beta1.Inputs.WorkloadCertificatesArgs
{
EnableCertificates = false,
},
WorkloadIdentityConfig = new GoogleNative.Container.V1Beta1.Inputs.WorkloadIdentityConfigArgs
{
IdentityNamespace = "string",
IdentityProvider = "string",
WorkloadPool = "string",
},
});
example, err := containerv1beta1.NewCluster(ctx, "exampleclusterResourceResourceFromContainerv1beta1", &containerv1beta1.ClusterArgs{
AddonsConfig: &container.AddonsConfigArgs{
CloudRunConfig: &container.CloudRunConfigArgs{
Disabled: pulumi.Bool(false),
LoadBalancerType: containerv1beta1.CloudRunConfigLoadBalancerTypeLoadBalancerTypeUnspecified,
},
ConfigConnectorConfig: &container.ConfigConnectorConfigArgs{
Enabled: pulumi.Bool(false),
},
DnsCacheConfig: &container.DnsCacheConfigArgs{
Enabled: pulumi.Bool(false),
},
GcePersistentDiskCsiDriverConfig: &container.GcePersistentDiskCsiDriverConfigArgs{
Enabled: pulumi.Bool(false),
},
GcpFilestoreCsiDriverConfig: &container.GcpFilestoreCsiDriverConfigArgs{
Enabled: pulumi.Bool(false),
},
GcsFuseCsiDriverConfig: &container.GcsFuseCsiDriverConfigArgs{
Enabled: pulumi.Bool(false),
},
GkeBackupAgentConfig: &container.GkeBackupAgentConfigArgs{
Enabled: pulumi.Bool(false),
},
HorizontalPodAutoscaling: &container.HorizontalPodAutoscalingArgs{
Disabled: pulumi.Bool(false),
},
HttpLoadBalancing: &container.HttpLoadBalancingArgs{
Disabled: pulumi.Bool(false),
},
IstioConfig: &container.IstioConfigArgs{
Auth: containerv1beta1.IstioConfigAuthAuthNone,
Disabled: pulumi.Bool(false),
},
KalmConfig: &container.KalmConfigArgs{
Enabled: pulumi.Bool(false),
},
KubernetesDashboard: &container.KubernetesDashboardArgs{
Disabled: pulumi.Bool(false),
},
NetworkPolicyConfig: &container.NetworkPolicyConfigArgs{
Disabled: pulumi.Bool(false),
},
},
AuthenticatorGroupsConfig: &container.AuthenticatorGroupsConfigArgs{
Enabled: pulumi.Bool(false),
SecurityGroup: pulumi.String("string"),
},
Autopilot: &container.AutopilotArgs{
ConversionStatus: &container.AutopilotConversionStatusArgs{},
Enabled: pulumi.Bool(false),
WorkloadPolicyConfig: &container.WorkloadPolicyConfigArgs{
AllowNetAdmin: pulumi.Bool(false),
},
},
Autoscaling: &container.ClusterAutoscalingArgs{
AutoprovisioningLocations: pulumi.StringArray{
pulumi.String("string"),
},
AutoprovisioningNodePoolDefaults: &container.AutoprovisioningNodePoolDefaultsArgs{
BootDiskKmsKey: pulumi.String("string"),
DiskSizeGb: pulumi.Int(0),
DiskType: pulumi.String("string"),
ImageType: pulumi.String("string"),
InsecureKubeletReadonlyPortEnabled: pulumi.Bool(false),
Management: &container.NodeManagementArgs{
AutoRepair: pulumi.Bool(false),
AutoUpgrade: pulumi.Bool(false),
UpgradeOptions: &container.AutoUpgradeOptionsArgs{},
},
OauthScopes: pulumi.StringArray{
pulumi.String("string"),
},
ServiceAccount: pulumi.String("string"),
ShieldedInstanceConfig: &container.ShieldedInstanceConfigArgs{
EnableIntegrityMonitoring: pulumi.Bool(false),
EnableSecureBoot: pulumi.Bool(false),
},
UpgradeSettings: &container.UpgradeSettingsArgs{
BlueGreenSettings: &container.BlueGreenSettingsArgs{
NodePoolSoakDuration: pulumi.String("string"),
StandardRolloutPolicy: &container.StandardRolloutPolicyArgs{
BatchNodeCount: pulumi.Int(0),
BatchPercentage: pulumi.Float64(0),
BatchSoakDuration: pulumi.String("string"),
},
},
MaxSurge: pulumi.Int(0),
MaxUnavailable: pulumi.Int(0),
Strategy: containerv1beta1.UpgradeSettingsStrategyNodePoolUpdateStrategyUnspecified,
},
},
AutoscalingProfile: containerv1beta1.ClusterAutoscalingAutoscalingProfileProfileUnspecified,
EnableNodeAutoprovisioning: pulumi.Bool(false),
ResourceLimits: container.ResourceLimitArray{
&container.ResourceLimitArgs{
Maximum: pulumi.String("string"),
Minimum: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
},
BinaryAuthorization: &container.BinaryAuthorizationArgs{
EvaluationMode: containerv1beta1.BinaryAuthorizationEvaluationModeEvaluationModeUnspecified,
PolicyBindings: container.PolicyBindingArray{
&container.PolicyBindingArgs{
Name: pulumi.String("string"),
},
},
},
ClusterIpv4Cidr: pulumi.String("string"),
ClusterTelemetry: &container.ClusterTelemetryArgs{
Type: containerv1beta1.ClusterTelemetryTypeUnspecified,
},
Conditions: container.StatusConditionArray{
&container.StatusConditionArgs{
CanonicalCode: containerv1beta1.StatusConditionCanonicalCodeOk,
Message: pulumi.String("string"),
},
},
ConfidentialNodes: &container.ConfidentialNodesArgs{
Enabled: pulumi.Bool(false),
},
CostManagementConfig: &container.CostManagementConfigArgs{
Enabled: pulumi.Bool(false),
},
DatabaseEncryption: &container.DatabaseEncryptionArgs{
KeyName: pulumi.String("string"),
State: containerv1beta1.DatabaseEncryptionStateUnknown,
},
DefaultMaxPodsConstraint: &container.MaxPodsConstraintArgs{
MaxPodsPerNode: pulumi.String("string"),
},
Description: pulumi.String("string"),
EnableK8sBetaApis: &container.K8sBetaAPIConfigArgs{
EnabledApis: pulumi.StringArray{
pulumi.String("string"),
},
},
EnableKubernetesAlpha: pulumi.Bool(false),
EnterpriseConfig: &container.EnterpriseConfigArgs{},
Etag: pulumi.String("string"),
Fleet: &container.FleetArgs{
Project: pulumi.String("string"),
},
IdentityServiceConfig: &container.IdentityServiceConfigArgs{
Enabled: pulumi.Bool(false),
},
InitialClusterVersion: pulumi.String("string"),
IpAllocationPolicy: &container.IPAllocationPolicyArgs{
AllowRouteOverlap: pulumi.Bool(false),
ClusterIpv4CidrBlock: pulumi.String("string"),
ClusterSecondaryRangeName: pulumi.String("string"),
CreateSubnetwork: pulumi.Bool(false),
Ipv6AccessType: containerv1beta1.IPAllocationPolicyIpv6AccessTypeIpv6AccessTypeUnspecified,
NodeIpv4CidrBlock: pulumi.String("string"),
PodCidrOverprovisionConfig: &container.PodCIDROverprovisionConfigArgs{
Disable: pulumi.Bool(false),
},
ServicesIpv4CidrBlock: pulumi.String("string"),
ServicesSecondaryRangeName: pulumi.String("string"),
StackType: containerv1beta1.IPAllocationPolicyStackTypeStackTypeUnspecified,
SubnetworkName: pulumi.String("string"),
UseIpAliases: pulumi.Bool(false),
UseRoutes: pulumi.Bool(false),
},
LegacyAbac: &container.LegacyAbacArgs{
Enabled: pulumi.Bool(false),
},
Location: pulumi.String("string"),
Locations: pulumi.StringArray{
pulumi.String("string"),
},
LoggingConfig: &container.LoggingConfigArgs{
ComponentConfig: &container.LoggingComponentConfigArgs{
EnableComponents: container.LoggingComponentConfigEnableComponentsItemArray{
containerv1beta1.LoggingComponentConfigEnableComponentsItemComponentUnspecified,
},
},
},
LoggingService: pulumi.String("string"),
MaintenancePolicy: &container.MaintenancePolicyArgs{
ResourceVersion: pulumi.String("string"),
Window: &container.MaintenanceWindowArgs{
DailyMaintenanceWindow: &container.DailyMaintenanceWindowArgs{
StartTime: pulumi.String("string"),
},
MaintenanceExclusions: pulumi.StringMap{
"string": pulumi.String("string"),
},
RecurringWindow: &container.RecurringTimeWindowArgs{
Recurrence: pulumi.String("string"),
Window: &container.TimeWindowArgs{
EndTime: pulumi.String("string"),
MaintenanceExclusionOptions: &container.MaintenanceExclusionOptionsArgs{
Scope: containerv1beta1.MaintenanceExclusionOptionsScopeNoUpgrades,
},
StartTime: pulumi.String("string"),
},
},
},
},
Master: &container.MasterArgs{},
MasterAuth: &container.MasterAuthArgs{
ClientCertificateConfig: &container.ClientCertificateConfigArgs{
IssueClientCertificate: pulumi.Bool(false),
},
ClusterCaCertificate: pulumi.String("string"),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
MasterAuthorizedNetworksConfig: &container.MasterAuthorizedNetworksConfigArgs{
CidrBlocks: container.CidrBlockArray{
&container.CidrBlockArgs{
CidrBlock: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
},
Enabled: pulumi.Bool(false),
GcpPublicCidrsAccessEnabled: pulumi.Bool(false),
},
MeshCertificates: &container.MeshCertificatesArgs{
EnableCertificates: pulumi.Bool(false),
},
MonitoringConfig: &container.MonitoringConfigArgs{
AdvancedDatapathObservabilityConfig: &container.AdvancedDatapathObservabilityConfigArgs{
EnableMetrics: pulumi.Bool(false),
RelayMode: containerv1beta1.AdvancedDatapathObservabilityConfigRelayModeRelayModeUnspecified,
},
ComponentConfig: &container.MonitoringComponentConfigArgs{
EnableComponents: container.MonitoringComponentConfigEnableComponentsItemArray{
containerv1beta1.MonitoringComponentConfigEnableComponentsItemComponentUnspecified,
},
},
ManagedPrometheusConfig: &container.ManagedPrometheusConfigArgs{
Enabled: pulumi.Bool(false),
},
},
MonitoringService: pulumi.String("string"),
Name: pulumi.String("string"),
Network: pulumi.String("string"),
NetworkConfig: &container.NetworkConfigArgs{
DatapathProvider: containerv1beta1.NetworkConfigDatapathProviderDatapathProviderUnspecified,
DefaultSnatStatus: &container.DefaultSnatStatusArgs{
Disabled: pulumi.Bool(false),
},
DnsConfig: &container.DNSConfigArgs{
ClusterDns: containerv1beta1.DNSConfigClusterDnsProviderUnspecified,
ClusterDnsDomain: pulumi.String("string"),
ClusterDnsScope: containerv1beta1.DNSConfigClusterDnsScopeDnsScopeUnspecified,
},
EnableFqdnNetworkPolicy: pulumi.Bool(false),
EnableIntraNodeVisibility: pulumi.Bool(false),
EnableL4ilbSubsetting: pulumi.Bool(false),
EnableMultiNetworking: pulumi.Bool(false),
GatewayApiConfig: &container.GatewayAPIConfigArgs{
Channel: containerv1beta1.GatewayAPIConfigChannelChannelUnspecified,
},
InTransitEncryptionConfig: containerv1beta1.NetworkConfigInTransitEncryptionConfigInTransitEncryptionConfigUnspecified,
NetworkPerformanceConfig: &container.ClusterNetworkPerformanceConfigArgs{
TotalEgressBandwidthTier: containerv1beta1.ClusterNetworkPerformanceConfigTotalEgressBandwidthTierTierUnspecified,
},
PrivateIpv6GoogleAccess: containerv1beta1.NetworkConfigPrivateIpv6GoogleAccessPrivateIpv6GoogleAccessUnspecified,
ServiceExternalIpsConfig: &container.ServiceExternalIPsConfigArgs{
Enabled: pulumi.Bool(false),
},
},
NetworkPolicy: &container.NetworkPolicyArgs{
Enabled: pulumi.Bool(false),
Provider: containerv1beta1.NetworkPolicyProviderProviderUnspecified,
},
NodePoolAutoConfig: &container.NodePoolAutoConfigArgs{
NetworkTags: &container.NetworkTagsArgs{
Tags: pulumi.StringArray{
pulumi.String("string"),
},
},
ResourceManagerTags: &container.ResourceManagerTagsArgs{
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
NodePoolDefaults: &container.NodePoolDefaultsArgs{
NodeConfigDefaults: &container.NodeConfigDefaultsArgs{
GcfsConfig: &container.GcfsConfigArgs{
Enabled: pulumi.Bool(false),
},
HostMaintenancePolicy: &container.HostMaintenancePolicyArgs{
MaintenanceInterval: containerv1beta1.HostMaintenancePolicyMaintenanceIntervalMaintenanceIntervalUnspecified,
OpportunisticMaintenanceStrategy: &container.OpportunisticMaintenanceStrategyArgs{
MaintenanceAvailabilityWindow: pulumi.String("string"),
MinNodesPerPool: pulumi.String("string"),
NodeIdleTimeWindow: pulumi.String("string"),
},
},
LoggingConfig: &container.NodePoolLoggingConfigArgs{
VariantConfig: &container.LoggingVariantConfigArgs{
Variant: containerv1beta1.LoggingVariantConfigVariantVariantUnspecified,
},
},
},
},
NodePools: container.NodePoolTypeArray{
&container.NodePoolTypeArgs{
Autoscaling: &container.NodePoolAutoscalingArgs{
Autoprovisioned: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
LocationPolicy: containerv1beta1.NodePoolAutoscalingLocationPolicyLocationPolicyUnspecified,
MaxNodeCount: pulumi.Int(0),
MinNodeCount: pulumi.Int(0),
TotalMaxNodeCount: pulumi.Int(0),
TotalMinNodeCount: pulumi.Int(0),
},
BestEffortProvisioning: &container.BestEffortProvisioningArgs{
Enabled: pulumi.Bool(false),
MinProvisionNodes: pulumi.Int(0),
},
Conditions: container.StatusConditionArray{
&container.StatusConditionArgs{
CanonicalCode: containerv1beta1.StatusConditionCanonicalCodeOk,
Message: pulumi.String("string"),
},
},
Config: &container.NodeConfigArgs{
Accelerators: container.AcceleratorConfigArray{
&container.AcceleratorConfigArgs{
AcceleratorCount: pulumi.String("string"),
AcceleratorType: pulumi.String("string"),
GpuDriverInstallationConfig: &container.GPUDriverInstallationConfigArgs{
GpuDriverVersion: containerv1beta1.GPUDriverInstallationConfigGpuDriverVersionGpuDriverVersionUnspecified,
},
GpuPartitionSize: pulumi.String("string"),
GpuSharingConfig: &container.GPUSharingConfigArgs{
GpuSharingStrategy: containerv1beta1.GPUSharingConfigGpuSharingStrategyGpuSharingStrategyUnspecified,
MaxSharedClientsPerGpu: pulumi.String("string"),
},
MaxTimeSharedClientsPerGpu: pulumi.String("string"),
},
},
AdvancedMachineFeatures: &container.AdvancedMachineFeaturesArgs{
ThreadsPerCore: pulumi.String("string"),
},
BootDiskKmsKey: pulumi.String("string"),
ConfidentialNodes: &container.ConfidentialNodesArgs{
Enabled: pulumi.Bool(false),
},
DiskSizeGb: pulumi.Int(0),
DiskType: pulumi.String("string"),
EnableConfidentialStorage: pulumi.Bool(false),
EphemeralStorageConfig: &container.EphemeralStorageConfigArgs{
LocalSsdCount: pulumi.Int(0),
},
EphemeralStorageLocalSsdConfig: &container.EphemeralStorageLocalSsdConfigArgs{
LocalSsdCount: pulumi.Int(0),
},
FastSocket: &container.FastSocketArgs{
Enabled: pulumi.Bool(false),
},
GcfsConfig: &container.GcfsConfigArgs{
Enabled: pulumi.Bool(false),
},
Gvnic: &container.VirtualNICArgs{
Enabled: pulumi.Bool(false),
},
HostMaintenancePolicy: &container.HostMaintenancePolicyArgs{
MaintenanceInterval: containerv1beta1.HostMaintenancePolicyMaintenanceIntervalMaintenanceIntervalUnspecified,
OpportunisticMaintenanceStrategy: &container.OpportunisticMaintenanceStrategyArgs{
MaintenanceAvailabilityWindow: pulumi.String("string"),
MinNodesPerPool: pulumi.String("string"),
NodeIdleTimeWindow: pulumi.String("string"),
},
},
ImageType: pulumi.String("string"),
KubeletConfig: &container.NodeKubeletConfigArgs{
CpuCfsQuota: pulumi.Bool(false),
CpuCfsQuotaPeriod: pulumi.String("string"),
CpuManagerPolicy: pulumi.String("string"),
InsecureKubeletReadonlyPortEnabled: pulumi.Bool(false),
PodPidsLimit: pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
LinuxNodeConfig: &container.LinuxNodeConfigArgs{
CgroupMode: containerv1beta1.LinuxNodeConfigCgroupModeCgroupModeUnspecified,
Sysctls: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
LocalNvmeSsdBlockConfig: &container.LocalNvmeSsdBlockConfigArgs{
LocalSsdCount: pulumi.Int(0),
},
LocalSsdCount: pulumi.Int(0),
LoggingConfig: &container.NodePoolLoggingConfigArgs{
VariantConfig: &container.LoggingVariantConfigArgs{
Variant: containerv1beta1.LoggingVariantConfigVariantVariantUnspecified,
},
},
MachineType: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
MinCpuPlatform: pulumi.String("string"),
NodeGroup: pulumi.String("string"),
OauthScopes: pulumi.StringArray{
pulumi.String("string"),
},
Preemptible: pulumi.Bool(false),
ReservationAffinity: &container.ReservationAffinityArgs{
ConsumeReservationType: containerv1beta1.ReservationAffinityConsumeReservationTypeUnspecified,
Key: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
ResourceLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ResourceManagerTags: &container.ResourceManagerTagsArgs{
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
SandboxConfig: &container.SandboxConfigArgs{
SandboxType: pulumi.String("string"),
Type: containerv1beta1.SandboxConfigTypeUnspecified,
},
ServiceAccount: pulumi.String("string"),
ShieldedInstanceConfig: &container.ShieldedInstanceConfigArgs{
EnableIntegrityMonitoring: pulumi.Bool(false),
EnableSecureBoot: pulumi.Bool(false),
},
SoleTenantConfig: &container.SoleTenantConfigArgs{
NodeAffinities: container.NodeAffinityArray{
&container.NodeAffinityArgs{
Key: pulumi.String("string"),
Operator: containerv1beta1.NodeAffinityOperatorOperatorUnspecified,
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Spot: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Taints: container.NodeTaintArray{
&container.NodeTaintArgs{
Effect: containerv1beta1.NodeTaintEffectEffectUnspecified,
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
WindowsNodeConfig: &container.WindowsNodeConfigArgs{
OsVersion: containerv1beta1.WindowsNodeConfigOsVersionOsVersionUnspecified,
},
WorkloadMetadataConfig: &container.WorkloadMetadataConfigArgs{
Mode: containerv1beta1.WorkloadMetadataConfigModeModeUnspecified,
NodeMetadata: containerv1beta1.WorkloadMetadataConfigNodeMetadataUnspecified,
},
},
Etag: pulumi.String("string"),
InitialNodeCount: pulumi.Int(0),
Locations: pulumi.StringArray{
pulumi.String("string"),
},
Management: &container.NodeManagementArgs{
AutoRepair: pulumi.Bool(false),
AutoUpgrade: pulumi.Bool(false),
UpgradeOptions: &container.AutoUpgradeOptionsArgs{},
},
MaxPodsConstraint: &container.MaxPodsConstraintArgs{
MaxPodsPerNode: pulumi.String("string"),
},
Name: pulumi.String("string"),
NetworkConfig: &container.NodeNetworkConfigArgs{
AdditionalNodeNetworkConfigs: container.AdditionalNodeNetworkConfigArray{
&container.AdditionalNodeNetworkConfigArgs{
Network: pulumi.String("string"),
Subnetwork: pulumi.String("string"),
},
},
AdditionalPodNetworkConfigs: container.AdditionalPodNetworkConfigArray{
&container.AdditionalPodNetworkConfigArgs{
MaxPodsPerNode: &container.MaxPodsConstraintArgs{
MaxPodsPerNode: pulumi.String("string"),
},
SecondaryPodRange: pulumi.String("string"),
Subnetwork: pulumi.String("string"),
},
},
CreatePodRange: pulumi.Bool(false),
EnablePrivateNodes: pulumi.Bool(false),
NetworkPerformanceConfig: &container.NetworkPerformanceConfigArgs{
ExternalIpEgressBandwidthTier: containerv1beta1.NetworkPerformanceConfigExternalIpEgressBandwidthTierTierUnspecified,
TotalEgressBandwidthTier: containerv1beta1.NetworkPerformanceConfigTotalEgressBandwidthTierTierUnspecified,
},
PodCidrOverprovisionConfig: &container.PodCIDROverprovisionConfigArgs{
Disable: pulumi.Bool(false),
},
PodIpv4CidrBlock: pulumi.String("string"),
PodRange: pulumi.String("string"),
},
PlacementPolicy: &container.PlacementPolicyArgs{
PolicyName: pulumi.String("string"),
TpuTopology: pulumi.String("string"),
Type: containerv1beta1.PlacementPolicyTypeTypeUnspecified,
},
QueuedProvisioning: &container.QueuedProvisioningArgs{
Enabled: pulumi.Bool(false),
},
UpgradeSettings: &container.UpgradeSettingsArgs{
BlueGreenSettings: &container.BlueGreenSettingsArgs{
NodePoolSoakDuration: pulumi.String("string"),
StandardRolloutPolicy: &container.StandardRolloutPolicyArgs{
BatchNodeCount: pulumi.Int(0),
BatchPercentage: pulumi.Float64(0),
BatchSoakDuration: pulumi.String("string"),
},
},
MaxSurge: pulumi.Int(0),
MaxUnavailable: pulumi.Int(0),
Strategy: containerv1beta1.UpgradeSettingsStrategyNodePoolUpdateStrategyUnspecified,
},
Version: pulumi.String("string"),
},
},
NotificationConfig: &container.NotificationConfigArgs{
Pubsub: &container.PubSubArgs{
Enabled: pulumi.Bool(false),
Filter: &container.FilterArgs{
EventType: container.FilterEventTypeItemArray{
containerv1beta1.FilterEventTypeItemEventTypeUnspecified,
},
},
Topic: pulumi.String("string"),
},
},
Parent: pulumi.String("string"),
ParentProductConfig: &container.ParentProductConfigArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ProductName: pulumi.String("string"),
},
PodSecurityPolicyConfig: &container.PodSecurityPolicyConfigArgs{
Enabled: pulumi.Bool(false),
},
PrivateClusterConfig: &container.PrivateClusterConfigArgs{
EnablePrivateEndpoint: pulumi.Bool(false),
EnablePrivateNodes: pulumi.Bool(false),
MasterGlobalAccessConfig: &container.PrivateClusterMasterGlobalAccessConfigArgs{
Enabled: pulumi.Bool(false),
},
MasterIpv4CidrBlock: pulumi.String("string"),
PrivateEndpointSubnetwork: pulumi.String("string"),
},
ReleaseChannel: &container.ReleaseChannelArgs{
Channel: containerv1beta1.ReleaseChannelChannelUnspecified,
},
ResourceLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ResourceUsageExportConfig: &container.ResourceUsageExportConfigArgs{
BigqueryDestination: &container.BigQueryDestinationArgs{
DatasetId: pulumi.String("string"),
},
ConsumptionMeteringConfig: &container.ConsumptionMeteringConfigArgs{
Enabled: pulumi.Bool(false),
},
EnableNetworkEgressMetering: pulumi.Bool(false),
},
SecurityPostureConfig: &container.SecurityPostureConfigArgs{
Mode: containerv1beta1.SecurityPostureConfigModeModeUnspecified,
VulnerabilityMode: containerv1beta1.SecurityPostureConfigVulnerabilityModeVulnerabilityModeUnspecified,
},
ShieldedNodes: &container.ShieldedNodesArgs{
Enabled: pulumi.Bool(false),
},
Subnetwork: pulumi.String("string"),
TpuConfig: &container.TpuConfigArgs{
Enabled: pulumi.Bool(false),
Ipv4CidrBlock: pulumi.String("string"),
UseServiceNetworking: pulumi.Bool(false),
},
VerticalPodAutoscaling: &container.VerticalPodAutoscalingArgs{
Enabled: pulumi.Bool(false),
},
WorkloadAltsConfig: &container.WorkloadALTSConfigArgs{
EnableAlts: pulumi.Bool(false),
},
WorkloadCertificates: &container.WorkloadCertificatesArgs{
EnableCertificates: pulumi.Bool(false),
},
WorkloadIdentityConfig: &container.WorkloadIdentityConfigArgs{
IdentityNamespace: pulumi.String("string"),
IdentityProvider: pulumi.String("string"),
WorkloadPool: pulumi.String("string"),
},
})
var exampleclusterResourceResourceFromContainerv1beta1 = new Cluster("exampleclusterResourceResourceFromContainerv1beta1", ClusterArgs.builder()
.addonsConfig(AddonsConfigArgs.builder()
.cloudRunConfig(CloudRunConfigArgs.builder()
.disabled(false)
.loadBalancerType("LOAD_BALANCER_TYPE_UNSPECIFIED")
.build())
.configConnectorConfig(ConfigConnectorConfigArgs.builder()
.enabled(false)
.build())
.dnsCacheConfig(DnsCacheConfigArgs.builder()
.enabled(false)
.build())
.gcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriverConfigArgs.builder()
.enabled(false)
.build())
.gcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfigArgs.builder()
.enabled(false)
.build())
.gcsFuseCsiDriverConfig(GcsFuseCsiDriverConfigArgs.builder()
.enabled(false)
.build())
.gkeBackupAgentConfig(GkeBackupAgentConfigArgs.builder()
.enabled(false)
.build())
.horizontalPodAutoscaling(HorizontalPodAutoscalingArgs.builder()
.disabled(false)
.build())
.httpLoadBalancing(HttpLoadBalancingArgs.builder()
.disabled(false)
.build())
.istioConfig(IstioConfigArgs.builder()
.auth("AUTH_NONE")
.disabled(false)
.build())
.kalmConfig(KalmConfigArgs.builder()
.enabled(false)
.build())
.kubernetesDashboard(KubernetesDashboardArgs.builder()
.disabled(false)
.build())
.networkPolicyConfig(NetworkPolicyConfigArgs.builder()
.disabled(false)
.build())
.build())
.authenticatorGroupsConfig(AuthenticatorGroupsConfigArgs.builder()
.enabled(false)
.securityGroup("string")
.build())
.autopilot(AutopilotArgs.builder()
.conversionStatus()
.enabled(false)
.workloadPolicyConfig(WorkloadPolicyConfigArgs.builder()
.allowNetAdmin(false)
.build())
.build())
.autoscaling(ClusterAutoscalingArgs.builder()
.autoprovisioningLocations("string")
.autoprovisioningNodePoolDefaults(AutoprovisioningNodePoolDefaultsArgs.builder()
.bootDiskKmsKey("string")
.diskSizeGb(0)
.diskType("string")
.imageType("string")
.insecureKubeletReadonlyPortEnabled(false)
.management(NodeManagementArgs.builder()
.autoRepair(false)
.autoUpgrade(false)
.upgradeOptions()
.build())
.oauthScopes("string")
.serviceAccount("string")
.shieldedInstanceConfig(ShieldedInstanceConfigArgs.builder()
.enableIntegrityMonitoring(false)
.enableSecureBoot(false)
.build())
.upgradeSettings(UpgradeSettingsArgs.builder()
.blueGreenSettings(BlueGreenSettingsArgs.builder()
.nodePoolSoakDuration("string")
.standardRolloutPolicy(StandardRolloutPolicyArgs.builder()
.batchNodeCount(0)
.batchPercentage(0)
.batchSoakDuration("string")
.build())
.build())
.maxSurge(0)
.maxUnavailable(0)
.strategy("NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED")
.build())
.build())
.autoscalingProfile("PROFILE_UNSPECIFIED")
.enableNodeAutoprovisioning(false)
.resourceLimits(ResourceLimitArgs.builder()
.maximum("string")
.minimum("string")
.resourceType("string")
.build())
.build())
.binaryAuthorization(BinaryAuthorizationArgs.builder()
.evaluationMode("EVALUATION_MODE_UNSPECIFIED")
.policyBindings(PolicyBindingArgs.builder()
.name("string")
.build())
.build())
.clusterIpv4Cidr("string")
.clusterTelemetry(ClusterTelemetryArgs.builder()
.type("UNSPECIFIED")
.build())
.conditions(StatusConditionArgs.builder()
.canonicalCode("OK")
.message("string")
.build())
.confidentialNodes(ConfidentialNodesArgs.builder()
.enabled(false)
.build())
.costManagementConfig(CostManagementConfigArgs.builder()
.enabled(false)
.build())
.databaseEncryption(DatabaseEncryptionArgs.builder()
.keyName("string")
.state("UNKNOWN")
.build())
.defaultMaxPodsConstraint(MaxPodsConstraintArgs.builder()
.maxPodsPerNode("string")
.build())
.description("string")
.enableK8sBetaApis(K8sBetaAPIConfigArgs.builder()
.enabledApis("string")
.build())
.enableKubernetesAlpha(false)
.enterpriseConfig()
.etag("string")
.fleet(FleetArgs.builder()
.project("string")
.build())
.identityServiceConfig(IdentityServiceConfigArgs.builder()
.enabled(false)
.build())
.initialClusterVersion("string")
.ipAllocationPolicy(IPAllocationPolicyArgs.builder()
.allowRouteOverlap(false)
.clusterIpv4CidrBlock("string")
.clusterSecondaryRangeName("string")
.createSubnetwork(false)
.ipv6AccessType("IPV6_ACCESS_TYPE_UNSPECIFIED")
.nodeIpv4CidrBlock("string")
.podCidrOverprovisionConfig(PodCIDROverprovisionConfigArgs.builder()
.disable(false)
.build())
.servicesIpv4CidrBlock("string")
.servicesSecondaryRangeName("string")
.stackType("STACK_TYPE_UNSPECIFIED")
.subnetworkName("string")
.useIpAliases(false)
.useRoutes(false)
.build())
.legacyAbac(LegacyAbacArgs.builder()
.enabled(false)
.build())
.location("string")
.locations("string")
.loggingConfig(LoggingConfigArgs.builder()
.componentConfig(LoggingComponentConfigArgs.builder()
.enableComponents("COMPONENT_UNSPECIFIED")
.build())
.build())
.loggingService("string")
.maintenancePolicy(MaintenancePolicyArgs.builder()
.resourceVersion("string")
.window(MaintenanceWindowArgs.builder()
.dailyMaintenanceWindow(DailyMaintenanceWindowArgs.builder()
.startTime("string")
.build())
.maintenanceExclusions(Map.of("string", "string"))
.recurringWindow(RecurringTimeWindowArgs.builder()
.recurrence("string")
.window(TimeWindowArgs.builder()
.endTime("string")
.maintenanceExclusionOptions(MaintenanceExclusionOptionsArgs.builder()
.scope("NO_UPGRADES")
.build())
.startTime("string")
.build())
.build())
.build())
.build())
.master()
.masterAuth(MasterAuthArgs.builder()
.clientCertificateConfig(ClientCertificateConfigArgs.builder()
.issueClientCertificate(false)
.build())
.clusterCaCertificate("string")
.password("string")
.username("string")
.build())
.masterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfigArgs.builder()
.cidrBlocks(CidrBlockArgs.builder()
.cidrBlock("string")
.displayName("string")
.build())
.enabled(false)
.gcpPublicCidrsAccessEnabled(false)
.build())
.meshCertificates(MeshCertificatesArgs.builder()
.enableCertificates(false)
.build())
.monitoringConfig(MonitoringConfigArgs.builder()
.advancedDatapathObservabilityConfig(AdvancedDatapathObservabilityConfigArgs.builder()
.enableMetrics(false)
.relayMode("RELAY_MODE_UNSPECIFIED")
.build())
.componentConfig(MonitoringComponentConfigArgs.builder()
.enableComponents("COMPONENT_UNSPECIFIED")
.build())
.managedPrometheusConfig(ManagedPrometheusConfigArgs.builder()
.enabled(false)
.build())
.build())
.monitoringService("string")
.name("string")
.network("string")
.networkConfig(NetworkConfigArgs.builder()
.datapathProvider("DATAPATH_PROVIDER_UNSPECIFIED")
.defaultSnatStatus(DefaultSnatStatusArgs.builder()
.disabled(false)
.build())
.dnsConfig(DNSConfigArgs.builder()
.clusterDns("PROVIDER_UNSPECIFIED")
.clusterDnsDomain("string")
.clusterDnsScope("DNS_SCOPE_UNSPECIFIED")
.build())
.enableFqdnNetworkPolicy(false)
.enableIntraNodeVisibility(false)
.enableL4ilbSubsetting(false)
.enableMultiNetworking(false)
.gatewayApiConfig(GatewayAPIConfigArgs.builder()
.channel("CHANNEL_UNSPECIFIED")
.build())
.inTransitEncryptionConfig("IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED")
.networkPerformanceConfig(ClusterNetworkPerformanceConfigArgs.builder()
.totalEgressBandwidthTier("TIER_UNSPECIFIED")
.build())
.privateIpv6GoogleAccess("PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED")
.serviceExternalIpsConfig(ServiceExternalIPsConfigArgs.builder()
.enabled(false)
.build())
.build())
.networkPolicy(NetworkPolicyArgs.builder()
.enabled(false)
.provider("PROVIDER_UNSPECIFIED")
.build())
.nodePoolAutoConfig(NodePoolAutoConfigArgs.builder()
.networkTags(NetworkTagsArgs.builder()
.tags("string")
.build())
.resourceManagerTags(ResourceManagerTagsArgs.builder()
.tags(Map.of("string", "string"))
.build())
.build())
.nodePoolDefaults(NodePoolDefaultsArgs.builder()
.nodeConfigDefaults(NodeConfigDefaultsArgs.builder()
.gcfsConfig(GcfsConfigArgs.builder()
.enabled(false)
.build())
.hostMaintenancePolicy(HostMaintenancePolicyArgs.builder()
.maintenanceInterval("MAINTENANCE_INTERVAL_UNSPECIFIED")
.opportunisticMaintenanceStrategy(OpportunisticMaintenanceStrategyArgs.builder()
.maintenanceAvailabilityWindow("string")
.minNodesPerPool("string")
.nodeIdleTimeWindow("string")
.build())
.build())
.loggingConfig(NodePoolLoggingConfigArgs.builder()
.variantConfig(LoggingVariantConfigArgs.builder()
.variant("VARIANT_UNSPECIFIED")
.build())
.build())
.build())
.build())
.nodePools(NodePoolArgs.builder()
.autoscaling(NodePoolAutoscalingArgs.builder()
.autoprovisioned(false)
.enabled(false)
.locationPolicy("LOCATION_POLICY_UNSPECIFIED")
.maxNodeCount(0)
.minNodeCount(0)
.totalMaxNodeCount(0)
.totalMinNodeCount(0)
.build())
.bestEffortProvisioning(BestEffortProvisioningArgs.builder()
.enabled(false)
.minProvisionNodes(0)
.build())
.conditions(StatusConditionArgs.builder()
.canonicalCode("OK")
.message("string")
.build())
.config(NodeConfigArgs.builder()
.accelerators(AcceleratorConfigArgs.builder()
.acceleratorCount("string")
.acceleratorType("string")
.gpuDriverInstallationConfig(GPUDriverInstallationConfigArgs.builder()
.gpuDriverVersion("GPU_DRIVER_VERSION_UNSPECIFIED")
.build())
.gpuPartitionSize("string")
.gpuSharingConfig(GPUSharingConfigArgs.builder()
.gpuSharingStrategy("GPU_SHARING_STRATEGY_UNSPECIFIED")
.maxSharedClientsPerGpu("string")
.build())
.maxTimeSharedClientsPerGpu("string")
.build())
.advancedMachineFeatures(AdvancedMachineFeaturesArgs.builder()
.threadsPerCore("string")
.build())
.bootDiskKmsKey("string")
.confidentialNodes(ConfidentialNodesArgs.builder()
.enabled(false)
.build())
.diskSizeGb(0)
.diskType("string")
.enableConfidentialStorage(false)
.ephemeralStorageConfig(EphemeralStorageConfigArgs.builder()
.localSsdCount(0)
.build())
.ephemeralStorageLocalSsdConfig(EphemeralStorageLocalSsdConfigArgs.builder()
.localSsdCount(0)
.build())
.fastSocket(FastSocketArgs.builder()
.enabled(false)
.build())
.gcfsConfig(GcfsConfigArgs.builder()
.enabled(false)
.build())
.gvnic(VirtualNICArgs.builder()
.enabled(false)
.build())
.hostMaintenancePolicy(HostMaintenancePolicyArgs.builder()
.maintenanceInterval("MAINTENANCE_INTERVAL_UNSPECIFIED")
.opportunisticMaintenanceStrategy(OpportunisticMaintenanceStrategyArgs.builder()
.maintenanceAvailabilityWindow("string")
.minNodesPerPool("string")
.nodeIdleTimeWindow("string")
.build())
.build())
.imageType("string")
.kubeletConfig(NodeKubeletConfigArgs.builder()
.cpuCfsQuota(false)
.cpuCfsQuotaPeriod("string")
.cpuManagerPolicy("string")
.insecureKubeletReadonlyPortEnabled(false)
.podPidsLimit("string")
.build())
.labels(Map.of("string", "string"))
.linuxNodeConfig(LinuxNodeConfigArgs.builder()
.cgroupMode("CGROUP_MODE_UNSPECIFIED")
.sysctls(Map.of("string", "string"))
.build())
.localNvmeSsdBlockConfig(LocalNvmeSsdBlockConfigArgs.builder()
.localSsdCount(0)
.build())
.localSsdCount(0)
.loggingConfig(NodePoolLoggingConfigArgs.builder()
.variantConfig(LoggingVariantConfigArgs.builder()
.variant("VARIANT_UNSPECIFIED")
.build())
.build())
.machineType("string")
.metadata(Map.of("string", "string"))
.minCpuPlatform("string")
.nodeGroup("string")
.oauthScopes("string")
.preemptible(false)
.reservationAffinity(ReservationAffinityArgs.builder()
.consumeReservationType("UNSPECIFIED")
.key("string")
.values("string")
.build())
.resourceLabels(Map.of("string", "string"))
.resourceManagerTags(ResourceManagerTagsArgs.builder()
.tags(Map.of("string", "string"))
.build())
.sandboxConfig(SandboxConfigArgs.builder()
.sandboxType("string")
.type("UNSPECIFIED")
.build())
.serviceAccount("string")
.shieldedInstanceConfig(ShieldedInstanceConfigArgs.builder()
.enableIntegrityMonitoring(false)
.enableSecureBoot(false)
.build())
.soleTenantConfig(SoleTenantConfigArgs.builder()
.nodeAffinities(NodeAffinityArgs.builder()
.key("string")
.operator("OPERATOR_UNSPECIFIED")
.values("string")
.build())
.build())
.spot(false)
.tags("string")
.taints(NodeTaintArgs.builder()
.effect("EFFECT_UNSPECIFIED")
.key("string")
.value("string")
.build())
.windowsNodeConfig(WindowsNodeConfigArgs.builder()
.osVersion("OS_VERSION_UNSPECIFIED")
.build())
.workloadMetadataConfig(WorkloadMetadataConfigArgs.builder()
.mode("MODE_UNSPECIFIED")
.nodeMetadata("UNSPECIFIED")
.build())
.build())
.etag("string")
.initialNodeCount(0)
.locations("string")
.management(NodeManagementArgs.builder()
.autoRepair(false)
.autoUpgrade(false)
.upgradeOptions()
.build())
.maxPodsConstraint(MaxPodsConstraintArgs.builder()
.maxPodsPerNode("string")
.build())
.name("string")
.networkConfig(NodeNetworkConfigArgs.builder()
.additionalNodeNetworkConfigs(AdditionalNodeNetworkConfigArgs.builder()
.network("string")
.subnetwork("string")
.build())
.additionalPodNetworkConfigs(AdditionalPodNetworkConfigArgs.builder()
.maxPodsPerNode(MaxPodsConstraintArgs.builder()
.maxPodsPerNode("string")
.build())
.secondaryPodRange("string")
.subnetwork("string")
.build())
.createPodRange(false)
.enablePrivateNodes(false)
.networkPerformanceConfig(NetworkPerformanceConfigArgs.builder()
.externalIpEgressBandwidthTier("TIER_UNSPECIFIED")
.totalEgressBandwidthTier("TIER_UNSPECIFIED")
.build())
.podCidrOverprovisionConfig(PodCIDROverprovisionConfigArgs.builder()
.disable(false)
.build())
.podIpv4CidrBlock("string")
.podRange("string")
.build())
.placementPolicy(PlacementPolicyArgs.builder()
.policyName("string")
.tpuTopology("string")
.type("TYPE_UNSPECIFIED")
.build())
.queuedProvisioning(QueuedProvisioningArgs.builder()
.enabled(false)
.build())
.upgradeSettings(UpgradeSettingsArgs.builder()
.blueGreenSettings(BlueGreenSettingsArgs.builder()
.nodePoolSoakDuration("string")
.standardRolloutPolicy(StandardRolloutPolicyArgs.builder()
.batchNodeCount(0)
.batchPercentage(0)
.batchSoakDuration("string")
.build())
.build())
.maxSurge(0)
.maxUnavailable(0)
.strategy("NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED")
.build())
.version("string")
.build())
.notificationConfig(NotificationConfigArgs.builder()
.pubsub(PubSubArgs.builder()
.enabled(false)
.filter(FilterArgs.builder()
.eventType("EVENT_TYPE_UNSPECIFIED")
.build())
.topic("string")
.build())
.build())
.parent("string")
.parentProductConfig(ParentProductConfigArgs.builder()
.labels(Map.of("string", "string"))
.productName("string")
.build())
.podSecurityPolicyConfig(PodSecurityPolicyConfigArgs.builder()
.enabled(false)
.build())
.privateClusterConfig(PrivateClusterConfigArgs.builder()
.enablePrivateEndpoint(false)
.enablePrivateNodes(false)
.masterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfigArgs.builder()
.enabled(false)
.build())
.masterIpv4CidrBlock("string")
.privateEndpointSubnetwork("string")
.build())
.releaseChannel(ReleaseChannelArgs.builder()
.channel("UNSPECIFIED")
.build())
.resourceLabels(Map.of("string", "string"))
.resourceUsageExportConfig(ResourceUsageExportConfigArgs.builder()
.bigqueryDestination(BigQueryDestinationArgs.builder()
.datasetId("string")
.build())
.consumptionMeteringConfig(ConsumptionMeteringConfigArgs.builder()
.enabled(false)
.build())
.enableNetworkEgressMetering(false)
.build())
.securityPostureConfig(SecurityPostureConfigArgs.builder()
.mode("MODE_UNSPECIFIED")
.vulnerabilityMode("VULNERABILITY_MODE_UNSPECIFIED")
.build())
.shieldedNodes(ShieldedNodesArgs.builder()
.enabled(false)
.build())
.subnetwork("string")
.tpuConfig(TpuConfigArgs.builder()
.enabled(false)
.ipv4CidrBlock("string")
.useServiceNetworking(false)
.build())
.verticalPodAutoscaling(VerticalPodAutoscalingArgs.builder()
.enabled(false)
.build())
.workloadAltsConfig(WorkloadALTSConfigArgs.builder()
.enableAlts(false)
.build())
.workloadCertificates(WorkloadCertificatesArgs.builder()
.enableCertificates(false)
.build())
.workloadIdentityConfig(WorkloadIdentityConfigArgs.builder()
.identityNamespace("string")
.identityProvider("string")
.workloadPool("string")
.build())
.build());
examplecluster_resource_resource_from_containerv1beta1 = google_native.container.v1beta1.Cluster("exampleclusterResourceResourceFromContainerv1beta1",
addons_config={
"cloud_run_config": {
"disabled": False,
"load_balancer_type": google_native.container.v1beta1.CloudRunConfigLoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED,
},
"config_connector_config": {
"enabled": False,
},
"dns_cache_config": {
"enabled": False,
},
"gce_persistent_disk_csi_driver_config": {
"enabled": False,
},
"gcp_filestore_csi_driver_config": {
"enabled": False,
},
"gcs_fuse_csi_driver_config": {
"enabled": False,
},
"gke_backup_agent_config": {
"enabled": False,
},
"horizontal_pod_autoscaling": {
"disabled": False,
},
"http_load_balancing": {
"disabled": False,
},
"istio_config": {
"auth": google_native.container.v1beta1.IstioConfigAuth.AUTH_NONE,
"disabled": False,
},
"kalm_config": {
"enabled": False,
},
"kubernetes_dashboard": {
"disabled": False,
},
"network_policy_config": {
"disabled": False,
},
},
authenticator_groups_config={
"enabled": False,
"security_group": "string",
},
autopilot={
"conversion_status": {},
"enabled": False,
"workload_policy_config": {
"allow_net_admin": False,
},
},
autoscaling={
"autoprovisioning_locations": ["string"],
"autoprovisioning_node_pool_defaults": {
"boot_disk_kms_key": "string",
"disk_size_gb": 0,
"disk_type": "string",
"image_type": "string",
"insecure_kubelet_readonly_port_enabled": False,
"management": {
"auto_repair": False,
"auto_upgrade": False,
"upgrade_options": {},
},
"oauth_scopes": ["string"],
"service_account": "string",
"shielded_instance_config": {
"enable_integrity_monitoring": False,
"enable_secure_boot": False,
},
"upgrade_settings": {
"blue_green_settings": {
"node_pool_soak_duration": "string",
"standard_rollout_policy": {
"batch_node_count": 0,
"batch_percentage": 0,
"batch_soak_duration": "string",
},
},
"max_surge": 0,
"max_unavailable": 0,
"strategy": google_native.container.v1beta1.UpgradeSettingsStrategy.NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED,
},
},
"autoscaling_profile": google_native.container.v1beta1.ClusterAutoscalingAutoscalingProfile.PROFILE_UNSPECIFIED,
"enable_node_autoprovisioning": False,
"resource_limits": [{
"maximum": "string",
"minimum": "string",
"resource_type": "string",
}],
},
binary_authorization={
"evaluation_mode": google_native.container.v1beta1.BinaryAuthorizationEvaluationMode.EVALUATION_MODE_UNSPECIFIED,
"policy_bindings": [{
"name": "string",
}],
},
cluster_ipv4_cidr="string",
cluster_telemetry={
"type": google_native.container.v1beta1.ClusterTelemetryType.UNSPECIFIED,
},
conditions=[{
"canonical_code": google_native.container.v1beta1.StatusConditionCanonicalCode.OK,
"message": "string",
}],
confidential_nodes={
"enabled": False,
},
cost_management_config={
"enabled": False,
},
database_encryption={
"key_name": "string",
"state": google_native.container.v1beta1.DatabaseEncryptionState.UNKNOWN,
},
default_max_pods_constraint={
"max_pods_per_node": "string",
},
description="string",
enable_k8s_beta_apis={
"enabled_apis": ["string"],
},
enable_kubernetes_alpha=False,
enterprise_config={},
etag="string",
fleet={
"project": "string",
},
identity_service_config={
"enabled": False,
},
initial_cluster_version="string",
ip_allocation_policy={
"allow_route_overlap": False,
"cluster_ipv4_cidr_block": "string",
"cluster_secondary_range_name": "string",
"create_subnetwork": False,
"ipv6_access_type": google_native.container.v1beta1.IPAllocationPolicyIpv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED,
"node_ipv4_cidr_block": "string",
"pod_cidr_overprovision_config": {
"disable": False,
},
"services_ipv4_cidr_block": "string",
"services_secondary_range_name": "string",
"stack_type": google_native.container.v1beta1.IPAllocationPolicyStackType.STACK_TYPE_UNSPECIFIED,
"subnetwork_name": "string",
"use_ip_aliases": False,
"use_routes": False,
},
legacy_abac={
"enabled": False,
},
location="string",
locations=["string"],
logging_config={
"component_config": {
"enable_components": [google_native.container.v1beta1.LoggingComponentConfigEnableComponentsItem.COMPONENT_UNSPECIFIED],
},
},
logging_service="string",
maintenance_policy={
"resource_version": "string",
"window": {
"daily_maintenance_window": {
"start_time": "string",
},
"maintenance_exclusions": {
"string": "string",
},
"recurring_window": {
"recurrence": "string",
"window": {
"end_time": "string",
"maintenance_exclusion_options": {
"scope": google_native.container.v1beta1.MaintenanceExclusionOptionsScope.NO_UPGRADES,
},
"start_time": "string",
},
},
},
},
master={},
master_auth={
"client_certificate_config": {
"issue_client_certificate": False,
},
"cluster_ca_certificate": "string",
"password": "string",
"username": "string",
},
master_authorized_networks_config={
"cidr_blocks": [{
"cidr_block": "string",
"display_name": "string",
}],
"enabled": False,
"gcp_public_cidrs_access_enabled": False,
},
mesh_certificates={
"enable_certificates": False,
},
monitoring_config={
"advanced_datapath_observability_config": {
"enable_metrics": False,
"relay_mode": google_native.container.v1beta1.AdvancedDatapathObservabilityConfigRelayMode.RELAY_MODE_UNSPECIFIED,
},
"component_config": {
"enable_components": [google_native.container.v1beta1.MonitoringComponentConfigEnableComponentsItem.COMPONENT_UNSPECIFIED],
},
"managed_prometheus_config": {
"enabled": False,
},
},
monitoring_service="string",
name="string",
network="string",
network_config={
"datapath_provider": google_native.container.v1beta1.NetworkConfigDatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED,
"default_snat_status": {
"disabled": False,
},
"dns_config": {
"cluster_dns": google_native.container.v1beta1.DNSConfigClusterDns.PROVIDER_UNSPECIFIED,
"cluster_dns_domain": "string",
"cluster_dns_scope": google_native.container.v1beta1.DNSConfigClusterDnsScope.DNS_SCOPE_UNSPECIFIED,
},
"enable_fqdn_network_policy": False,
"enable_intra_node_visibility": False,
"enable_l4ilb_subsetting": False,
"enable_multi_networking": False,
"gateway_api_config": {
"channel": google_native.container.v1beta1.GatewayAPIConfigChannel.CHANNEL_UNSPECIFIED,
},
"in_transit_encryption_config": google_native.container.v1beta1.NetworkConfigInTransitEncryptionConfig.IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED,
"network_performance_config": {
"total_egress_bandwidth_tier": google_native.container.v1beta1.ClusterNetworkPerformanceConfigTotalEgressBandwidthTier.TIER_UNSPECIFIED,
},
"private_ipv6_google_access": google_native.container.v1beta1.NetworkConfigPrivateIpv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED,
"service_external_ips_config": {
"enabled": False,
},
},
network_policy={
"enabled": False,
"provider": google_native.container.v1beta1.NetworkPolicyProvider.PROVIDER_UNSPECIFIED,
},
node_pool_auto_config={
"network_tags": {
"tags": ["string"],
},
"resource_manager_tags": {
"tags": {
"string": "string",
},
},
},
node_pool_defaults={
"node_config_defaults": {
"gcfs_config": {
"enabled": False,
},
"host_maintenance_policy": {
"maintenance_interval": google_native.container.v1beta1.HostMaintenancePolicyMaintenanceInterval.MAINTENANCE_INTERVAL_UNSPECIFIED,
"opportunistic_maintenance_strategy": {
"maintenance_availability_window": "string",
"min_nodes_per_pool": "string",
"node_idle_time_window": "string",
},
},
"logging_config": {
"variant_config": {
"variant": google_native.container.v1beta1.LoggingVariantConfigVariant.VARIANT_UNSPECIFIED,
},
},
},
},
node_pools=[{
"autoscaling": {
"autoprovisioned": False,
"enabled": False,
"location_policy": google_native.container.v1beta1.NodePoolAutoscalingLocationPolicy.LOCATION_POLICY_UNSPECIFIED,
"max_node_count": 0,
"min_node_count": 0,
"total_max_node_count": 0,
"total_min_node_count": 0,
},
"best_effort_provisioning": {
"enabled": False,
"min_provision_nodes": 0,
},
"conditions": [{
"canonical_code": google_native.container.v1beta1.StatusConditionCanonicalCode.OK,
"message": "string",
}],
"config": {
"accelerators": [{
"accelerator_count": "string",
"accelerator_type": "string",
"gpu_driver_installation_config": {
"gpu_driver_version": google_native.container.v1beta1.GPUDriverInstallationConfigGpuDriverVersion.GPU_DRIVER_VERSION_UNSPECIFIED,
},
"gpu_partition_size": "string",
"gpu_sharing_config": {
"gpu_sharing_strategy": google_native.container.v1beta1.GPUSharingConfigGpuSharingStrategy.GPU_SHARING_STRATEGY_UNSPECIFIED,
"max_shared_clients_per_gpu": "string",
},
"max_time_shared_clients_per_gpu": "string",
}],
"advanced_machine_features": {
"threads_per_core": "string",
},
"boot_disk_kms_key": "string",
"confidential_nodes": {
"enabled": False,
},
"disk_size_gb": 0,
"disk_type": "string",
"enable_confidential_storage": False,
"ephemeral_storage_config": {
"local_ssd_count": 0,
},
"ephemeral_storage_local_ssd_config": {
"local_ssd_count": 0,
},
"fast_socket": {
"enabled": False,
},
"gcfs_config": {
"enabled": False,
},
"gvnic": {
"enabled": False,
},
"host_maintenance_policy": {
"maintenance_interval": google_native.container.v1beta1.HostMaintenancePolicyMaintenanceInterval.MAINTENANCE_INTERVAL_UNSPECIFIED,
"opportunistic_maintenance_strategy": {
"maintenance_availability_window": "string",
"min_nodes_per_pool": "string",
"node_idle_time_window": "string",
},
},
"image_type": "string",
"kubelet_config": {
"cpu_cfs_quota": False,
"cpu_cfs_quota_period": "string",
"cpu_manager_policy": "string",
"insecure_kubelet_readonly_port_enabled": False,
"pod_pids_limit": "string",
},
"labels": {
"string": "string",
},
"linux_node_config": {
"cgroup_mode": google_native.container.v1beta1.LinuxNodeConfigCgroupMode.CGROUP_MODE_UNSPECIFIED,
"sysctls": {
"string": "string",
},
},
"local_nvme_ssd_block_config": {
"local_ssd_count": 0,
},
"local_ssd_count": 0,
"logging_config": {
"variant_config": {
"variant": google_native.container.v1beta1.LoggingVariantConfigVariant.VARIANT_UNSPECIFIED,
},
},
"machine_type": "string",
"metadata": {
"string": "string",
},
"min_cpu_platform": "string",
"node_group": "string",
"oauth_scopes": ["string"],
"preemptible": False,
"reservation_affinity": {
"consume_reservation_type": google_native.container.v1beta1.ReservationAffinityConsumeReservationType.UNSPECIFIED,
"key": "string",
"values": ["string"],
},
"resource_labels": {
"string": "string",
},
"resource_manager_tags": {
"tags": {
"string": "string",
},
},
"sandbox_config": {
"sandbox_type": "string",
"type": google_native.container.v1beta1.SandboxConfigType.UNSPECIFIED,
},
"service_account": "string",
"shielded_instance_config": {
"enable_integrity_monitoring": False,
"enable_secure_boot": False,
},
"sole_tenant_config": {
"node_affinities": [{
"key": "string",
"operator": google_native.container.v1beta1.NodeAffinityOperator.OPERATOR_UNSPECIFIED,
"values": ["string"],
}],
},
"spot": False,
"tags": ["string"],
"taints": [{
"effect": google_native.container.v1beta1.NodeTaintEffect.EFFECT_UNSPECIFIED,
"key": "string",
"value": "string",
}],
"windows_node_config": {
"os_version": google_native.container.v1beta1.WindowsNodeConfigOsVersion.OS_VERSION_UNSPECIFIED,
},
"workload_metadata_config": {
"mode": google_native.container.v1beta1.WorkloadMetadataConfigMode.MODE_UNSPECIFIED,
"node_metadata": google_native.container.v1beta1.WorkloadMetadataConfigNodeMetadata.UNSPECIFIED,
},
},
"etag": "string",
"initial_node_count": 0,
"locations": ["string"],
"management": {
"auto_repair": False,
"auto_upgrade": False,
"upgrade_options": {},
},
"max_pods_constraint": {
"max_pods_per_node": "string",
},
"name": "string",
"network_config": {
"additional_node_network_configs": [{
"network": "string",
"subnetwork": "string",
}],
"additional_pod_network_configs": [{
"max_pods_per_node": {
"max_pods_per_node": "string",
},
"secondary_pod_range": "string",
"subnetwork": "string",
}],
"create_pod_range": False,
"enable_private_nodes": False,
"network_performance_config": {
"external_ip_egress_bandwidth_tier": google_native.container.v1beta1.NetworkPerformanceConfigExternalIpEgressBandwidthTier.TIER_UNSPECIFIED,
"total_egress_bandwidth_tier": google_native.container.v1beta1.NetworkPerformanceConfigTotalEgressBandwidthTier.TIER_UNSPECIFIED,
},
"pod_cidr_overprovision_config": {
"disable": False,
},
"pod_ipv4_cidr_block": "string",
"pod_range": "string",
},
"placement_policy": {
"policy_name": "string",
"tpu_topology": "string",
"type": google_native.container.v1beta1.PlacementPolicyType.TYPE_UNSPECIFIED,
},
"queued_provisioning": {
"enabled": False,
},
"upgrade_settings": {
"blue_green_settings": {
"node_pool_soak_duration": "string",
"standard_rollout_policy": {
"batch_node_count": 0,
"batch_percentage": 0,
"batch_soak_duration": "string",
},
},
"max_surge": 0,
"max_unavailable": 0,
"strategy": google_native.container.v1beta1.UpgradeSettingsStrategy.NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED,
},
"version": "string",
}],
notification_config={
"pubsub": {
"enabled": False,
"filter": {
"event_type": [google_native.container.v1beta1.FilterEventTypeItem.EVENT_TYPE_UNSPECIFIED],
},
"topic": "string",
},
},
parent="string",
parent_product_config={
"labels": {
"string": "string",
},
"product_name": "string",
},
pod_security_policy_config={
"enabled": False,
},
private_cluster_config={
"enable_private_endpoint": False,
"enable_private_nodes": False,
"master_global_access_config": {
"enabled": False,
},
"master_ipv4_cidr_block": "string",
"private_endpoint_subnetwork": "string",
},
release_channel={
"channel": google_native.container.v1beta1.ReleaseChannelChannel.UNSPECIFIED,
},
resource_labels={
"string": "string",
},
resource_usage_export_config={
"bigquery_destination": {
"dataset_id": "string",
},
"consumption_metering_config": {
"enabled": False,
},
"enable_network_egress_metering": False,
},
security_posture_config={
"mode": google_native.container.v1beta1.SecurityPostureConfigMode.MODE_UNSPECIFIED,
"vulnerability_mode": google_native.container.v1beta1.SecurityPostureConfigVulnerabilityMode.VULNERABILITY_MODE_UNSPECIFIED,
},
shielded_nodes={
"enabled": False,
},
subnetwork="string",
tpu_config={
"enabled": False,
"ipv4_cidr_block": "string",
"use_service_networking": False,
},
vertical_pod_autoscaling={
"enabled": False,
},
workload_alts_config={
"enable_alts": False,
},
workload_certificates={
"enable_certificates": False,
},
workload_identity_config={
"identity_namespace": "string",
"identity_provider": "string",
"workload_pool": "string",
})
const exampleclusterResourceResourceFromContainerv1beta1 = new google_native.container.v1beta1.Cluster("exampleclusterResourceResourceFromContainerv1beta1", {
addonsConfig: {
cloudRunConfig: {
disabled: false,
loadBalancerType: google_native.container.v1beta1.CloudRunConfigLoadBalancerType.LoadBalancerTypeUnspecified,
},
configConnectorConfig: {
enabled: false,
},
dnsCacheConfig: {
enabled: false,
},
gcePersistentDiskCsiDriverConfig: {
enabled: false,
},
gcpFilestoreCsiDriverConfig: {
enabled: false,
},
gcsFuseCsiDriverConfig: {
enabled: false,
},
gkeBackupAgentConfig: {
enabled: false,
},
horizontalPodAutoscaling: {
disabled: false,
},
httpLoadBalancing: {
disabled: false,
},
istioConfig: {
auth: google_native.container.v1beta1.IstioConfigAuth.AuthNone,
disabled: false,
},
kalmConfig: {
enabled: false,
},
kubernetesDashboard: {
disabled: false,
},
networkPolicyConfig: {
disabled: false,
},
},
authenticatorGroupsConfig: {
enabled: false,
securityGroup: "string",
},
autopilot: {
conversionStatus: {},
enabled: false,
workloadPolicyConfig: {
allowNetAdmin: false,
},
},
autoscaling: {
autoprovisioningLocations: ["string"],
autoprovisioningNodePoolDefaults: {
bootDiskKmsKey: "string",
diskSizeGb: 0,
diskType: "string",
imageType: "string",
insecureKubeletReadonlyPortEnabled: false,
management: {
autoRepair: false,
autoUpgrade: false,
upgradeOptions: {},
},
oauthScopes: ["string"],
serviceAccount: "string",
shieldedInstanceConfig: {
enableIntegrityMonitoring: false,
enableSecureBoot: false,
},
upgradeSettings: {
blueGreenSettings: {
nodePoolSoakDuration: "string",
standardRolloutPolicy: {
batchNodeCount: 0,
batchPercentage: 0,
batchSoakDuration: "string",
},
},
maxSurge: 0,
maxUnavailable: 0,
strategy: google_native.container.v1beta1.UpgradeSettingsStrategy.NodePoolUpdateStrategyUnspecified,
},
},
autoscalingProfile: google_native.container.v1beta1.ClusterAutoscalingAutoscalingProfile.ProfileUnspecified,
enableNodeAutoprovisioning: false,
resourceLimits: [{
maximum: "string",
minimum: "string",
resourceType: "string",
}],
},
binaryAuthorization: {
evaluationMode: google_native.container.v1beta1.BinaryAuthorizationEvaluationMode.EvaluationModeUnspecified,
policyBindings: [{
name: "string",
}],
},
clusterIpv4Cidr: "string",
clusterTelemetry: {
type: google_native.container.v1beta1.ClusterTelemetryType.Unspecified,
},
conditions: [{
canonicalCode: google_native.container.v1beta1.StatusConditionCanonicalCode.Ok,
message: "string",
}],
confidentialNodes: {
enabled: false,
},
costManagementConfig: {
enabled: false,
},
databaseEncryption: {
keyName: "string",
state: google_native.container.v1beta1.DatabaseEncryptionState.Unknown,
},
defaultMaxPodsConstraint: {
maxPodsPerNode: "string",
},
description: "string",
enableK8sBetaApis: {
enabledApis: ["string"],
},
enableKubernetesAlpha: false,
enterpriseConfig: {},
etag: "string",
fleet: {
project: "string",
},
identityServiceConfig: {
enabled: false,
},
initialClusterVersion: "string",
ipAllocationPolicy: {
allowRouteOverlap: false,
clusterIpv4CidrBlock: "string",
clusterSecondaryRangeName: "string",
createSubnetwork: false,
ipv6AccessType: google_native.container.v1beta1.IPAllocationPolicyIpv6AccessType.Ipv6AccessTypeUnspecified,
nodeIpv4CidrBlock: "string",
podCidrOverprovisionConfig: {
disable: false,
},
servicesIpv4CidrBlock: "string",
servicesSecondaryRangeName: "string",
stackType: google_native.container.v1beta1.IPAllocationPolicyStackType.StackTypeUnspecified,
subnetworkName: "string",
useIpAliases: false,
useRoutes: false,
},
legacyAbac: {
enabled: false,
},
location: "string",
locations: ["string"],
loggingConfig: {
componentConfig: {
enableComponents: [google_native.container.v1beta1.LoggingComponentConfigEnableComponentsItem.ComponentUnspecified],
},
},
loggingService: "string",
maintenancePolicy: {
resourceVersion: "string",
window: {
dailyMaintenanceWindow: {
startTime: "string",
},
maintenanceExclusions: {
string: "string",
},
recurringWindow: {
recurrence: "string",
window: {
endTime: "string",
maintenanceExclusionOptions: {
scope: google_native.container.v1beta1.MaintenanceExclusionOptionsScope.NoUpgrades,
},
startTime: "string",
},
},
},
},
master: {},
masterAuth: {
clientCertificateConfig: {
issueClientCertificate: false,
},
clusterCaCertificate: "string",
password: "string",
username: "string",
},
masterAuthorizedNetworksConfig: {
cidrBlocks: [{
cidrBlock: "string",
displayName: "string",
}],
enabled: false,
gcpPublicCidrsAccessEnabled: false,
},
meshCertificates: {
enableCertificates: false,
},
monitoringConfig: {
advancedDatapathObservabilityConfig: {
enableMetrics: false,
relayMode: google_native.container.v1beta1.AdvancedDatapathObservabilityConfigRelayMode.RelayModeUnspecified,
},
componentConfig: {
enableComponents: [google_native.container.v1beta1.MonitoringComponentConfigEnableComponentsItem.ComponentUnspecified],
},
managedPrometheusConfig: {
enabled: false,
},
},
monitoringService: "string",
name: "string",
network: "string",
networkConfig: {
datapathProvider: google_native.container.v1beta1.NetworkConfigDatapathProvider.DatapathProviderUnspecified,
defaultSnatStatus: {
disabled: false,
},
dnsConfig: {
clusterDns: google_native.container.v1beta1.DNSConfigClusterDns.ProviderUnspecified,
clusterDnsDomain: "string",
clusterDnsScope: google_native.container.v1beta1.DNSConfigClusterDnsScope.DnsScopeUnspecified,
},
enableFqdnNetworkPolicy: false,
enableIntraNodeVisibility: false,
enableL4ilbSubsetting: false,
enableMultiNetworking: false,
gatewayApiConfig: {
channel: google_native.container.v1beta1.GatewayAPIConfigChannel.ChannelUnspecified,
},
inTransitEncryptionConfig: google_native.container.v1beta1.NetworkConfigInTransitEncryptionConfig.InTransitEncryptionConfigUnspecified,
networkPerformanceConfig: {
totalEgressBandwidthTier: google_native.container.v1beta1.ClusterNetworkPerformanceConfigTotalEgressBandwidthTier.TierUnspecified,
},
privateIpv6GoogleAccess: google_native.container.v1beta1.NetworkConfigPrivateIpv6GoogleAccess.PrivateIpv6GoogleAccessUnspecified,
serviceExternalIpsConfig: {
enabled: false,
},
},
networkPolicy: {
enabled: false,
provider: google_native.container.v1beta1.NetworkPolicyProvider.ProviderUnspecified,
},
nodePoolAutoConfig: {
networkTags: {
tags: ["string"],
},
resourceManagerTags: {
tags: {
string: "string",
},
},
},
nodePoolDefaults: {
nodeConfigDefaults: {
gcfsConfig: {
enabled: false,
},
hostMaintenancePolicy: {
maintenanceInterval: google_native.container.v1beta1.HostMaintenancePolicyMaintenanceInterval.MaintenanceIntervalUnspecified,
opportunisticMaintenanceStrategy: {
maintenanceAvailabilityWindow: "string",
minNodesPerPool: "string",
nodeIdleTimeWindow: "string",
},
},
loggingConfig: {
variantConfig: {
variant: google_native.container.v1beta1.LoggingVariantConfigVariant.VariantUnspecified,
},
},
},
},
nodePools: [{
autoscaling: {
autoprovisioned: false,
enabled: false,
locationPolicy: google_native.container.v1beta1.NodePoolAutoscalingLocationPolicy.LocationPolicyUnspecified,
maxNodeCount: 0,
minNodeCount: 0,
totalMaxNodeCount: 0,
totalMinNodeCount: 0,
},
bestEffortProvisioning: {
enabled: false,
minProvisionNodes: 0,
},
conditions: [{
canonicalCode: google_native.container.v1beta1.StatusConditionCanonicalCode.Ok,
message: "string",
}],
config: {
accelerators: [{
acceleratorCount: "string",
acceleratorType: "string",
gpuDriverInstallationConfig: {
gpuDriverVersion: google_native.container.v1beta1.GPUDriverInstallationConfigGpuDriverVersion.GpuDriverVersionUnspecified,
},
gpuPartitionSize: "string",
gpuSharingConfig: {
gpuSharingStrategy: google_native.container.v1beta1.GPUSharingConfigGpuSharingStrategy.GpuSharingStrategyUnspecified,
maxSharedClientsPerGpu: "string",
},
maxTimeSharedClientsPerGpu: "string",
}],
advancedMachineFeatures: {
threadsPerCore: "string",
},
bootDiskKmsKey: "string",
confidentialNodes: {
enabled: false,
},
diskSizeGb: 0,
diskType: "string",
enableConfidentialStorage: false,
ephemeralStorageConfig: {
localSsdCount: 0,
},
ephemeralStorageLocalSsdConfig: {
localSsdCount: 0,
},
fastSocket: {
enabled: false,
},
gcfsConfig: {
enabled: false,
},
gvnic: {
enabled: false,
},
hostMaintenancePolicy: {
maintenanceInterval: google_native.container.v1beta1.HostMaintenancePolicyMaintenanceInterval.MaintenanceIntervalUnspecified,
opportunisticMaintenanceStrategy: {
maintenanceAvailabilityWindow: "string",
minNodesPerPool: "string",
nodeIdleTimeWindow: "string",
},
},
imageType: "string",
kubeletConfig: {
cpuCfsQuota: false,
cpuCfsQuotaPeriod: "string",
cpuManagerPolicy: "string",
insecureKubeletReadonlyPortEnabled: false,
podPidsLimit: "string",
},
labels: {
string: "string",
},
linuxNodeConfig: {
cgroupMode: google_native.container.v1beta1.LinuxNodeConfigCgroupMode.CgroupModeUnspecified,
sysctls: {
string: "string",
},
},
localNvmeSsdBlockConfig: {
localSsdCount: 0,
},
localSsdCount: 0,
loggingConfig: {
variantConfig: {
variant: google_native.container.v1beta1.LoggingVariantConfigVariant.VariantUnspecified,
},
},
machineType: "string",
metadata: {
string: "string",
},
minCpuPlatform: "string",
nodeGroup: "string",
oauthScopes: ["string"],
preemptible: false,
reservationAffinity: {
consumeReservationType: google_native.container.v1beta1.ReservationAffinityConsumeReservationType.Unspecified,
key: "string",
values: ["string"],
},
resourceLabels: {
string: "string",
},
resourceManagerTags: {
tags: {
string: "string",
},
},
sandboxConfig: {
sandboxType: "string",
type: google_native.container.v1beta1.SandboxConfigType.Unspecified,
},
serviceAccount: "string",
shieldedInstanceConfig: {
enableIntegrityMonitoring: false,
enableSecureBoot: false,
},
soleTenantConfig: {
nodeAffinities: [{
key: "string",
operator: google_native.container.v1beta1.NodeAffinityOperator.OperatorUnspecified,
values: ["string"],
}],
},
spot: false,
tags: ["string"],
taints: [{
effect: google_native.container.v1beta1.NodeTaintEffect.EffectUnspecified,
key: "string",
value: "string",
}],
windowsNodeConfig: {
osVersion: google_native.container.v1beta1.WindowsNodeConfigOsVersion.OsVersionUnspecified,
},
workloadMetadataConfig: {
mode: google_native.container.v1beta1.WorkloadMetadataConfigMode.ModeUnspecified,
nodeMetadata: google_native.container.v1beta1.WorkloadMetadataConfigNodeMetadata.Unspecified,
},
},
etag: "string",
initialNodeCount: 0,
locations: ["string"],
management: {
autoRepair: false,
autoUpgrade: false,
upgradeOptions: {},
},
maxPodsConstraint: {
maxPodsPerNode: "string",
},
name: "string",
networkConfig: {
additionalNodeNetworkConfigs: [{
network: "string",
subnetwork: "string",
}],
additionalPodNetworkConfigs: [{
maxPodsPerNode: {
maxPodsPerNode: "string",
},
secondaryPodRange: "string",
subnetwork: "string",
}],
createPodRange: false,
enablePrivateNodes: false,
networkPerformanceConfig: {
externalIpEgressBandwidthTier: google_native.container.v1beta1.NetworkPerformanceConfigExternalIpEgressBandwidthTier.TierUnspecified,
totalEgressBandwidthTier: google_native.container.v1beta1.NetworkPerformanceConfigTotalEgressBandwidthTier.TierUnspecified,
},
podCidrOverprovisionConfig: {
disable: false,
},
podIpv4CidrBlock: "string",
podRange: "string",
},
placementPolicy: {
policyName: "string",
tpuTopology: "string",
type: google_native.container.v1beta1.PlacementPolicyType.TypeUnspecified,
},
queuedProvisioning: {
enabled: false,
},
upgradeSettings: {
blueGreenSettings: {
nodePoolSoakDuration: "string",
standardRolloutPolicy: {
batchNodeCount: 0,
batchPercentage: 0,
batchSoakDuration: "string",
},
},
maxSurge: 0,
maxUnavailable: 0,
strategy: google_native.container.v1beta1.UpgradeSettingsStrategy.NodePoolUpdateStrategyUnspecified,
},
version: "string",
}],
notificationConfig: {
pubsub: {
enabled: false,
filter: {
eventType: [google_native.container.v1beta1.FilterEventTypeItem.EventTypeUnspecified],
},
topic: "string",
},
},
parent: "string",
parentProductConfig: {
labels: {
string: "string",
},
productName: "string",
},
podSecurityPolicyConfig: {
enabled: false,
},
privateClusterConfig: {
enablePrivateEndpoint: false,
enablePrivateNodes: false,
masterGlobalAccessConfig: {
enabled: false,
},
masterIpv4CidrBlock: "string",
privateEndpointSubnetwork: "string",
},
releaseChannel: {
channel: google_native.container.v1beta1.ReleaseChannelChannel.Unspecified,
},
resourceLabels: {
string: "string",
},
resourceUsageExportConfig: {
bigqueryDestination: {
datasetId: "string",
},
consumptionMeteringConfig: {
enabled: false,
},
enableNetworkEgressMetering: false,
},
securityPostureConfig: {
mode: google_native.container.v1beta1.SecurityPostureConfigMode.ModeUnspecified,
vulnerabilityMode: google_native.container.v1beta1.SecurityPostureConfigVulnerabilityMode.VulnerabilityModeUnspecified,
},
shieldedNodes: {
enabled: false,
},
subnetwork: "string",
tpuConfig: {
enabled: false,
ipv4CidrBlock: "string",
useServiceNetworking: false,
},
verticalPodAutoscaling: {
enabled: false,
},
workloadAltsConfig: {
enableAlts: false,
},
workloadCertificates: {
enableCertificates: false,
},
workloadIdentityConfig: {
identityNamespace: "string",
identityProvider: "string",
workloadPool: "string",
},
});
type: google-native:container/v1beta1:Cluster
properties:
addonsConfig:
cloudRunConfig:
disabled: false
loadBalancerType: LOAD_BALANCER_TYPE_UNSPECIFIED
configConnectorConfig:
enabled: false
dnsCacheConfig:
enabled: false
gcePersistentDiskCsiDriverConfig:
enabled: false
gcpFilestoreCsiDriverConfig:
enabled: false
gcsFuseCsiDriverConfig:
enabled: false
gkeBackupAgentConfig:
enabled: false
horizontalPodAutoscaling:
disabled: false
httpLoadBalancing:
disabled: false
istioConfig:
auth: AUTH_NONE
disabled: false
kalmConfig:
enabled: false
kubernetesDashboard:
disabled: false
networkPolicyConfig:
disabled: false
authenticatorGroupsConfig:
enabled: false
securityGroup: string
autopilot:
conversionStatus: {}
enabled: false
workloadPolicyConfig:
allowNetAdmin: false
autoscaling:
autoprovisioningLocations:
- string
autoprovisioningNodePoolDefaults:
bootDiskKmsKey: string
diskSizeGb: 0
diskType: string
imageType: string
insecureKubeletReadonlyPortEnabled: false
management:
autoRepair: false
autoUpgrade: false
upgradeOptions: {}
oauthScopes:
- string
serviceAccount: string
shieldedInstanceConfig:
enableIntegrityMonitoring: false
enableSecureBoot: false
upgradeSettings:
blueGreenSettings:
nodePoolSoakDuration: string
standardRolloutPolicy:
batchNodeCount: 0
batchPercentage: 0
batchSoakDuration: string
maxSurge: 0
maxUnavailable: 0
strategy: NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED
autoscalingProfile: PROFILE_UNSPECIFIED
enableNodeAutoprovisioning: false
resourceLimits:
- maximum: string
minimum: string
resourceType: string
binaryAuthorization:
evaluationMode: EVALUATION_MODE_UNSPECIFIED
policyBindings:
- name: string
clusterIpv4Cidr: string
clusterTelemetry:
type: UNSPECIFIED
conditions:
- canonicalCode: OK
message: string
confidentialNodes:
enabled: false
costManagementConfig:
enabled: false
databaseEncryption:
keyName: string
state: UNKNOWN
defaultMaxPodsConstraint:
maxPodsPerNode: string
description: string
enableK8sBetaApis:
enabledApis:
- string
enableKubernetesAlpha: false
enterpriseConfig: {}
etag: string
fleet:
project: string
identityServiceConfig:
enabled: false
initialClusterVersion: string
ipAllocationPolicy:
allowRouteOverlap: false
clusterIpv4CidrBlock: string
clusterSecondaryRangeName: string
createSubnetwork: false
ipv6AccessType: IPV6_ACCESS_TYPE_UNSPECIFIED
nodeIpv4CidrBlock: string
podCidrOverprovisionConfig:
disable: false
servicesIpv4CidrBlock: string
servicesSecondaryRangeName: string
stackType: STACK_TYPE_UNSPECIFIED
subnetworkName: string
useIpAliases: false
useRoutes: false
legacyAbac:
enabled: false
location: string
locations:
- string
loggingConfig:
componentConfig:
enableComponents:
- COMPONENT_UNSPECIFIED
loggingService: string
maintenancePolicy:
resourceVersion: string
window:
dailyMaintenanceWindow:
startTime: string
maintenanceExclusions:
string: string
recurringWindow:
recurrence: string
window:
endTime: string
maintenanceExclusionOptions:
scope: NO_UPGRADES
startTime: string
master: {}
masterAuth:
clientCertificateConfig:
issueClientCertificate: false
clusterCaCertificate: string
password: string
username: string
masterAuthorizedNetworksConfig:
cidrBlocks:
- cidrBlock: string
displayName: string
enabled: false
gcpPublicCidrsAccessEnabled: false
meshCertificates:
enableCertificates: false
monitoringConfig:
advancedDatapathObservabilityConfig:
enableMetrics: false
relayMode: RELAY_MODE_UNSPECIFIED
componentConfig:
enableComponents:
- COMPONENT_UNSPECIFIED
managedPrometheusConfig:
enabled: false
monitoringService: string
name: string
network: string
networkConfig:
datapathProvider: DATAPATH_PROVIDER_UNSPECIFIED
defaultSnatStatus:
disabled: false
dnsConfig:
clusterDns: PROVIDER_UNSPECIFIED
clusterDnsDomain: string
clusterDnsScope: DNS_SCOPE_UNSPECIFIED
enableFqdnNetworkPolicy: false
enableIntraNodeVisibility: false
enableL4ilbSubsetting: false
enableMultiNetworking: false
gatewayApiConfig:
channel: CHANNEL_UNSPECIFIED
inTransitEncryptionConfig: IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED
networkPerformanceConfig:
totalEgressBandwidthTier: TIER_UNSPECIFIED
privateIpv6GoogleAccess: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
serviceExternalIpsConfig:
enabled: false
networkPolicy:
enabled: false
provider: PROVIDER_UNSPECIFIED
nodePoolAutoConfig:
networkTags:
tags:
- string
resourceManagerTags:
tags:
string: string
nodePoolDefaults:
nodeConfigDefaults:
gcfsConfig:
enabled: false
hostMaintenancePolicy:
maintenanceInterval: MAINTENANCE_INTERVAL_UNSPECIFIED
opportunisticMaintenanceStrategy:
maintenanceAvailabilityWindow: string
minNodesPerPool: string
nodeIdleTimeWindow: string
loggingConfig:
variantConfig:
variant: VARIANT_UNSPECIFIED
nodePools:
- autoscaling:
autoprovisioned: false
enabled: false
locationPolicy: LOCATION_POLICY_UNSPECIFIED
maxNodeCount: 0
minNodeCount: 0
totalMaxNodeCount: 0
totalMinNodeCount: 0
bestEffortProvisioning:
enabled: false
minProvisionNodes: 0
conditions:
- canonicalCode: OK
message: string
config:
accelerators:
- acceleratorCount: string
acceleratorType: string
gpuDriverInstallationConfig:
gpuDriverVersion: GPU_DRIVER_VERSION_UNSPECIFIED
gpuPartitionSize: string
gpuSharingConfig:
gpuSharingStrategy: GPU_SHARING_STRATEGY_UNSPECIFIED
maxSharedClientsPerGpu: string
maxTimeSharedClientsPerGpu: string
advancedMachineFeatures:
threadsPerCore: string
bootDiskKmsKey: string
confidentialNodes:
enabled: false
diskSizeGb: 0
diskType: string
enableConfidentialStorage: false
ephemeralStorageConfig:
localSsdCount: 0
ephemeralStorageLocalSsdConfig:
localSsdCount: 0
fastSocket:
enabled: false
gcfsConfig:
enabled: false
gvnic:
enabled: false
hostMaintenancePolicy:
maintenanceInterval: MAINTENANCE_INTERVAL_UNSPECIFIED
opportunisticMaintenanceStrategy:
maintenanceAvailabilityWindow: string
minNodesPerPool: string
nodeIdleTimeWindow: string
imageType: string
kubeletConfig:
cpuCfsQuota: false
cpuCfsQuotaPeriod: string
cpuManagerPolicy: string
insecureKubeletReadonlyPortEnabled: false
podPidsLimit: string
labels:
string: string
linuxNodeConfig:
cgroupMode: CGROUP_MODE_UNSPECIFIED
sysctls:
string: string
localNvmeSsdBlockConfig:
localSsdCount: 0
localSsdCount: 0
loggingConfig:
variantConfig:
variant: VARIANT_UNSPECIFIED
machineType: string
metadata:
string: string
minCpuPlatform: string
nodeGroup: string
oauthScopes:
- string
preemptible: false
reservationAffinity:
consumeReservationType: UNSPECIFIED
key: string
values:
- string
resourceLabels:
string: string
resourceManagerTags:
tags:
string: string
sandboxConfig:
sandboxType: string
type: UNSPECIFIED
serviceAccount: string
shieldedInstanceConfig:
enableIntegrityMonitoring: false
enableSecureBoot: false
soleTenantConfig:
nodeAffinities:
- key: string
operator: OPERATOR_UNSPECIFIED
values:
- string
spot: false
tags:
- string
taints:
- effect: EFFECT_UNSPECIFIED
key: string
value: string
windowsNodeConfig:
osVersion: OS_VERSION_UNSPECIFIED
workloadMetadataConfig:
mode: MODE_UNSPECIFIED
nodeMetadata: UNSPECIFIED
etag: string
initialNodeCount: 0
locations:
- string
management:
autoRepair: false
autoUpgrade: false
upgradeOptions: {}
maxPodsConstraint:
maxPodsPerNode: string
name: string
networkConfig:
additionalNodeNetworkConfigs:
- network: string
subnetwork: string
additionalPodNetworkConfigs:
- maxPodsPerNode:
maxPodsPerNode: string
secondaryPodRange: string
subnetwork: string
createPodRange: false
enablePrivateNodes: false
networkPerformanceConfig:
externalIpEgressBandwidthTier: TIER_UNSPECIFIED
totalEgressBandwidthTier: TIER_UNSPECIFIED
podCidrOverprovisionConfig:
disable: false
podIpv4CidrBlock: string
podRange: string
placementPolicy:
policyName: string
tpuTopology: string
type: TYPE_UNSPECIFIED
queuedProvisioning:
enabled: false
upgradeSettings:
blueGreenSettings:
nodePoolSoakDuration: string
standardRolloutPolicy:
batchNodeCount: 0
batchPercentage: 0
batchSoakDuration: string
maxSurge: 0
maxUnavailable: 0
strategy: NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED
version: string
notificationConfig:
pubsub:
enabled: false
filter:
eventType:
- EVENT_TYPE_UNSPECIFIED
topic: string
parent: string
parentProductConfig:
labels:
string: string
productName: string
podSecurityPolicyConfig:
enabled: false
privateClusterConfig:
enablePrivateEndpoint: false
enablePrivateNodes: false
masterGlobalAccessConfig:
enabled: false
masterIpv4CidrBlock: string
privateEndpointSubnetwork: string
releaseChannel:
channel: UNSPECIFIED
resourceLabels:
string: string
resourceUsageExportConfig:
bigqueryDestination:
datasetId: string
consumptionMeteringConfig:
enabled: false
enableNetworkEgressMetering: false
securityPostureConfig:
mode: MODE_UNSPECIFIED
vulnerabilityMode: VULNERABILITY_MODE_UNSPECIFIED
shieldedNodes:
enabled: false
subnetwork: string
tpuConfig:
enabled: false
ipv4CidrBlock: string
useServiceNetworking: false
verticalPodAutoscaling:
enabled: false
workloadAltsConfig:
enableAlts: false
workloadCertificates:
enableCertificates: false
workloadIdentityConfig:
identityNamespace: string
identityProvider: string
workloadPool: string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Addons
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Addons Config - Configurations for the various addons available to run in the cluster.
- Authenticator
Groups Pulumi.Config Google Native. Container. V1Beta1. Inputs. Authenticator Groups Config - Configuration controlling RBAC group membership information.
- Autopilot
Pulumi.
Google Native. Container. V1Beta1. Inputs. Autopilot - Autopilot configuration for the cluster.
- Autoscaling
Pulumi.
Google Native. Container. V1Beta1. Inputs. Cluster Autoscaling - Cluster-level autoscaling configuration.
- Pulumi.
Google Native. Container. V1Beta1. Inputs. Binary Authorization - Configuration for Binary Authorization.
- Cluster
Ipv4Cidr string - The IP address range of the container pods in this cluster, in CIDR notation (e.g.
10.96.0.0/14
). Leave blank to have one automatically chosen or specify a/14
block in10.0.0.0/8
. - Cluster
Telemetry Pulumi.Google Native. Container. V1Beta1. Inputs. Cluster Telemetry - Telemetry integration for the cluster.
- Conditions
List<Pulumi.
Google Native. Container. V1Beta1. Inputs. Status Condition> - Which conditions caused the current cluster state.
- Confidential
Nodes Pulumi.Google Native. Container. V1Beta1. Inputs. Confidential Nodes - Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
- Cost
Management Pulumi.Config Google Native. Container. V1Beta1. Inputs. Cost Management Config - Configuration for the fine-grained cost management feature.
- Database
Encryption Pulumi.Google Native. Container. V1Beta1. Inputs. Database Encryption - Configuration of etcd encryption.
- Default
Max Pulumi.Pods Constraint Google Native. Container. V1Beta1. Inputs. Max Pods Constraint - The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
- Description string
- An optional description of this cluster.
- Enable
K8s Pulumi.Beta Apis Google Native. Container. V1Beta1. Inputs. K8s Beta APIConfig - Kubernetes open source beta apis enabled on the cluster. Only beta apis.
- Enable
Kubernetes boolAlpha - Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
- Enable
Tpu bool - Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
- Enterprise
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Enterprise Config - GKE Enterprise Configuration.
- Etag string
- This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
- Fleet
Pulumi.
Google Native. Container. V1Beta1. Inputs. Fleet - Fleet information for the cluster.
- Identity
Service Pulumi.Config Google Native. Container. V1Beta1. Inputs. Identity Service Config - Configuration for Identity Service component.
- Initial
Cluster stringVersion - The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
- Initial
Node intCount - The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
- Instance
Group List<string>Urls - Deprecated. Use node_pools.instance_group_urls.
- Ip
Allocation Pulumi.Policy Google Native. Container. V1Beta1. Inputs. IPAllocation Policy - Configuration for cluster IP allocation.
- Legacy
Abac Pulumi.Google Native. Container. V1Beta1. Inputs. Legacy Abac - Configuration for the legacy ABAC authorization mode.
- Location string
- Locations List<string>
- The list of Google Compute Engine zones in which the cluster's nodes should be located. This field provides a default value if NodePool.Locations are not specified during node pool creation. Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
- Logging
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Logging Config - Logging configuration for the cluster.
- Logging
Service string - The logging service the cluster should use to write logs. Currently available options: *
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model *logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). *none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions. - Maintenance
Policy Pulumi.Google Native. Container. V1Beta1. Inputs. Maintenance Policy - Configure the maintenance policy for this cluster.
- Master
Pulumi.
Google Native. Container. V1Beta1. Inputs. Master - Configuration for master components.
- Master
Auth Pulumi.Google Native. Container. V1Beta1. Inputs. Master Auth - The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified,
username
will be set to "admin", a random password will be generated, and a client certificate will be issued. - Pulumi.
Google Native. Container. V1Beta1. Inputs. Master Authorized Networks Config - The configuration options for master authorized networks feature.
- Master
Ipv4Cidr stringBlock - The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
- Mesh
Certificates Pulumi.Google Native. Container. V1Beta1. Inputs. Mesh Certificates - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- Monitoring
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Monitoring Config - Monitoring configuration for the cluster.
- Monitoring
Service string - The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model *
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). *none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions. - Name string
- The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
- Network string
- The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the
default
network will be used. On output this shows the network ID instead of the name. - Network
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Network Config - Configuration for cluster networking.
- Network
Policy Pulumi.Google Native. Container. V1Beta1. Inputs. Network Policy - Configuration options for the NetworkPolicy feature.
- Node
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Node Config - Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see
node_pool.config
) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. - Node
Pool Pulumi.Auto Config Google Native. Container. V1Beta1. Inputs. Node Pool Auto Config - Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
- Node
Pool Pulumi.Defaults Google Native. Container. V1Beta1. Inputs. Node Pool Defaults - Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
- Node
Pools List<Pulumi.Google Native. Container. V1Beta1. Inputs. Node Pool> - The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
- Notification
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Notification Config - Notification configuration of the cluster.
- Parent string
- The parent (project and location) where the cluster will be created. Specified in the format
projects/*/locations/*
. - Parent
Product Pulumi.Config Google Native. Container. V1Beta1. Inputs. Parent Product Config - The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster.
- Pod
Security Pulumi.Policy Config Google Native. Container. V1Beta1. Inputs. Pod Security Policy Config - Configuration for the PodSecurityPolicy feature.
- Private
Cluster bool - If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
- Private
Cluster Pulumi.Config Google Native. Container. V1Beta1. Inputs. Private Cluster Config - Configuration for private cluster.
- Project string
- Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
- Protect
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Protect Config - Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster.
- Release
Channel Pulumi.Google Native. Container. V1Beta1. Inputs. Release Channel - Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
- Resource
Labels Dictionary<string, string> - The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
- Resource
Usage Pulumi.Export Config Google Native. Container. V1Beta1. Inputs. Resource Usage Export Config - Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
- Security
Posture Pulumi.Config Google Native. Container. V1Beta1. Inputs. Security Posture Config - Enable/Disable Security Posture API features for the cluster.
- Shielded
Nodes Pulumi.Google Native. Container. V1Beta1. Inputs. Shielded Nodes - Shielded Nodes configuration.
- Subnetwork string
- The name of the Google Compute Engine subnetwork to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
- Tpu
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Tpu Config - Configuration for Cloud TPU support;
- Vertical
Pod Pulumi.Autoscaling Google Native. Container. V1Beta1. Inputs. Vertical Pod Autoscaling - Cluster-level Vertical Pod Autoscaling configuration.
- Workload
Alts Pulumi.Config Google Native. Container. V1Beta1. Inputs. Workload ALTSConfig - Configuration for direct-path (via ALTS) with workload identity.
- Workload
Certificates Pulumi.Google Native. Container. V1Beta1. Inputs. Workload Certificates - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- Workload
Identity Pulumi.Config Google Native. Container. V1Beta1. Inputs. Workload Identity Config - Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
- Zone string
- Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
- Addons
Config AddonsConfig Args - Configurations for the various addons available to run in the cluster.
- Authenticator
Groups AuthenticatorConfig Groups Config Args - Configuration controlling RBAC group membership information.
- Autopilot
Autopilot
Args - Autopilot configuration for the cluster.
- Autoscaling
Cluster
Autoscaling Args - Cluster-level autoscaling configuration.
- Binary
Authorization Args - Configuration for Binary Authorization.
- Cluster
Ipv4Cidr string - The IP address range of the container pods in this cluster, in CIDR notation (e.g.
10.96.0.0/14
). Leave blank to have one automatically chosen or specify a/14
block in10.0.0.0/8
. - Cluster
Telemetry ClusterTelemetry Args - Telemetry integration for the cluster.
- Conditions
[]Status
Condition Args - Which conditions caused the current cluster state.
- Confidential
Nodes ConfidentialNodes Args - Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
- Cost
Management CostConfig Management Config Args - Configuration for the fine-grained cost management feature.
- Database
Encryption DatabaseEncryption Args - Configuration of etcd encryption.
- Default
Max MaxPods Constraint Pods Constraint Args - The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
- Description string
- An optional description of this cluster.
- Enable
K8s K8sBeta Apis Beta APIConfig Args - Kubernetes open source beta apis enabled on the cluster. Only beta apis.
- Enable
Kubernetes boolAlpha - Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
- Enable
Tpu bool - Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
- Enterprise
Config EnterpriseConfig Args - GKE Enterprise Configuration.
- Etag string
- This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
- Fleet
Fleet
Args - Fleet information for the cluster.
- Identity
Service IdentityConfig Service Config Args - Configuration for Identity Service component.
- Initial
Cluster stringVersion - The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
- Initial
Node intCount - The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
- Instance
Group []stringUrls - Deprecated. Use node_pools.instance_group_urls.
- Ip
Allocation IPAllocationPolicy Policy Args - Configuration for cluster IP allocation.
- Legacy
Abac LegacyAbac Args - Configuration for the legacy ABAC authorization mode.
- Location string
- Locations []string
- The list of Google Compute Engine zones in which the cluster's nodes should be located. This field provides a default value if NodePool.Locations are not specified during node pool creation. Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
- Logging
Config LoggingConfig Args - Logging configuration for the cluster.
- Logging
Service string - The logging service the cluster should use to write logs. Currently available options: *
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model *logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). *none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions. - Maintenance
Policy MaintenancePolicy Args - Configure the maintenance policy for this cluster.
- Master
Master
Args - Configuration for master components.
- Master
Auth MasterAuth Args - The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified,
username
will be set to "admin", a random password will be generated, and a client certificate will be issued. - Master
Authorized Networks Config Args - The configuration options for master authorized networks feature.
- Master
Ipv4Cidr stringBlock - The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
- Mesh
Certificates MeshCertificates Args - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- Monitoring
Config MonitoringConfig Args - Monitoring configuration for the cluster.
- Monitoring
Service string - The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model *
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). *none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions. - Name string
- The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
- Network string
- The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the
default
network will be used. On output this shows the network ID instead of the name. - Network
Config NetworkConfig Args - Configuration for cluster networking.
- Network
Policy NetworkPolicy Args - Configuration options for the NetworkPolicy feature.
- Node
Config NodeConfig Args - Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see
node_pool.config
) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. - Node
Pool NodeAuto Config Pool Auto Config Args - Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
- Node
Pool NodeDefaults Pool Defaults Args - Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
- Node
Pools []NodePool Type Args - The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
- Notification
Config NotificationConfig Args - Notification configuration of the cluster.
- Parent string
- The parent (project and location) where the cluster will be created. Specified in the format
projects/*/locations/*
. - Parent
Product ParentConfig Product Config Args - The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster.
- Pod
Security PodPolicy Config Security Policy Config Args - Configuration for the PodSecurityPolicy feature.
- Private
Cluster bool - If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
- Private
Cluster PrivateConfig Cluster Config Args - Configuration for private cluster.
- Project string
- Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
- Protect
Config ProtectConfig Args - Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster.
- Release
Channel ReleaseChannel Args - Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
- Resource
Labels map[string]string - The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
- Resource
Usage ResourceExport Config Usage Export Config Args - Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
- Security
Posture SecurityConfig Posture Config Args - Enable/Disable Security Posture API features for the cluster.
- Shielded
Nodes ShieldedNodes Args - Shielded Nodes configuration.
- Subnetwork string
- The name of the Google Compute Engine subnetwork to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
- Tpu
Config TpuConfig Args - Configuration for Cloud TPU support;
- Vertical
Pod VerticalAutoscaling Pod Autoscaling Args - Cluster-level Vertical Pod Autoscaling configuration.
- Workload
Alts WorkloadConfig ALTSConfig Args - Configuration for direct-path (via ALTS) with workload identity.
- Workload
Certificates WorkloadCertificates Args - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- Workload
Identity WorkloadConfig Identity Config Args - Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
- Zone string
- Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
- addons
Config AddonsConfig - Configurations for the various addons available to run in the cluster.
- authenticator
Groups AuthenticatorConfig Groups Config - Configuration controlling RBAC group membership information.
- autopilot Autopilot
- Autopilot configuration for the cluster.
- autoscaling
Cluster
Autoscaling - Cluster-level autoscaling configuration.
- Binary
Authorization - Configuration for Binary Authorization.
- cluster
Ipv4Cidr String - The IP address range of the container pods in this cluster, in CIDR notation (e.g.
10.96.0.0/14
). Leave blank to have one automatically chosen or specify a/14
block in10.0.0.0/8
. - cluster
Telemetry ClusterTelemetry - Telemetry integration for the cluster.
- conditions
List<Status
Condition> - Which conditions caused the current cluster state.
- confidential
Nodes ConfidentialNodes - Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
- cost
Management CostConfig Management Config - Configuration for the fine-grained cost management feature.
- database
Encryption DatabaseEncryption - Configuration of etcd encryption.
- default
Max MaxPods Constraint Pods Constraint - The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
- description String
- An optional description of this cluster.
- enable
K8s K8sBeta Apis Beta APIConfig - Kubernetes open source beta apis enabled on the cluster. Only beta apis.
- enable
Kubernetes BooleanAlpha - Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
- enable
Tpu Boolean - Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
- enterprise
Config EnterpriseConfig - GKE Enterprise Configuration.
- etag String
- This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
- fleet Fleet
- Fleet information for the cluster.
- identity
Service IdentityConfig Service Config - Configuration for Identity Service component.
- initial
Cluster StringVersion - The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
- initial
Node IntegerCount - The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
- instance
Group List<String>Urls - Deprecated. Use node_pools.instance_group_urls.
- ip
Allocation IPAllocationPolicy Policy - Configuration for cluster IP allocation.
- legacy
Abac LegacyAbac - Configuration for the legacy ABAC authorization mode.
- location String
- locations List<String>
- The list of Google Compute Engine zones in which the cluster's nodes should be located. This field provides a default value if NodePool.Locations are not specified during node pool creation. Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
- logging
Config LoggingConfig - Logging configuration for the cluster.
- logging
Service String - The logging service the cluster should use to write logs. Currently available options: *
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model *logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). *none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions. - maintenance
Policy MaintenancePolicy - Configure the maintenance policy for this cluster.
- master Master
- Configuration for master components.
- master
Auth MasterAuth - The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified,
username
will be set to "admin", a random password will be generated, and a client certificate will be issued. - Master
Authorized Networks Config - The configuration options for master authorized networks feature.
- master
Ipv4Cidr StringBlock - The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
- mesh
Certificates MeshCertificates - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- monitoring
Config MonitoringConfig - Monitoring configuration for the cluster.
- monitoring
Service String - The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model *
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). *none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions. - name String
- The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
- network String
- The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the
default
network will be used. On output this shows the network ID instead of the name. - network
Config NetworkConfig - Configuration for cluster networking.
- network
Policy NetworkPolicy - Configuration options for the NetworkPolicy feature.
- node
Config NodeConfig - Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see
node_pool.config
) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. - node
Pool NodeAuto Config Pool Auto Config - Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
- node
Pool NodeDefaults Pool Defaults - Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
- node
Pools List<NodePool> - The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
- notification
Config NotificationConfig - Notification configuration of the cluster.
- parent String
- The parent (project and location) where the cluster will be created. Specified in the format
projects/*/locations/*
. - parent
Product ParentConfig Product Config - The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster.
- pod
Security PodPolicy Config Security Policy Config - Configuration for the PodSecurityPolicy feature.
- private
Cluster Boolean - If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
- private
Cluster PrivateConfig Cluster Config - Configuration for private cluster.
- project String
- Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
- protect
Config ProtectConfig - Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster.
- release
Channel ReleaseChannel - Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
- resource
Labels Map<String,String> - The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
- resource
Usage ResourceExport Config Usage Export Config - Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
- security
Posture SecurityConfig Posture Config - Enable/Disable Security Posture API features for the cluster.
- shielded
Nodes ShieldedNodes - Shielded Nodes configuration.
- subnetwork String
- The name of the Google Compute Engine subnetwork to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
- tpu
Config TpuConfig - Configuration for Cloud TPU support;
- vertical
Pod VerticalAutoscaling Pod Autoscaling - Cluster-level Vertical Pod Autoscaling configuration.
- workload
Alts WorkloadConfig ALTSConfig - Configuration for direct-path (via ALTS) with workload identity.
- workload
Certificates WorkloadCertificates - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- workload
Identity WorkloadConfig Identity Config - Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
- zone String
- Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
- addons
Config AddonsConfig - Configurations for the various addons available to run in the cluster.
- authenticator
Groups AuthenticatorConfig Groups Config - Configuration controlling RBAC group membership information.
- autopilot Autopilot
- Autopilot configuration for the cluster.
- autoscaling
Cluster
Autoscaling - Cluster-level autoscaling configuration.
- Binary
Authorization - Configuration for Binary Authorization.
- cluster
Ipv4Cidr string - The IP address range of the container pods in this cluster, in CIDR notation (e.g.
10.96.0.0/14
). Leave blank to have one automatically chosen or specify a/14
block in10.0.0.0/8
. - cluster
Telemetry ClusterTelemetry - Telemetry integration for the cluster.
- conditions
Status
Condition[] - Which conditions caused the current cluster state.
- confidential
Nodes ConfidentialNodes - Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
- cost
Management CostConfig Management Config - Configuration for the fine-grained cost management feature.
- database
Encryption DatabaseEncryption - Configuration of etcd encryption.
- default
Max MaxPods Constraint Pods Constraint - The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
- description string
- An optional description of this cluster.
- enable
K8s K8sBeta Apis Beta APIConfig - Kubernetes open source beta apis enabled on the cluster. Only beta apis.
- enable
Kubernetes booleanAlpha - Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
- enable
Tpu boolean - Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
- enterprise
Config EnterpriseConfig - GKE Enterprise Configuration.
- etag string
- This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
- fleet Fleet
- Fleet information for the cluster.
- identity
Service IdentityConfig Service Config - Configuration for Identity Service component.
- initial
Cluster stringVersion - The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
- initial
Node numberCount - The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
- instance
Group string[]Urls - Deprecated. Use node_pools.instance_group_urls.
- ip
Allocation IPAllocationPolicy Policy - Configuration for cluster IP allocation.
- legacy
Abac LegacyAbac - Configuration for the legacy ABAC authorization mode.
- location string
- locations string[]
- The list of Google Compute Engine zones in which the cluster's nodes should be located. This field provides a default value if NodePool.Locations are not specified during node pool creation. Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
- logging
Config LoggingConfig - Logging configuration for the cluster.
- logging
Service string - The logging service the cluster should use to write logs. Currently available options: *
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model *logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). *none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions. - maintenance
Policy MaintenancePolicy - Configure the maintenance policy for this cluster.
- master Master
- Configuration for master components.
- master
Auth MasterAuth - The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified,
username
will be set to "admin", a random password will be generated, and a client certificate will be issued. - Master
Authorized Networks Config - The configuration options for master authorized networks feature.
- master
Ipv4Cidr stringBlock - The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
- mesh
Certificates MeshCertificates - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- monitoring
Config MonitoringConfig - Monitoring configuration for the cluster.
- monitoring
Service string - The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model *
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). *none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions. - name string
- The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
- network string
- The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the
default
network will be used. On output this shows the network ID instead of the name. - network
Config NetworkConfig - Configuration for cluster networking.
- network
Policy NetworkPolicy - Configuration options for the NetworkPolicy feature.
- node
Config NodeConfig - Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see
node_pool.config
) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. - node
Pool NodeAuto Config Pool Auto Config - Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
- node
Pool NodeDefaults Pool Defaults - Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
- node
Pools NodePool[] - The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
- notification
Config NotificationConfig - Notification configuration of the cluster.
- parent string
- The parent (project and location) where the cluster will be created. Specified in the format
projects/*/locations/*
. - parent
Product ParentConfig Product Config - The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster.
- pod
Security PodPolicy Config Security Policy Config - Configuration for the PodSecurityPolicy feature.
- private
Cluster boolean - If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
- private
Cluster PrivateConfig Cluster Config - Configuration for private cluster.
- project string
- Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
- protect
Config ProtectConfig - Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster.
- release
Channel ReleaseChannel - Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
- resource
Labels {[key: string]: string} - The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
- resource
Usage ResourceExport Config Usage Export Config - Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
- security
Posture SecurityConfig Posture Config - Enable/Disable Security Posture API features for the cluster.
- shielded
Nodes ShieldedNodes - Shielded Nodes configuration.
- subnetwork string
- The name of the Google Compute Engine subnetwork to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
- tpu
Config TpuConfig - Configuration for Cloud TPU support;
- vertical
Pod VerticalAutoscaling Pod Autoscaling - Cluster-level Vertical Pod Autoscaling configuration.
- workload
Alts WorkloadConfig ALTSConfig - Configuration for direct-path (via ALTS) with workload identity.
- workload
Certificates WorkloadCertificates - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- workload
Identity WorkloadConfig Identity Config - Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
- zone string
- Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
- addons_
config AddonsConfig Args - Configurations for the various addons available to run in the cluster.
- authenticator_
groups_ Authenticatorconfig Groups Config Args - Configuration controlling RBAC group membership information.
- autopilot
Autopilot
Args - Autopilot configuration for the cluster.
- autoscaling
Cluster
Autoscaling Args - Cluster-level autoscaling configuration.
- Binary
Authorization Args - Configuration for Binary Authorization.
- cluster_
ipv4_ strcidr - The IP address range of the container pods in this cluster, in CIDR notation (e.g.
10.96.0.0/14
). Leave blank to have one automatically chosen or specify a/14
block in10.0.0.0/8
. - cluster_
telemetry ClusterTelemetry Args - Telemetry integration for the cluster.
- conditions
Sequence[Status
Condition Args] - Which conditions caused the current cluster state.
- confidential_
nodes ConfidentialNodes Args - Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
- cost_
management_ Costconfig Management Config Args - Configuration for the fine-grained cost management feature.
- database_
encryption DatabaseEncryption Args - Configuration of etcd encryption.
- default_
max_ Maxpods_ constraint Pods Constraint Args - The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
- description str
- An optional description of this cluster.
- enable_
k8s_ K8sbeta_ apis Beta APIConfig Args - Kubernetes open source beta apis enabled on the cluster. Only beta apis.
- enable_
kubernetes_ boolalpha - Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
- enable_
tpu bool - Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
- enterprise_
config EnterpriseConfig Args - GKE Enterprise Configuration.
- etag str
- This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
- fleet
Fleet
Args - Fleet information for the cluster.
- identity_
service_ Identityconfig Service Config Args - Configuration for Identity Service component.
- initial_
cluster_ strversion - The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
- initial_
node_ intcount - The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
- instance_
group_ Sequence[str]urls - Deprecated. Use node_pools.instance_group_urls.
- ip_
allocation_ IPAllocationpolicy Policy Args - Configuration for cluster IP allocation.
- legacy_
abac LegacyAbac Args - Configuration for the legacy ABAC authorization mode.
- location str
- locations Sequence[str]
- The list of Google Compute Engine zones in which the cluster's nodes should be located. This field provides a default value if NodePool.Locations are not specified during node pool creation. Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
- logging_
config LoggingConfig Args - Logging configuration for the cluster.
- logging_
service str - The logging service the cluster should use to write logs. Currently available options: *
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model *logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). *none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions. - maintenance_
policy MaintenancePolicy Args - Configure the maintenance policy for this cluster.
- master
Master
Args - Configuration for master components.
- master_
auth MasterAuth Args - The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified,
username
will be set to "admin", a random password will be generated, and a client certificate will be issued. - Master
Authorized Networks Config Args - The configuration options for master authorized networks feature.
- master_
ipv4_ strcidr_ block - The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
- mesh_
certificates MeshCertificates Args - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- monitoring_
config MonitoringConfig Args - Monitoring configuration for the cluster.
- monitoring_
service str - The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model *
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). *none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions. - name str
- The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
- network str
- The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the
default
network will be used. On output this shows the network ID instead of the name. - network_
config NetworkConfig Args - Configuration for cluster networking.
- network_
policy NetworkPolicy Args - Configuration options for the NetworkPolicy feature.
- node_
config NodeConfig Args - Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see
node_pool.config
) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. - node_
pool_ Nodeauto_ config Pool Auto Config Args - Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
- node_
pool_ Nodedefaults Pool Defaults Args - Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
- node_
pools Sequence[NodePool Args] - The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
- notification_
config NotificationConfig Args - Notification configuration of the cluster.
- parent str
- The parent (project and location) where the cluster will be created. Specified in the format
projects/*/locations/*
. - parent_
product_ Parentconfig Product Config Args - The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster.
- pod_
security_ Podpolicy_ config Security Policy Config Args - Configuration for the PodSecurityPolicy feature.
- private_
cluster bool - If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
- private_
cluster_ Privateconfig Cluster Config Args - Configuration for private cluster.
- project str
- Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
- protect_
config ProtectConfig Args - Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster.
- release_
channel ReleaseChannel Args - Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
- resource_
labels Mapping[str, str] - The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
- resource_
usage_ Resourceexport_ config Usage Export Config Args - Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
- security_
posture_ Securityconfig Posture Config Args - Enable/Disable Security Posture API features for the cluster.
- shielded_
nodes ShieldedNodes Args - Shielded Nodes configuration.
- subnetwork str
- The name of the Google Compute Engine subnetwork to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
- tpu_
config TpuConfig Args - Configuration for Cloud TPU support;
- vertical_
pod_ Verticalautoscaling Pod Autoscaling Args - Cluster-level Vertical Pod Autoscaling configuration.
- workload_
alts_ Workloadconfig ALTSConfig Args - Configuration for direct-path (via ALTS) with workload identity.
- workload_
certificates WorkloadCertificates Args - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- workload_
identity_ Workloadconfig Identity Config Args - Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
- zone str
- Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
- addons
Config Property Map - Configurations for the various addons available to run in the cluster.
- authenticator
Groups Property MapConfig - Configuration controlling RBAC group membership information.
- autopilot Property Map
- Autopilot configuration for the cluster.
- autoscaling Property Map
- Cluster-level autoscaling configuration.
- Property Map
- Configuration for Binary Authorization.
- cluster
Ipv4Cidr String - The IP address range of the container pods in this cluster, in CIDR notation (e.g.
10.96.0.0/14
). Leave blank to have one automatically chosen or specify a/14
block in10.0.0.0/8
. - cluster
Telemetry Property Map - Telemetry integration for the cluster.
- conditions List<Property Map>
- Which conditions caused the current cluster state.
- confidential
Nodes Property Map - Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
- cost
Management Property MapConfig - Configuration for the fine-grained cost management feature.
- database
Encryption Property Map - Configuration of etcd encryption.
- default
Max Property MapPods Constraint - The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
- description String
- An optional description of this cluster.
- enable
K8s Property MapBeta Apis - Kubernetes open source beta apis enabled on the cluster. Only beta apis.
- enable
Kubernetes BooleanAlpha - Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
- enable
Tpu Boolean - Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
- enterprise
Config Property Map - GKE Enterprise Configuration.
- etag String
- This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
- fleet Property Map
- Fleet information for the cluster.
- identity
Service Property MapConfig - Configuration for Identity Service component.
- initial
Cluster StringVersion - The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "","-": picks the default Kubernetes version
- initial
Node NumberCount - The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
- instance
Group List<String>Urls - Deprecated. Use node_pools.instance_group_urls.
- ip
Allocation Property MapPolicy - Configuration for cluster IP allocation.
- legacy
Abac Property Map - Configuration for the legacy ABAC authorization mode.
- location String
- locations List<String>
- The list of Google Compute Engine zones in which the cluster's nodes should be located. This field provides a default value if NodePool.Locations are not specified during node pool creation. Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
- logging
Config Property Map - Logging configuration for the cluster.
- logging
Service String - The logging service the cluster should use to write logs. Currently available options: *
logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model *logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). *none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ orlogging.googleapis.com
for earlier versions. - maintenance
Policy Property Map - Configure the maintenance policy for this cluster.
- master Property Map
- Configuration for master components.
- master
Auth Property Map - The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified,
username
will be set to "admin", a random password will be generated, and a client certificate will be issued. - Property Map
- The configuration options for master authorized networks feature.
- master
Ipv4Cidr StringBlock - The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
- mesh
Certificates Property Map - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- monitoring
Config Property Map - Monitoring configuration for the cluster.
- monitoring
Service String - The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model *
monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). *none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ ormonitoring.googleapis.com
for earlier versions. - name String
- The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
- network String
- The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the
default
network will be used. On output this shows the network ID instead of the name. - network
Config Property Map - Configuration for cluster networking.
- network
Policy Property Map - Configuration options for the NetworkPolicy feature.
- node
Config Property Map - Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see
node_pool.config
) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead. - node
Pool Property MapAuto Config - Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
- node
Pool Property MapDefaults - Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
- node
Pools List<Property Map> - The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
- notification
Config Property Map - Notification configuration of the cluster.
- parent String
- The parent (project and location) where the cluster will be created. Specified in the format
projects/*/locations/*
. - parent
Product Property MapConfig - The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster.
- pod
Security Property MapPolicy Config - Configuration for the PodSecurityPolicy feature.
- private
Cluster Boolean - If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
- private
Cluster Property MapConfig - Configuration for private cluster.
- project String
- Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
- protect
Config Property Map - Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster.
- release
Channel Property Map - Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
- resource
Labels Map<String> - The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
- resource
Usage Property MapExport Config - Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
- security
Posture Property MapConfig - Enable/Disable Security Posture API features for the cluster.
- shielded
Nodes Property Map - Shielded Nodes configuration.
- subnetwork String
- The name of the Google Compute Engine subnetwork to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
- tpu
Config Property Map - Configuration for Cloud TPU support;
- vertical
Pod Property MapAutoscaling - Cluster-level Vertical Pod Autoscaling configuration.
- workload
Alts Property MapConfig - Configuration for direct-path (via ALTS) with workload identity.
- workload
Certificates Property Map - Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
- workload
Identity Property MapConfig - Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
- zone String
- Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the parent field.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Create
Time string - [Output only] The time the cluster was created, in RFC3339 text format.
- Current
Master stringVersion - [Output only] The current software version of the master endpoint.
- Current
Node intCount - [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
- Current
Node stringVersion - [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
- Endpoint string
- [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at
https://username:password@endpoint/
. See themasterAuth
property of this resource for username and password information. - Expire
Time string - [Output only] The time the cluster will be automatically deleted in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Label
Fingerprint string - The fingerprint of the set of labels for this cluster.
- Node
Ipv4Cidr intSize - [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the
container_ipv4_cidr
range. This field will only be set when cluster is in route-based network mode. - Self
Link string - [Output only] Server-defined URL for the resource.
- Services
Ipv4Cidr string - [Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g.
1.2.3.4/29
). Service addresses are typically put in the last/16
from the container CIDR. - Status string
- [Output only] The current status of this cluster.
- Status
Message string - [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
- Tpu
Ipv4Cidr stringBlock - [Output only] The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g.
1.2.3.4/29
).
- Create
Time string - [Output only] The time the cluster was created, in RFC3339 text format.
- Current
Master stringVersion - [Output only] The current software version of the master endpoint.
- Current
Node intCount - [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
- Current
Node stringVersion - [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
- Endpoint string
- [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at
https://username:password@endpoint/
. See themasterAuth
property of this resource for username and password information. - Expire
Time string - [Output only] The time the cluster will be automatically deleted in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Label
Fingerprint string - The fingerprint of the set of labels for this cluster.
- Node
Ipv4Cidr intSize - [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the
container_ipv4_cidr
range. This field will only be set when cluster is in route-based network mode. - Self
Link string - [Output only] Server-defined URL for the resource.
- Services
Ipv4Cidr string - [Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g.
1.2.3.4/29
). Service addresses are typically put in the last/16
from the container CIDR. - Status string
- [Output only] The current status of this cluster.
- Status
Message string - [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
- Tpu
Ipv4Cidr stringBlock - [Output only] The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g.
1.2.3.4/29
).
- create
Time String - [Output only] The time the cluster was created, in RFC3339 text format.
- current
Master StringVersion - [Output only] The current software version of the master endpoint.
- current
Node IntegerCount - [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
- current
Node StringVersion - [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
- endpoint String
- [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at
https://username:password@endpoint/
. See themasterAuth
property of this resource for username and password information. - expire
Time String - [Output only] The time the cluster will be automatically deleted in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- label
Fingerprint String - The fingerprint of the set of labels for this cluster.
- node
Ipv4Cidr IntegerSize - [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the
container_ipv4_cidr
range. This field will only be set when cluster is in route-based network mode. - self
Link String - [Output only] Server-defined URL for the resource.
- services
Ipv4Cidr String - [Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g.
1.2.3.4/29
). Service addresses are typically put in the last/16
from the container CIDR. - status String
- [Output only] The current status of this cluster.
- status
Message String - [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
- tpu
Ipv4Cidr StringBlock - [Output only] The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g.
1.2.3.4/29
).
- create
Time string - [Output only] The time the cluster was created, in RFC3339 text format.
- current
Master stringVersion - [Output only] The current software version of the master endpoint.
- current
Node numberCount - [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
- current
Node stringVersion - [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
- endpoint string
- [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at
https://username:password@endpoint/
. See themasterAuth
property of this resource for username and password information. - expire
Time string - [Output only] The time the cluster will be automatically deleted in RFC3339 text format.
- id string
- The provider-assigned unique ID for this managed resource.
- label
Fingerprint string - The fingerprint of the set of labels for this cluster.
- node
Ipv4Cidr numberSize - [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the
container_ipv4_cidr
range. This field will only be set when cluster is in route-based network mode. - self
Link string - [Output only] Server-defined URL for the resource.
- services
Ipv4Cidr string - [Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g.
1.2.3.4/29
). Service addresses are typically put in the last/16
from the container CIDR. - status string
- [Output only] The current status of this cluster.
- status
Message string - [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
- tpu
Ipv4Cidr stringBlock - [Output only] The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g.
1.2.3.4/29
).
- create_
time str - [Output only] The time the cluster was created, in RFC3339 text format.
- current_
master_ strversion - [Output only] The current software version of the master endpoint.
- current_
node_ intcount - [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
- current_
node_ strversion - [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
- endpoint str
- [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at
https://username:password@endpoint/
. See themasterAuth
property of this resource for username and password information. - expire_
time str - [Output only] The time the cluster will be automatically deleted in RFC3339 text format.
- id str
- The provider-assigned unique ID for this managed resource.
- label_
fingerprint str - The fingerprint of the set of labels for this cluster.
- node_
ipv4_ intcidr_ size - [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the
container_ipv4_cidr
range. This field will only be set when cluster is in route-based network mode. - self_
link str - [Output only] Server-defined URL for the resource.
- services_
ipv4_ strcidr - [Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g.
1.2.3.4/29
). Service addresses are typically put in the last/16
from the container CIDR. - status str
- [Output only] The current status of this cluster.
- status_
message str - [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
- tpu_
ipv4_ strcidr_ block - [Output only] The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g.
1.2.3.4/29
).
- create
Time String - [Output only] The time the cluster was created, in RFC3339 text format.
- current
Master StringVersion - [Output only] The current software version of the master endpoint.
- current
Node NumberCount - [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
- current
Node StringVersion - [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
- endpoint String
- [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at
https://username:password@endpoint/
. See themasterAuth
property of this resource for username and password information. - expire
Time String - [Output only] The time the cluster will be automatically deleted in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- label
Fingerprint String - The fingerprint of the set of labels for this cluster.
- node
Ipv4Cidr NumberSize - [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the
container_ipv4_cidr
range. This field will only be set when cluster is in route-based network mode. - self
Link String - [Output only] Server-defined URL for the resource.
- services
Ipv4Cidr String - [Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g.
1.2.3.4/29
). Service addresses are typically put in the last/16
from the container CIDR. - status String
- [Output only] The current status of this cluster.
- status
Message String - [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
- tpu
Ipv4Cidr StringBlock - [Output only] The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g.
1.2.3.4/29
).
Cluster Resource Methods
GetKubeconfig Method
Generate a kubeconfig for cluster authentication.
The kubeconfig generated is automatically stringified for ease of use with the pulumi/kubernetes provider.
The kubeconfig uses the new gke-gcloud-auth-plugin
authentication plugin as recommended by Google.
See for more details:
- https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
Using GetKubeconfig
getKubeconfig(): Output<string>
def get_kubeconfig() -> Output[str]
func (r *Cluster) GetKubeconfig() (pulumi.StringOutput, error)
public Output<string> GetKubeconfig()
GetKubeconfig Result
- Kubeconfig string
- Kubeconfig string
- kubeconfig String
- kubeconfig string
- kubeconfig str
- kubeconfig String
Supporting Types
AcceleratorConfig, AcceleratorConfigArgs
- Accelerator
Count string - The number of the accelerator cards exposed to an instance.
- Accelerator
Type string - The accelerator type resource name. List of supported accelerators here
- Gpu
Driver Pulumi.Installation Config Google Native. Container. V1Beta1. Inputs. GPUDriver Installation Config - The configuration for auto installation of GPU driver.
- Gpu
Partition stringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- Gpu
Sharing Pulumi.Config Google Native. Container. V1Beta1. Inputs. GPUSharing Config - The configuration for GPU sharing options.
- string
- The number of time-shared GPU resources to expose for each physical GPU.
- Accelerator
Count string - The number of the accelerator cards exposed to an instance.
- Accelerator
Type string - The accelerator type resource name. List of supported accelerators here
- Gpu
Driver GPUDriverInstallation Config Installation Config - The configuration for auto installation of GPU driver.
- Gpu
Partition stringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- Gpu
Sharing GPUSharingConfig Config - The configuration for GPU sharing options.
- string
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator
Count String - The number of the accelerator cards exposed to an instance.
- accelerator
Type String - The accelerator type resource name. List of supported accelerators here
- gpu
Driver GPUDriverInstallation Config Installation Config - The configuration for auto installation of GPU driver.
- gpu
Partition StringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu
Sharing GPUSharingConfig Config - The configuration for GPU sharing options.
- String
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator
Count string - The number of the accelerator cards exposed to an instance.
- accelerator
Type string - The accelerator type resource name. List of supported accelerators here
- gpu
Driver GPUDriverInstallation Config Installation Config - The configuration for auto installation of GPU driver.
- gpu
Partition stringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu
Sharing GPUSharingConfig Config - The configuration for GPU sharing options.
- string
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator_
count str - The number of the accelerator cards exposed to an instance.
- accelerator_
type str - The accelerator type resource name. List of supported accelerators here
- gpu_
driver_ GPUDriverinstallation_ config Installation Config - The configuration for auto installation of GPU driver.
- gpu_
partition_ strsize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu_
sharing_ GPUSharingconfig Config - The configuration for GPU sharing options.
- str
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator
Count String - The number of the accelerator cards exposed to an instance.
- accelerator
Type String - The accelerator type resource name. List of supported accelerators here
- gpu
Driver Property MapInstallation Config - The configuration for auto installation of GPU driver.
- gpu
Partition StringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu
Sharing Property MapConfig - The configuration for GPU sharing options.
- String
- The number of time-shared GPU resources to expose for each physical GPU.
AcceleratorConfigResponse, AcceleratorConfigResponseArgs
- Accelerator
Count string - The number of the accelerator cards exposed to an instance.
- Accelerator
Type string - The accelerator type resource name. List of supported accelerators here
- Gpu
Driver Pulumi.Installation Config Google Native. Container. V1Beta1. Inputs. GPUDriver Installation Config Response - The configuration for auto installation of GPU driver.
- Gpu
Partition stringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- Gpu
Sharing Pulumi.Config Google Native. Container. V1Beta1. Inputs. GPUSharing Config Response - The configuration for GPU sharing options.
- string
- The number of time-shared GPU resources to expose for each physical GPU.
- Accelerator
Count string - The number of the accelerator cards exposed to an instance.
- Accelerator
Type string - The accelerator type resource name. List of supported accelerators here
- Gpu
Driver GPUDriverInstallation Config Installation Config Response - The configuration for auto installation of GPU driver.
- Gpu
Partition stringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- Gpu
Sharing GPUSharingConfig Config Response - The configuration for GPU sharing options.
- string
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator
Count String - The number of the accelerator cards exposed to an instance.
- accelerator
Type String - The accelerator type resource name. List of supported accelerators here
- gpu
Driver GPUDriverInstallation Config Installation Config Response - The configuration for auto installation of GPU driver.
- gpu
Partition StringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu
Sharing GPUSharingConfig Config Response - The configuration for GPU sharing options.
- String
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator
Count string - The number of the accelerator cards exposed to an instance.
- accelerator
Type string - The accelerator type resource name. List of supported accelerators here
- gpu
Driver GPUDriverInstallation Config Installation Config Response - The configuration for auto installation of GPU driver.
- gpu
Partition stringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu
Sharing GPUSharingConfig Config Response - The configuration for GPU sharing options.
- string
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator_
count str - The number of the accelerator cards exposed to an instance.
- accelerator_
type str - The accelerator type resource name. List of supported accelerators here
- gpu_
driver_ GPUDriverinstallation_ config Installation Config Response - The configuration for auto installation of GPU driver.
- gpu_
partition_ strsize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu_
sharing_ GPUSharingconfig Config Response - The configuration for GPU sharing options.
- str
- The number of time-shared GPU resources to expose for each physical GPU.
- accelerator
Count String - The number of the accelerator cards exposed to an instance.
- accelerator
Type String - The accelerator type resource name. List of supported accelerators here
- gpu
Driver Property MapInstallation Config - The configuration for auto installation of GPU driver.
- gpu
Partition StringSize - Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
- gpu
Sharing Property MapConfig - The configuration for GPU sharing options.
- String
- The number of time-shared GPU resources to expose for each physical GPU.
AdditionalNodeNetworkConfig, AdditionalNodeNetworkConfigArgs
- Network string
- Name of the VPC where the additional interface belongs
- Subnetwork string
- Name of the subnetwork where the additional interface belongs
- Network string
- Name of the VPC where the additional interface belongs
- Subnetwork string
- Name of the subnetwork where the additional interface belongs
- network String
- Name of the VPC where the additional interface belongs
- subnetwork String
- Name of the subnetwork where the additional interface belongs
- network string
- Name of the VPC where the additional interface belongs
- subnetwork string
- Name of the subnetwork where the additional interface belongs
- network str
- Name of the VPC where the additional interface belongs
- subnetwork str
- Name of the subnetwork where the additional interface belongs
- network String
- Name of the VPC where the additional interface belongs
- subnetwork String
- Name of the subnetwork where the additional interface belongs
AdditionalNodeNetworkConfigResponse, AdditionalNodeNetworkConfigResponseArgs
- Network string
- Name of the VPC where the additional interface belongs
- Subnetwork string
- Name of the subnetwork where the additional interface belongs
- Network string
- Name of the VPC where the additional interface belongs
- Subnetwork string
- Name of the subnetwork where the additional interface belongs
- network String
- Name of the VPC where the additional interface belongs
- subnetwork String
- Name of the subnetwork where the additional interface belongs
- network string
- Name of the VPC where the additional interface belongs
- subnetwork string
- Name of the subnetwork where the additional interface belongs
- network str
- Name of the VPC where the additional interface belongs
- subnetwork str
- Name of the subnetwork where the additional interface belongs
- network String
- Name of the VPC where the additional interface belongs
- subnetwork String
- Name of the subnetwork where the additional interface belongs
AdditionalPodNetworkConfig, AdditionalPodNetworkConfigArgs
- Max
Pods Pulumi.Per Node Google Native. Container. V1Beta1. Inputs. Max Pods Constraint - The maximum number of pods per node which use this pod network
- Secondary
Pod stringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- Subnetwork string
- Name of the subnetwork where the additional pod network belongs
- Max
Pods MaxPer Node Pods Constraint - The maximum number of pods per node which use this pod network
- Secondary
Pod stringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- Subnetwork string
- Name of the subnetwork where the additional pod network belongs
- max
Pods MaxPer Node Pods Constraint - The maximum number of pods per node which use this pod network
- secondary
Pod StringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork String
- Name of the subnetwork where the additional pod network belongs
- max
Pods MaxPer Node Pods Constraint - The maximum number of pods per node which use this pod network
- secondary
Pod stringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork string
- Name of the subnetwork where the additional pod network belongs
- max_
pods_ Maxper_ node Pods Constraint - The maximum number of pods per node which use this pod network
- secondary_
pod_ strrange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork str
- Name of the subnetwork where the additional pod network belongs
- max
Pods Property MapPer Node - The maximum number of pods per node which use this pod network
- secondary
Pod StringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork String
- Name of the subnetwork where the additional pod network belongs
AdditionalPodNetworkConfigResponse, AdditionalPodNetworkConfigResponseArgs
- Max
Pods Pulumi.Per Node Google Native. Container. V1Beta1. Inputs. Max Pods Constraint Response - The maximum number of pods per node which use this pod network
- Secondary
Pod stringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- Subnetwork string
- Name of the subnetwork where the additional pod network belongs
- Max
Pods MaxPer Node Pods Constraint Response - The maximum number of pods per node which use this pod network
- Secondary
Pod stringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- Subnetwork string
- Name of the subnetwork where the additional pod network belongs
- max
Pods MaxPer Node Pods Constraint Response - The maximum number of pods per node which use this pod network
- secondary
Pod StringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork String
- Name of the subnetwork where the additional pod network belongs
- max
Pods MaxPer Node Pods Constraint Response - The maximum number of pods per node which use this pod network
- secondary
Pod stringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork string
- Name of the subnetwork where the additional pod network belongs
- max_
pods_ Maxper_ node Pods Constraint Response - The maximum number of pods per node which use this pod network
- secondary_
pod_ strrange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork str
- Name of the subnetwork where the additional pod network belongs
- max
Pods Property MapPer Node - The maximum number of pods per node which use this pod network
- secondary
Pod StringRange - The name of the secondary range on the subnet which provides IP address for this pod range
- subnetwork String
- Name of the subnetwork where the additional pod network belongs
AdditionalPodRangesConfigResponse, AdditionalPodRangesConfigResponseArgs
- Pod
Range List<Pulumi.Info Google Native. Container. V1Beta1. Inputs. Range Info Response> - [Output only] Information for additional pod range.
- Pod
Range List<string>Names - Name for pod secondary ipv4 range which has the actual range defined ahead.
- Pod
Range []RangeInfo Info Response - [Output only] Information for additional pod range.
- Pod
Range []stringNames - Name for pod secondary ipv4 range which has the actual range defined ahead.
- pod
Range List<RangeInfo Info Response> - [Output only] Information for additional pod range.
- pod
Range List<String>Names - Name for pod secondary ipv4 range which has the actual range defined ahead.
- pod
Range RangeInfo Info Response[] - [Output only] Information for additional pod range.
- pod
Range string[]Names - Name for pod secondary ipv4 range which has the actual range defined ahead.
- pod_
range_ Sequence[Rangeinfo Info Response] - [Output only] Information for additional pod range.
- pod_
range_ Sequence[str]names - Name for pod secondary ipv4 range which has the actual range defined ahead.
- pod
Range List<Property Map>Info - [Output only] Information for additional pod range.
- pod
Range List<String>Names - Name for pod secondary ipv4 range which has the actual range defined ahead.
AddonsConfig, AddonsConfigArgs
- Cloud
Run Pulumi.Config Google Native. Container. V1Beta1. Inputs. Cloud Run Config - Configuration for the Cloud Run addon. The
IstioConfig
addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time. - Config
Connector Pulumi.Config Google Native. Container. V1Beta1. Inputs. Config Connector Config - Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
- Dns
Cache Pulumi.Config Google Native. Container. V1Beta1. Inputs. Dns Cache Config - Configuration for NodeLocalDNS, a dns cache running on cluster nodes
- Gce
Persistent Pulumi.Disk Csi Driver Config Google Native. Container. V1Beta1. Inputs. Gce Persistent Disk Csi Driver Config - Configuration for the Compute Engine Persistent Disk CSI driver.
- Gcp
Filestore Pulumi.Csi Driver Config Google Native. Container. V1Beta1. Inputs. Gcp Filestore Csi Driver Config - Configuration for the GCP Filestore CSI driver.
- Gcs
Fuse Pulumi.Csi Driver Config Google Native. Container. V1Beta1. Inputs. Gcs Fuse Csi Driver Config - Configuration for the Cloud Storage Fuse CSI driver.
- Gke
Backup Pulumi.Agent Config Google Native. Container. V1Beta1. Inputs. Gke Backup Agent Config - Configuration for the Backup for GKE agent addon.
- Horizontal
Pod Pulumi.Autoscaling Google Native. Container. V1Beta1. Inputs. Horizontal Pod Autoscaling - Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
- Http
Load Pulumi.Balancing Google Native. Container. V1Beta1. Inputs. Http Load Balancing - Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
- Istio
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Istio Config - Configuration for Istio, an open platform to connect, manage, and secure microservices.
- Kalm
Config Pulumi.Google Native. Container. V1Beta1. Inputs. Kalm Config - Configuration for the KALM addon, which manages the lifecycle of k8s applications.
- Kubernetes
Dashboard Pulumi.Google Native. Container. V1Beta1. Inputs. Kubernetes Dashboard - Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
- Network
Policy Pulumi.Config Google Native. Container. V1Beta1. Inputs. Network Policy Config - Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
- Cloud
Run CloudConfig Run Config - Configuration for the Cloud Run addon. The
IstioConfig
addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time. - Config
Connector ConfigConfig Connector Config - Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
- Dns
Cache DnsConfig Cache Config - Configuration for NodeLocalDNS, a dns cache running on cluster nodes
- Gce
Persistent GceDisk Csi Driver Config Persistent Disk Csi Driver Config - Configuration for the Compute Engine Persistent Disk CSI driver.
- Gcp
Filestore GcpCsi Driver Config Filestore Csi Driver Config - Configuration for the GCP Filestore CSI driver.
- Gcs
Fuse GcsCsi Driver Config Fuse Csi Driver Config - Configuration for the Cloud Storage Fuse CSI driver.
- Gke
Backup GkeAgent Config Backup Agent Config - Configuration for the Backup for GKE agent addon.
- Horizontal
Pod HorizontalAutoscaling Pod Autoscaling - Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
- Http
Load HttpBalancing Load Balancing - Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
- Istio
Config IstioConfig - Configuration for Istio, an open platform to connect, manage, and secure microservices.
- Kalm
Config KalmConfig - Configuration for the KALM addon, which manages the lifecycle of k8s applications.
- Kubernetes
Dashboard KubernetesDashboard - Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
- Network
Policy NetworkConfig Policy Config - Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
- cloud
Run CloudConfig Run Config - Configuration for the Cloud Run addon. The
IstioConfig
addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time. - config
Connector ConfigConfig Connector Config - Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
- dns
Cache DnsConfig Cache Config - Configuration for NodeLocalDNS, a dns cache running on cluster nodes
- gce
Persistent GceDisk Csi Driver Config Persistent Disk Csi Driver Config - Configuration for the Compute Engine Persistent Disk CSI driver.
- gcp
Filestore GcpCsi Driver Config Filestore Csi Driver Config - Configuration for the GCP Filestore CSI driver.
- gcs
Fuse GcsCsi Driver Config Fuse Csi Driver Config - Configuration for the Cloud Storage Fuse CSI driver.
- gke
Backup GkeAgent Config Backup Agent Config - Configuration for the Backup for GKE agent addon.
- horizontal
Pod HorizontalAutoscaling Pod Autoscaling - Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
- http
Load HttpBalancing Load Balancing - Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
- istio
Config IstioConfig - Configuration for Istio, an open platform to connect, manage, and secure microservices.
- kalm
Config KalmConfig - Configuration for the KALM addon, which manages the lifecycle of k8s applications.
- kubernetes
Dashboard KubernetesDashboard - Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
- network
Policy NetworkConfig Policy Config - Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
- cloud
Run CloudConfig Run Config - Configuration for the Cloud Run addon. The
IstioConfig
addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time. - config
Connector ConfigConfig Connector Config - Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
- dns
Cache DnsConfig Cache Config - Configuration for NodeLocalDNS, a dns cache running on cluster nodes
- gce
Persistent Disk Csi Dr