clusters
Creates, updates, deletes, gets or lists a clusters
resource.
Overview
Name | clusters |
Type | Resource |
Id | google.container.clusters |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Output only. Unique id for the cluster. |
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. |
description | string | An optional description of this cluster. |
addonsConfig | object | Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. |
authenticatorGroupsConfig | object | Configuration for returning group information from authenticators. |
autopilot | object | Autopilot is the configuration for Autopilot settings on the cluster. |
autoscaling | object | ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. |
binaryAuthorization | object | Configuration for Binary Authorization. |
clusterIpv4Cidr | 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 in 10.0.0.0/8 . |
compliancePostureConfig | object | CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture. |
conditions | array | Which conditions caused the current cluster state. |
confidentialNodes | object | ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. |
costManagementConfig | object | Configuration for fine-grained cost management feature. |
createTime | string | Output only. The time the cluster was created, in RFC3339 text format. |
currentMasterVersion | string | Output only. The current software version of the master endpoint. |
currentNodeCount | integer | Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information. |
currentNodeVersion | string | Output only. Deprecated, use NodePools.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. |
databaseEncryption | object | Configuration of etcd encryption. |
defaultMaxPodsConstraint | object | Constraints applied to pods. |
enableK8sBetaApis | object | K8sBetaAPIConfig , configuration for beta APIs |
enableKubernetesAlpha | boolean | Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) 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. |
enableTpu | boolean | Enable the ability to use Cloud TPUs in this cluster. |
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 the masterAuth property of this resource for username and password information. |
enterpriseConfig | object | EnterpriseConfig is the cluster 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. |
expireTime | string | Output only. The time the cluster will be automatically deleted in RFC3339 text format. |
fleet | object | Fleet is the fleet configuration for the cluster. |
identityServiceConfig | object | IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API |
initialClusterVersion | string | 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 |
initialNodeCount | integer | 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. |
instanceGroupUrls | array | Output only. Deprecated. Use node_pools.instance_group_urls. |
ipAllocationPolicy | object | Configuration for controlling how IPs are allocated in the cluster. |
labelFingerprint | string | The fingerprint of the set of labels for this cluster. |
legacyAbac | object | Configuration for the legacy Attribute Based Access Control authorization mode. |
location | string | Output only. The name of the Google Compute Engine zone or region in which the cluster resides. |
locations | array | 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. |
loggingConfig | object | LoggingConfig is cluster logging configuration. |
loggingService | 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+ or logging.googleapis.com for earlier versions. |
maintenancePolicy | object | MaintenancePolicy defines the maintenance policy to be used for the cluster. |
masterAuth | object | The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. |
masterAuthorizedNetworksConfig | object | Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. |
meshCertificates | object | Configuration for issuance of mTLS keys and certificates to Kubernetes pods. |
monitoringConfig | object | MonitoringConfig is cluster monitoring configuration. |
monitoringService | 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+ or monitoring.googleapis.com for earlier versions. |
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. |
networkConfig | object | NetworkConfig reports the relative names of network & subnetwork. |
networkPolicy | object | Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ |
nodeConfig | object | Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in NodeConfig . Use AutoprovisioningNodePoolDefaults instead. |
nodeIpv4CidrSize | integer | 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. |
nodePoolAutoConfig | object | Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. |
nodePoolDefaults | object | Subset of Nodepool message that has defaults. |
nodePools | array | The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified. |
notificationConfig | object | NotificationConfig is the configuration of notifications. |
parentProductConfig | object | ParentProductConfig is the configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of a GKE cluster and take the ownership of the cluster. |
privateClusterConfig | object | Configuration options for private clusters. |
rbacBindingConfig | object | RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. |
releaseChannel | object | ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. |
resourceLabels | object | The resource labels for the cluster to use to annotate any related Google Compute Engine resources. |
resourceUsageExportConfig | object | Configuration for exporting cluster resource usages. |
satisfiesPzi | boolean | Output only. Reserved for future use. |
satisfiesPzs | boolean | Output only. Reserved for future use. |
secretManagerConfig | object | SecretManagerConfig is config for secret manager enablement. |
securityPostureConfig | object | SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. |
selfLink | string | Output only. Server-defined URL for the resource. |
servicesIpv4Cidr | 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. |
shieldedNodes | object | Configuration of Shielded Nodes feature. |
status | string | Output only. The current status of this cluster. |
statusMessage | string | Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available. |
subnetwork | string | The name of the Google Compute Engine subnetwork to which the cluster is connected. |
tpuIpv4CidrBlock | string | Output only. The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g. 1.2.3.4/29 ). |
verticalPodAutoscaling | object | VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it. |
workloadIdentityConfig | object | Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. |
zone | string | Output only. The name of the Google Compute Engine zone in which the cluster resides. This field is deprecated, use location instead. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_clusters_get | SELECT | clustersId, locationsId, projectsId | Gets the details of a specific cluster. |
projects_locations_clusters_list | SELECT | locationsId, projectsId | Lists all clusters owned by a project in either the specified zone or all zones. |
projects_zones_clusters_get | SELECT | clusterId, projectId, zone | Gets the details of a specific cluster. |
projects_zones_clusters_list | SELECT | projectId, zone | Lists all clusters owned by a project in either the specified zone or all zones. |
projects_locations_clusters_create | INSERT | locationsId, projectsId | 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. |
projects_zones_clusters_create | INSERT | projectId, zone | 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. |
projects_locations_clusters_delete | DELETE | clustersId, locationsId, projectsId | Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created. |
projects_zones_clusters_delete | DELETE | clusterId, projectId, zone | Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created. |
projects_locations_clusters_update | REPLACE | clustersId, locationsId, projectsId | Updates the settings of a specific cluster. |
projects_zones_clusters_update | REPLACE | clusterId, projectId, zone | Updates the settings of a specific cluster. |
projects_locations_clusters_check_autopilot_compatibility | EXEC | clustersId, locationsId, projectsId | Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues. |
projects_locations_clusters_complete_ip_rotation | EXEC | clustersId, locationsId, projectsId | Completes master IP rotation. |
projects_locations_clusters_set_addons | EXEC | clustersId, locationsId, projectsId | Sets the addons for a specific cluster. |
projects_locations_clusters_set_legacy_abac | EXEC | clustersId, locationsId, projectsId | Enables or disables the ABAC authorization mechanism on a cluster. |
projects_locations_clusters_set_locations | EXEC | clustersId, locationsId, projectsId | Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead. |
projects_locations_clusters_set_logging | EXEC | clustersId, locationsId, projectsId | Sets the logging service for a specific cluster. |
projects_locations_clusters_set_maintenance_policy | EXEC | clustersId, locationsId, projectsId | Sets the maintenance policy for a cluster. |
projects_locations_clusters_set_master_auth | EXEC | clustersId, locationsId, projectsId | Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password. |
projects_locations_clusters_set_monitoring | EXEC | clustersId, locationsId, projectsId | Sets the monitoring service for a specific cluster. |
projects_locations_clusters_set_network_policy | EXEC | clustersId, locationsId, projectsId | Enables or disables Network Policy for a cluster. |
projects_locations_clusters_set_resource_labels | EXEC | clustersId, locationsId, projectsId | Sets labels on a cluster. |
projects_locations_clusters_start_ip_rotation | EXEC | clustersId, locationsId, projectsId | Starts master IP rotation. |
projects_zones_clusters_complete_ip_rotation | EXEC | clusterId, projectId, zone | Completes master IP rotation. |
projects_zones_clusters_legacy_abac | EXEC | clusterId, projectId, zone | Enables or disables the ABAC authorization mechanism on a cluster. |
projects_zones_clusters_locations | EXEC | clusterId, projectId, zone | Sets the locations for a specific cluster. Deprecated. Use projects.locations.clusters.update instead. |
projects_zones_clusters_logging | EXEC | clusterId, projectId, zone | Sets the logging service for a specific cluster. |
projects_zones_clusters_master | EXEC | clusterId, projectId, zone | Updates the master for a specific cluster. |
projects_zones_clusters_monitoring | EXEC | clusterId, projectId, zone | Sets the monitoring service for a specific cluster. |
projects_zones_clusters_resource_labels | EXEC | clusterId, projectId, zone | Sets labels on a cluster. |
projects_zones_clusters_set_maintenance_policy | EXEC | clusterId, projectId, zone | Sets the maintenance policy for a cluster. |
projects_zones_clusters_set_master_auth | EXEC | clusterId, projectId, zone | Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password. |
projects_zones_clusters_set_network_policy | EXEC | clusterId, projectId, zone | Enables or disables Network Policy for a cluster. |
projects_zones_clusters_start_ip_rotation | EXEC | clusterId, projectId, zone | Starts master IP rotation. |
SELECT
examples
Lists all clusters owned by a project in either the specified zone or all zones.
SELECT
id,
name,
description,
addonsConfig,
authenticatorGroupsConfig,
autopilot,
autoscaling,
binaryAuthorization,
clusterIpv4Cidr,
compliancePostureConfig,
conditions,
confidentialNodes,
costManagementConfig,
createTime,
currentMasterVersion,
currentNodeCount,
currentNodeVersion,
databaseEncryption,
defaultMaxPodsConstraint,
enableK8sBetaApis,
enableKubernetesAlpha,
enableTpu,
endpoint,
enterpriseConfig,
etag,
expireTime,
fleet,
identityServiceConfig,
initialClusterVersion,
initialNodeCount,
instanceGroupUrls,
ipAllocationPolicy,
labelFingerprint,
legacyAbac,
location,
locations,
loggingConfig,
loggingService,
maintenancePolicy,
masterAuth,
masterAuthorizedNetworksConfig,
meshCertificates,
monitoringConfig,
monitoringService,
network,
networkConfig,
networkPolicy,
nodeConfig,
nodeIpv4CidrSize,
nodePoolAutoConfig,
nodePoolDefaults,
nodePools,
notificationConfig,
parentProductConfig,
privateClusterConfig,
rbacBindingConfig,
releaseChannel,
resourceLabels,
resourceUsageExportConfig,
satisfiesPzi,
satisfiesPzs,
secretManagerConfig,
securityPostureConfig,
selfLink,
servicesIpv4Cidr,
shieldedNodes,
status,
statusMessage,
subnetwork,
tpuIpv4CidrBlock,
verticalPodAutoscaling,
workloadIdentityConfig,
zone
FROM google.container.clusters
WHERE projectId = '{{ projectId }}'
AND zone = '{{ zone }}';
INSERT
example
Use the following StackQL query and manifest file to create a new clusters
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.container.clusters (
projectId,
zone,
projectId,
zone,
cluster,
parent
)
SELECT
'{{ projectId }}',
'{{ zone }}',
'{{ projectId }}',
'{{ zone }}',
'{{ cluster }}',
'{{ parent }}'
;
- name: your_resource_model_name
props:
- name: projectId
value: string
- name: zone
value: string
- name: cluster
value:
- name: name
value: string
- name: description
value: string
- name: initialNodeCount
value: integer
- name: nodeConfig
value:
- name: machineType
value: string
- name: diskSizeGb
value: integer
- name: oauthScopes
value:
- string
- name: serviceAccount
value: string
- name: metadata
value: object
- name: imageType
value: string
- name: labels
value: object
- name: localSsdCount
value: integer
- name: tags
value:
- string
- name: preemptible
value: boolean
- name: accelerators
value:
- - name: acceleratorCount
value: string
- name: acceleratorType
value: string
- name: gpuPartitionSize
value: string
- name: gpuSharingConfig
value:
- name: maxSharedClientsPerGpu
value: string
- name: gpuSharingStrategy
value: string
- name: gpuDriverInstallationConfig
value:
- name: gpuDriverVersion
value: string
- name: diskType
value: string
- name: minCpuPlatform
value: string
- name: workloadMetadataConfig
value:
- name: mode
value: string
- name: taints
value:
- - name: key
value: string
- name: value
value: string
- name: effect
value: string
- name: sandboxConfig
value:
- name: type
value: string
- name: nodeGroup
value: string
- name: reservationAffinity
value:
- name: consumeReservationType
value: string
- name: key
value: string
- name: values
value:
- string
- name: shieldedInstanceConfig
value:
- name: enableSecureBoot
value: boolean
- name: enableIntegrityMonitoring
value: boolean
- name: linuxNodeConfig
value:
- name: sysctls
value: object
- name: cgroupMode
value: string
- name: hugepages
value:
- name: hugepageSize2m
value: integer
- name: hugepageSize1g
value: integer
- name: kubeletConfig
value:
- name: cpuManagerPolicy
value: string
- name: cpuCfsQuota
value: boolean
- name: cpuCfsQuotaPeriod
value: string
- name: podPidsLimit
value: string
- name: insecureKubeletReadonlyPortEnabled
value: boolean
- name: bootDiskKmsKey
value: string
- name: gcfsConfig
value:
- name: enabled
value: boolean
- name: advancedMachineFeatures
value:
- name: threadsPerCore
value: string
- name: enableNestedVirtualization
value: boolean
- name: gvnic
value:
- name: enabled
value: boolean
- name: spot
value: boolean
- name: confidentialNodes
value:
- name: enabled
value: boolean
- name: fastSocket
value:
- name: enabled
value: boolean
- name: resourceLabels
value: object
- name: loggingConfig
value:
- name: variantConfig
value:
- name: variant
value: string
- name: windowsNodeConfig
value:
- name: osVersion
value: string
- name: localNvmeSsdBlockConfig
value:
- name: localSsdCount
value: integer
- name: ephemeralStorageLocalSsdConfig
value:
- name: localSsdCount
value: integer
- name: soleTenantConfig
value:
- name: nodeAffinities
value:
- - name: key
value: string
- name: operator
value: string
- name: values
value:
- string
- name: containerdConfig
value:
- name: privateRegistryAccessConfig
value:
- name: enabled
value: boolean
- name: certificateAuthorityDomainConfig
value:
- - name: fqdns
value:
- string
- name: gcpSecretManagerCertificateConfig
value:
- name: secretUri
value: string
- name: resourceManagerTags
value:
- name: tags
value: object
- name: enableConfidentialStorage
value: boolean
- name: secondaryBootDisks
value:
- - name: mode
value: string
- name: diskImage
value: string
- name: storagePools
value:
- string
- name: secondaryBootDiskUpdateStrategy
value: []
- name: masterAuth
value:
- name: username
value: string
- name: password
value: string
- name: clientCertificateConfig
value:
- name: issueClientCertificate
value: boolean
- name: clusterCaCertificate
value: string
- name: clientCertificate
value: string
- name: clientKey
value: string
- name: loggingService
value: string
- name: monitoringService
value: string
- name: network
value: string
- name: clusterIpv4Cidr
value: string
- name: addonsConfig
value:
- name: httpLoadBalancing
value:
- name: disabled
value: boolean
- name: horizontalPodAutoscaling
value:
- name: disabled
value: boolean
- name: kubernetesDashboard
value:
- name: disabled
value: boolean
- name: networkPolicyConfig
value:
- name: disabled
value: boolean
- name: cloudRunConfig
value:
- name: disabled
value: boolean
- name: loadBalancerType
value: string
- name: dnsCacheConfig
value:
- name: enabled
value: boolean
- name: configConnectorConfig
value:
- name: enabled
value: boolean
- name: gcePersistentDiskCsiDriverConfig
value:
- name: enabled
value: boolean
- name: gcpFilestoreCsiDriverConfig
value:
- name: enabled
value: boolean
- name: gkeBackupAgentConfig
value:
- name: enabled
value: boolean
- name: gcsFuseCsiDriverConfig
value:
- name: enabled
value: boolean
- name: statefulHaConfig
value:
- name: enabled
value: boolean
- name: rayOperatorConfig
value:
- name: enabled
value: boolean
- name: rayClusterLoggingConfig
value:
- name: enabled
value: boolean
- name: rayClusterMonitoringConfig
value:
- name: enabled
value: boolean
- name: subnetwork
value: string
- name: nodePools
value:
- - name: name
value: string
- name: initialNodeCount
value: integer
- name: locations
value:
- string
- name: networkConfig
value:
- name: createPodRange
value: boolean
- name: podRange
value: string
- name: podIpv4CidrBlock
value: string
- name: enablePrivateNodes
value: boolean
- name: networkPerformanceConfig
value:
- name: totalEgressBandwidthTier
value: string
- name: podCidrOverprovisionConfig
value:
- name: disable
value: boolean
- name: additionalNodeNetworkConfigs
value:
- - name: network
value: string
- name: subnetwork
value: string
- name: additionalPodNetworkConfigs
value:
- - name: subnetwork
value: string
- name: secondaryPodRange
value: string
- name: maxPodsPerNode
value:
- name: maxPodsPerNode
value: string
- name: podIpv4RangeUtilization
value: number
- name: selfLink
value: string
- name: version
value: string
- name: instanceGroupUrls
value:
- string
- name: status
value: string
- name: statusMessage
value: string
- name: autoscaling
value:
- name: enabled
value: boolean
- name: minNodeCount
value: integer
- name: maxNodeCount
value: integer
- name: autoprovisioned
value: boolean
- name: locationPolicy
value: string
- name: totalMinNodeCount
value: integer
- name: totalMaxNodeCount
value: integer
- name: management
value:
- name: autoUpgrade
value: boolean
- name: autoRepair
value: boolean
- name: upgradeOptions
value:
- name: autoUpgradeStartTime
value: string
- name: description
value: string
- name: conditions
value:
- - name: code
value: string
- name: message
value: string
- name: canonicalCode
value: string
- name: podIpv4CidrSize
value: integer
- name: upgradeSettings
value:
- name: maxSurge
value: integer
- name: maxUnavailable
value: integer
- name: strategy
value: string
- name: blueGreenSettings
value:
- name: standardRolloutPolicy
value:
- name: batchPercentage
value: number
- name: batchNodeCount
value: integer
- name: batchSoakDuration
value: string
- name: nodePoolSoakDuration
value: string
- name: placementPolicy
value:
- name: type
value: string
- name: tpuTopology
value: string
- name: policyName
value: string
- name: updateInfo
value:
- name: blueGreenInfo
value:
- name: phase
value: string
- name: blueInstanceGroupUrls
value:
- string
- name: greenInstanceGroupUrls
value:
- string
- name: bluePoolDeletionStartTime
value: string
- name: greenPoolVersion
value: string
- name: etag
value: string
- name: queuedProvisioning
value:
- name: enabled
value: boolean
- name: bestEffortProvisioning
value:
- name: enabled
value: boolean
- name: minProvisionNodes
value: integer
- name: locations
value:
- string
- name: enableKubernetesAlpha
value: boolean
- name: resourceLabels
value: object
- name: labelFingerprint
value: string
- name: legacyAbac
value:
- name: enabled
value: boolean
- name: networkPolicy
value:
- name: provider
value: string
- name: enabled
value: boolean
- name: ipAllocationPolicy
value:
- name: useIpAliases
value: boolean
- name: createSubnetwork
value: boolean
- name: subnetworkName
value: string
- name: clusterIpv4Cidr
value: string
- name: nodeIpv4Cidr
value: string
- name: servicesIpv4Cidr
value: string
- name: clusterSecondaryRangeName
value: string
- name: servicesSecondaryRangeName
value: string
- name: clusterIpv4CidrBlock
value: string
- name: nodeIpv4CidrBlock
value: string
- name: servicesIpv4CidrBlock
value: string
- name: tpuIpv4CidrBlock
value: string
- name: useRoutes
value: boolean
- name: stackType
value: string
- name: ipv6AccessType
value: string
- name: subnetIpv6CidrBlock
value: string
- name: servicesIpv6CidrBlock
value: string
- name: additionalPodRangesConfig
value:
- name: podRangeNames
value:
- string
- name: podRangeInfo
value:
- - name: rangeName
value: string
- name: utilization
value: number
- name: defaultPodIpv4RangeUtilization
value: number
- name: masterAuthorizedNetworksConfig
value:
- name: enabled
value: boolean
- name: cidrBlocks
value:
- - name: displayName
value: string
- name: cidrBlock
value: string
- name: gcpPublicCidrsAccessEnabled
value: boolean
- name: maintenancePolicy
value:
- name: window
value:
- name: dailyMaintenanceWindow
value:
- name: startTime
value: string
- name: duration
value: string
- name: recurringWindow
value:
- name: window
value:
- name: maintenanceExclusionOptions
value:
- name: scope
value: string
- name: startTime
value: string
- name: endTime
value: string
- name: recurrence
value: string
- name: maintenanceExclusions
value: object
- name: resourceVersion
value: string
- name: binaryAuthorization
value:
- name: enabled
value: boolean
- name: evaluationMode
value: string
- name: autoscaling
value:
- name: enableNodeAutoprovisioning
value: boolean
- name: resourceLimits
value:
- - name: resourceType
value: string
- name: minimum
value: string
- name: maximum
value: string
- name: autoscalingProfile
value: string
- name: autoprovisioningNodePoolDefaults
value:
- name: oauthScopes
value:
- string
- name: serviceAccount
value: string
- name: minCpuPlatform
value: string
- name: diskSizeGb
value: integer
- name: diskType
value: string
- name: bootDiskKmsKey
value: string
- name: imageType
value: string
- name: insecureKubeletReadonlyPortEnabled
value: boolean
- name: autoprovisioningLocations
value:
- string
- name: networkConfig
value:
- name: network
value: string
- name: subnetwork
value: string
- name: enableIntraNodeVisibility
value: boolean
- name: defaultSnatStatus
value:
- name: disabled
value: boolean
- name: enableL4ilbSubsetting
value: boolean
- name: datapathProvider
value: string
- name: privateIpv6GoogleAccess
value: string
- name: dnsConfig
value:
- name: clusterDns
value: string
- name: clusterDnsScope
value: string
- name: clusterDnsDomain
value: string
- name: additiveVpcScopeDnsDomain
value: string
- name: serviceExternalIpsConfig
value:
- name: enabled
value: boolean
- name: gatewayApiConfig
value:
- name: channel
value: string
- name: enableMultiNetworking
value: boolean
- name: networkPerformanceConfig
value:
- name: totalEgressBandwidthTier
value: string
- name: enableFqdnNetworkPolicy
value: boolean
- name: inTransitEncryptionConfig
value: string
- name: enableCiliumClusterwideNetworkPolicy
value: boolean
- name: resourceUsageExportConfig
value:
- name: bigqueryDestination
value:
- name: datasetId
value: string
- name: enableNetworkEgressMetering
value: boolean
- name: consumptionMeteringConfig
value:
- name: enabled
value: boolean
- name: authenticatorGroupsConfig
value:
- name: enabled
value: boolean
- name: securityGroup
value: string
- name: privateClusterConfig
value:
- name: enablePrivateNodes
value: boolean
- name: enablePrivateEndpoint
value: boolean
- name: masterIpv4CidrBlock
value: string
- name: privateEndpoint
value: string
- name: publicEndpoint
value: string
- name: peeringName
value: string
- name: masterGlobalAccessConfig
value:
- name: enabled
value: boolean
- name: privateEndpointSubnetwork
value: string
- name: databaseEncryption
value:
- name: keyName
value: string
- name: state
value: string
- name: currentState
value: string
- name: decryptionKeys
value:
- string
- name: lastOperationErrors
value:
- - name: keyName
value: string
- name: errorMessage
value: string
- name: timestamp
value: string
- name: verticalPodAutoscaling
value:
- name: enabled
value: boolean
- name: shieldedNodes
value:
- name: enabled
value: boolean
- name: releaseChannel
value:
- name: channel
value: string
- name: workloadIdentityConfig
value:
- name: workloadPool
value: string
- name: meshCertificates
value:
- name: enableCertificates
value: boolean
- name: costManagementConfig
value:
- name: enabled
value: boolean
- name: notificationConfig
value:
- name: pubsub
value:
- name: enabled
value: boolean
- name: topic
value: string
- name: filter
value:
- name: eventType
value:
- string
- name: identityServiceConfig
value:
- name: enabled
value: boolean
- name: selfLink
value: string
- name: zone
value: string
- name: endpoint
value: string
- name: initialClusterVersion
value: string
- name: currentMasterVersion
value: string
- name: currentNodeVersion
value: string
- name: createTime
value: string
- name: status
value: string
- name: statusMessage
value: string
- name: nodeIpv4CidrSize
value: integer
- name: servicesIpv4Cidr
value: string
- name: instanceGroupUrls
value:
- string
- name: currentNodeCount
value: integer
- name: expireTime
value: string
- name: location
value: string
- name: enableTpu
value: boolean
- name: tpuIpv4CidrBlock
value: string
- name: conditions
value:
- - name: code
value: string
- name: message
value: string
- name: canonicalCode
value: string
- name: autopilot
value:
- name: enabled
value: boolean
- name: workloadPolicyConfig
value:
- name: allowNetAdmin
value: boolean
- name: id
value: string
- name: parentProductConfig
value:
- name: productName
value: string
- name: labels
value: object
- name: nodePoolDefaults
value:
- name: nodeConfigDefaults
value: []
- name: loggingConfig
value:
- name: componentConfig
value:
- name: enableComponents
value:
- string
- name: monitoringConfig
value:
- name: componentConfig
value:
- name: enableComponents
value:
- string
- name: managedPrometheusConfig
value:
- name: enabled
value: boolean
- name: advancedDatapathObservabilityConfig
value:
- name: enableMetrics
value: boolean
- name: relayMode
value: string
- name: enableRelay
value: boolean
- name: nodePoolAutoConfig
value:
- name: networkTags
value:
- name: tags
value:
- string
- name: etag
value: string
- name: fleet
value:
- name: project
value: string
- name: membership
value: string
- name: preRegistered
value: boolean
- name: securityPostureConfig
value:
- name: mode
value: string
- name: vulnerabilityMode
value: string
- name: enableK8sBetaApis
value:
- name: enabledApis
value:
- string
- name: enterpriseConfig
value:
- name: clusterTier
value: string
- name: secretManagerConfig
value:
- name: enabled
value: boolean
- name: compliancePostureConfig
value:
- name: mode
value: string
- name: complianceStandards
value:
- - name: standard
value: string
- name: satisfiesPzs
value: boolean
- name: satisfiesPzi
value: boolean
- name: rbacBindingConfig
value:
- name: enableInsecureBindingSystemUnauthenticated
value: boolean
- name: enableInsecureBindingSystemAuthenticated
value: boolean
- name: parent
value: string
REPLACE
example
Replaces all fields in the specified clusters
resource.
/*+ update */
REPLACE google.container.clusters
SET
projectId = '{{ projectId }}',
zone = '{{ zone }}',
clusterId = '{{ clusterId }}',
update = '{{ update }}',
name = '{{ name }}'
WHERE
clusterId = '{{ clusterId }}'
AND projectId = '{{ projectId }}'
AND zone = '{{ zone }}';
DELETE
example
Deletes the specified clusters
resource.
/*+ delete */
DELETE FROM google.container.clusters
WHERE clusterId = '{{ clusterId }}'
AND projectId = '{{ projectId }}'
AND zone = '{{ zone }}';