AcceleratorConfig
AcceleratorConfig represents a Hardware Accelerator request.Fields | |
---|---|
acceleratorCount |
The number of the accelerator cards exposed to an instance.
|
acceleratorType |
The accelerator type resource name. List of supported accelerators here
|
gpuPartitionSize |
Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.
|
AddonsConfig
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.Fields | |
---|---|
cloudRunConfig |
Configuration for the Cloud Run addon, which allows the user to use a managed Knative service.
|
configConnectorConfig |
Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
|
dnsCacheConfig |
Configuration for NodeLocalDNS, a dns cache running on cluster nodes
|
gcePersistentDiskCsiDriverConfig |
Configuration for the Compute Engine Persistent Disk CSI driver.
|
gcpFilestoreCsiDriverConfig |
Configuration for the GCP Filestore CSI driver.
|
horizontalPodAutoscaling |
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.
|
httpLoadBalancing |
Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
|
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
|
networkPolicyConfig |
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.
|
AuthenticatorGroupsConfig
Configuration for returning group information from authenticators.Fields | |
---|---|
enabled |
Whether this cluster should return group membership lookups during authentication using a group of security groups.
|
securityGroup |
The name of the security group-of-groups to be used. Only relevant if enabled = true.
|
AutoUpgradeOptions
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.Fields | |
---|---|
autoUpgradeStartTime |
[Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in RFC3339 text format.
|
description |
[Output only] This field is set when upgrades are about to commence with the description of the upgrade.
|
Autopilot
Autopilot is the configuration for Autopilot settings on the cluster.Fields | |
---|---|
enabled |
Enable Autopilot
|
AutoprovisioningNodePoolDefaults
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.Fields | |
---|---|
bootDiskKmsKey |
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
diskSizeGb |
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
|
diskType |
Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
|
imageType |
The image type to use for NAP created node.
|
management |
Specifies the node management options for NAP created node-pools.
|
minCpuPlatform |
Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read how to specify min CPU platform To unset the min cpu platform field pass "automatic" as field value.
|
oauthScopes[] |
Scopes that are used by NAP when creating node pools.
|
serviceAccount |
The Google Cloud Platform Service Account to be used by the node VMs.
|
shieldedInstanceConfig |
Shielded Instance options.
|
upgradeSettings |
Specifies the upgrade settings for NAP created node pools
|
BigQueryDestination
Parameters for using BigQuery as the destination of resource usage export.Fields | |
---|---|
datasetId |
The ID of a BigQuery Dataset.
|
BinaryAuthorization
Configuration for Binary Authorization.Fields | |
---|---|
enabled |
Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Binary Authorization.
|
CancelOperationRequest
CancelOperationRequest cancels a single operation.Fields | |
---|---|
name |
The name (project, location, operation id) of the operation to cancel. Specified in the format
|
operationId |
Deprecated. The server-assigned
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.
|
CidrBlock
CidrBlock contains an optional name and one CIDR block.Fields | |
---|---|
cidrBlock |
cidr_block must be specified in CIDR notation.
|
displayName |
display_name is an optional field for users to identify CIDR blocks.
|
ClientCertificateConfig
Configuration for client certificates on the cluster.Fields | |
---|---|
issueClientCertificate |
Issue a client certificate.
|
CloudRunConfig
Configuration options for the Cloud Run feature.Fields | |
---|---|
disabled |
Whether Cloud Run addon is enabled for this cluster.
|
loadBalancerType |
Which load balancer type is installed for Cloud Run.
|
Enum type. Can be one of the following: | |
LOAD_BALANCER_TYPE_UNSPECIFIED |
Load balancer type for Cloud Run is unspecified. |
LOAD_BALANCER_TYPE_EXTERNAL |
Install external load balancer for Cloud Run. |
LOAD_BALANCER_TYPE_INTERNAL |
Install internal load balancer for Cloud Run. |
Cluster
A Google Kubernetes Engine cluster.Fields | |
---|---|
addonsConfig |
Configurations for the various addons available to run in the cluster.
|
authenticatorGroupsConfig |
Configuration controlling RBAC group membership information.
|
autopilot |
Autopilot configuration for the cluster.
|
autoscaling |
Cluster-level autoscaling configuration.
|
binaryAuthorization |
Configuration for Binary Authorization.
|
clusterIpv4Cidr |
The IP address range of the container pods in this cluster, in CIDR notation (e.g.
|
conditions[] |
Which conditions caused the current cluster state.
|
confidentialNodes |
Configuration of Confidential Nodes
|
createTime |
[Output only] The time the cluster was created, in RFC3339 text format.
|
currentMasterVersion |
[Output only] The current software version of the master endpoint.
|
currentNodeCount |
[Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
|
currentNodeVersion |
[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 |
Configuration of etcd encryption.
|
defaultMaxPodsConstraint |
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 |
An optional description of this cluster.
|
enableKubernetesAlpha |
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 |
Enable the ability to use Cloud TPUs in this cluster.
|
endpoint |
[Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at
|
expireTime |
[Output only] The time the cluster will be automatically deleted in RFC3339 text format.
|
id |
Output only. Unique id for the cluster.
|
initialClusterVersion |
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 |
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[] |
Deprecated. Use node_pools.instance_group_urls.
|
ipAllocationPolicy |
Configuration for cluster IP allocation.
|
labelFingerprint |
The fingerprint of the set of labels for this cluster.
|
legacyAbac |
Configuration for the legacy ABAC authorization mode.
|
location |
[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.
|
locations[] |
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 |
Logging configuration for the cluster.
|
loggingService |
The logging service the cluster should use to write logs. Currently available options: *
|
maintenancePolicy |
Configure the maintenance policy for this cluster.
|
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,
|
masterAuthorizedNetworksConfig |
The configuration options for master authorized networks feature.
|
monitoringConfig |
Monitoring configuration for the cluster.
|
monitoringService |
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 *
|
name |
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 |
The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the
|
networkConfig |
Configuration for cluster networking.
|
networkPolicy |
Configuration options for the NetworkPolicy feature.
|
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
|
nodeIpv4CidrSize |
[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the
|
nodePools[] |
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
|
notificationConfig |
Notification configuration of the cluster.
|
privateClusterConfig |
Configuration for private cluster.
|
releaseChannel |
Release channel configuration.
|
resourceLabels |
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
|
resourceUsageExportConfig |
Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.
|
selfLink |
[Output only] Server-defined URL for the resource.
|
servicesIpv4Cidr |
[Output only] The IP address range of the Kubernetes services in this cluster, in CIDR notation (e.g.
|
shieldedNodes |
Shielded Nodes configuration.
|
status |
[Output only] The current status of this cluster.
|
Enum type. Can be one of the following: | |
STATUS_UNSPECIFIED |
Not set. |
PROVISIONING |
The PROVISIONING state indicates the cluster is being created. |
RUNNING |
The RUNNING state indicates the cluster has been created and is fully usable. |
RECONCILING |
The RECONCILING state indicates that some work is actively being done on the cluster, such as upgrading the master or node software. Details can be found in the statusMessage field. |
STOPPING |
The STOPPING state indicates the cluster is being deleted. |
ERROR |
The ERROR state indicates the cluster is unusable. It will be automatically deleted. Details can be found in the statusMessage field. |
DEGRADED |
The DEGRADED state indicates the cluster requires user action to restore full functionality. Details can be found in the statusMessage field. |
statusMessage |
[Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
|
subnetwork |
The name of the Google Compute Engine subnetwork to which the cluster is connected.
|
tpuIpv4CidrBlock |
[Output only] The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g.
|
verticalPodAutoscaling |
Cluster-level Vertical Pod Autoscaling configuration.
|
workloadIdentityConfig |
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
zone |
[Output only] The name of the Google Compute Engine zone in which the cluster resides. This field is deprecated, use location instead.
|
ClusterAutoscaling
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.Fields | |
---|---|
autoprovisioningLocations[] |
The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
|
autoprovisioningNodePoolDefaults |
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
|
autoscalingProfile |
Defines autoscaling behaviour.
|
Enum type. Can be one of the following: | |
PROFILE_UNSPECIFIED |
No change to autoscaling configuration. |
OPTIMIZE_UTILIZATION |
Prioritize optimizing utilization of resources. |
BALANCED |
Use default (balanced) autoscaling configuration. |
enableNodeAutoprovisioning |
Enables automatic node pool creation and deletion.
|
resourceLimits[] |
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
|
ClusterUpdate
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.Fields | |
---|---|
desiredAddonsConfig |
Configurations for the various addons available to run in the cluster.
|
desiredAuthenticatorGroupsConfig |
The desired authenticator groups config for the cluster.
|
desiredAutopilot |
The desired Autopilot configuration for the cluster.
|
desiredBinaryAuthorization |
The desired configuration options for the Binary Authorization feature.
|
desiredClusterAutoscaling |
Cluster-level autoscaling configuration.
|
desiredDatabaseEncryption |
Configuration of etcd encryption.
|
desiredDatapathProvider |
The desired datapath provider for the cluster.
|
Enum type. Can be one of the following: | |
DATAPATH_PROVIDER_UNSPECIFIED |
Default value. |
LEGACY_DATAPATH |
Use the IPTables implementation based on kube-proxy. |
ADVANCED_DATAPATH |
Use the eBPF based GKE Dataplane V2 with additional features. See the GKE Dataplane V2 documentation for more. |
desiredDefaultSnatStatus |
The desired status of whether to disable default sNAT for this cluster.
|
desiredImageType |
The desired image type for the node pool. NOTE: Set the "desired_node_pool" field as well.
|
desiredIntraNodeVisibilityConfig |
The desired config of Intra-node visibility.
|
desiredL4ilbSubsettingConfig |
The desired L4 Internal Load Balancer Subsetting configuration.
|
desiredLocations[] |
The desired list of Google Compute Engine zones in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.
|
desiredLoggingConfig |
The desired logging configuration.
|
desiredLoggingService |
The logging service the cluster should use to write logs. Currently available options: *
|
desiredMasterAuthorizedNetworksConfig |
The desired configuration options for master authorized networks feature.
|
desiredMasterVersion |
The Kubernetes version to change the master to. 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
|
desiredMonitoringConfig |
The desired monitoring configuration.
|
desiredMonitoringService |
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 *
|
desiredNodePoolAutoscaling |
Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
|
desiredNodePoolId |
The node pool to be upgraded. This field is mandatory if "desired_node_version", "desired_image_family" or "desired_node_pool_autoscaling" is specified and there is more than one node pool on the cluster.
|
desiredNodeVersion |
The Kubernetes version to change the nodes to (typically an upgrade). 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 Kubernetes master version
|
desiredNotificationConfig |
The desired notification configuration.
|
desiredPrivateClusterConfig |
The desired private cluster configuration.
|
desiredPrivateIpv6GoogleAccess |
The desired state of IPv6 connectivity to Google Services.
|
Enum type. Can be one of the following: | |
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED |
Default value. Same as DISABLED |
PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED |
No private access to or from Google Services |
PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE |
Enables private IPv6 access to Google Services from GKE |
PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL |
Enables priate IPv6 access to and from Google Services |
desiredReleaseChannel |
The desired release channel configuration.
|
desiredResourceUsageExportConfig |
The desired configuration for exporting resource usage.
|
desiredShieldedNodes |
Configuration for Shielded Nodes.
|
desiredVerticalPodAutoscaling |
Cluster-level Vertical Pod Autoscaling configuration.
|
desiredWorkloadIdentityConfig |
Configuration for Workload Identity.
|
CompleteIPRotationRequest
CompleteIPRotationRequest moves the cluster master back into single-IP mode.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
ConfidentialNodes
ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.Fields | |
---|---|
enabled |
Whether Confidential Nodes feature is enabled for all nodes in this cluster.
|
ConfigConnectorConfig
Configuration options for the Config Connector add-on.Fields | |
---|---|
enabled |
Whether Cloud Connector is enabled for this cluster.
|
ConsumptionMeteringConfig
Parameters for controlling consumption metering.Fields | |
---|---|
enabled |
Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.
|
CreateClusterRequest
CreateClusterRequest creates a cluster.Fields | |
---|---|
cluster |
Required. A cluster resource
|
parent |
The parent (project and location) where the cluster will be created. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
|
zone |
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.
|
CreateNodePoolRequest
CreateNodePoolRequest creates a node pool for a cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
|
nodePool |
Required. The node pool to create.
|
parent |
The parent (project, location, cluster id) where the node pool will be created. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the parent field.
|
zone |
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.
|
DailyMaintenanceWindow
Time window specified for daily maintenance operations.Fields | |
---|---|
duration |
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. Duration will be in RFC3339 format "PTnHnMnS".
|
startTime |
Time within the maintenance window to start the maintenance operations. Time format should be in RFC3339 format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
|
DatabaseEncryption
Configuration of etcd encryption.Fields | |
---|---|
keyName |
Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
state |
Denotes the state of etcd encryption.
|
Enum type. Can be one of the following: | |
UNKNOWN |
Should never be set |
ENCRYPTED |
Secrets in etcd are encrypted. |
DECRYPTED |
Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption. |
DefaultSnatStatus
DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.Fields | |
---|---|
disabled |
Disables cluster default sNAT rules.
|
DnsCacheConfig
Configuration for NodeLocal DNSCacheFields | |
---|---|
enabled |
Whether NodeLocal DNSCache is enabled for this cluster.
|
GcePersistentDiskCsiDriverConfig
Configuration for the Compute Engine PD CSI driver.Fields | |
---|---|
enabled |
Whether the Compute Engine PD CSI driver is enabled for this cluster.
|
GcpFilestoreCsiDriverConfig
Configuration for the GCP Filestore CSI driver.Fields | |
---|---|
enabled |
Whether the GCP Filestore CSI driver is enabled for this cluster.
|
GetJSONWebKeysResponse
GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517Fields | |
---|---|
cacheHeader |
OnePlatform automatically extracts this field and uses it to set the HTTP Cache-Control header.
|
keys[] |
The public component of the keys used by the cluster to sign token requests.
|
GetOpenIDConfigResponse
GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.Fields | |
---|---|
cacheHeader |
OnePlatform automatically extracts this field and uses it to set the HTTP Cache-Control header.
|
claims_supported[] |
Supported claims.
|
grant_types[] |
Supported grant types.
|
id_token_signing_alg_values_supported[] |
supported ID Token signing Algorithms.
|
issuer |
OIDC Issuer.
|
jwks_uri |
JSON Web Key uri.
|
response_types_supported[] |
Supported response types.
|
subject_types_supported[] |
Supported subject types.
|
HorizontalPodAutoscaling
Configuration options 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.Fields | |
---|---|
disabled |
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
|
HttpCacheControlResponseHeader
RFC-2616: cache control supportFields | |
---|---|
age |
14.6 response cache age, in seconds since the response is generated
|
directive |
14.9 request and response directives
|
expires |
14.21 response cache expires, in RFC 1123 date format
|
HttpLoadBalancing
Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.Fields | |
---|---|
disabled |
Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
|
ILBSubsettingConfig
ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.Fields | |
---|---|
enabled |
Enables l4 ILB subsetting for this cluster.
|
IPAllocationPolicy
Configuration for controlling how IPs are allocated in the cluster.Fields | |
---|---|
clusterIpv4Cidr |
This field is deprecated, use cluster_ipv4_cidr_block.
|
clusterIpv4CidrBlock |
The IP address range for the cluster pod IPs. If this field is set, then
|
clusterSecondaryRangeName |
The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases is true and create_subnetwork is false.
|
createSubnetwork |
Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when
|
nodeIpv4Cidr |
This field is deprecated, use node_ipv4_cidr_block.
|
nodeIpv4CidrBlock |
The IP address range of the instance IPs in this cluster. This is applicable only if
|
servicesIpv4Cidr |
This field is deprecated, use services_ipv4_cidr_block.
|
servicesIpv4CidrBlock |
The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when
|
servicesSecondaryRangeName |
The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases is true and create_subnetwork is false.
|
subnetworkName |
A custom subnetwork name to be used if
|
tpuIpv4CidrBlock |
The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when
|
useIpAliases |
Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
|
useRoutes |
Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
|
IntraNodeVisibilityConfig
IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.Fields | |
---|---|
enabled |
Enables intra node visibility for this cluster.
|
Jwk
Jwk is a JSON Web Key as specified in RFC 7517Fields | |
---|---|
alg |
Algorithm.
|
crv |
Used for ECDSA keys.
|
e |
Used for RSA keys.
|
kid |
Key ID.
|
kty |
Key Type.
|
n |
Used for RSA keys.
|
use |
Permitted uses for the public keys.
|
x |
Used for ECDSA keys.
|
y |
Used for ECDSA keys.
|
KubernetesDashboard
Configuration for the Kubernetes Dashboard.Fields | |
---|---|
disabled |
Whether the Kubernetes Dashboard is enabled for this cluster.
|
LegacyAbac
Configuration for the legacy Attribute Based Access Control authorization mode.Fields | |
---|---|
enabled |
Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
|
LinuxNodeConfig
Parameters that can be configured on Linux nodes.Fields | |
---|---|
sysctls |
The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
|
ListClustersResponse
ListClustersResponse is the result of ListClustersRequest.Fields | |
---|---|
clusters[] |
A list of clusters in the project in the specified zone, or across all ones.
|
missingZones[] |
If any zones are listed here, the list of clusters returned may be missing those zones.
|
ListNodePoolsResponse
ListNodePoolsResponse is the result of ListNodePoolsRequest.Fields | |
---|---|
nodePools[] |
A list of node pools for a cluster.
|
ListOperationsResponse
ListOperationsResponse is the result of ListOperationsRequest.Fields | |
---|---|
missingZones[] |
If any zones are listed here, the list of operations returned may be missing the operations from those zones.
|
operations[] |
A list of operations in the project in the specified zone.
|
ListUsableSubnetworksResponse
ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.Fields | |
---|---|
nextPageToken |
This token allows you to get the next page of results for list requests. If the number of results is larger than
|
subnetworks[] |
A list of usable subnetworks in the specified network project.
|
LoggingComponentConfig
LoggingComponentConfig is cluster logging component configuration.Fields | |
---|---|
enableComponents[] |
Select components to collect logs. An empty set would disable all logging.
|
LoggingConfig
LoggingConfig is cluster logging configuration.Fields | |
---|---|
componentConfig |
Logging components configuration
|
MaintenancePolicy
MaintenancePolicy defines the maintenance policy to be used for the cluster.Fields | |
---|---|
resourceVersion |
A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a
|
window |
Specifies the maintenance window in which maintenance may be performed.
|
MaintenanceWindow
MaintenanceWindow defines the maintenance window to be used for the cluster.Fields | |
---|---|
dailyMaintenanceWindow |
DailyMaintenanceWindow specifies a daily maintenance operation window.
|
maintenanceExclusions |
Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.
|
recurringWindow |
RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.
|
MasterAuth
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.Fields | |
---|---|
clientCertificate |
[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
|
clientCertificateConfig |
Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
|
clientKey |
[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
|
clusterCaCertificate |
[Output only] Base64-encoded public certificate that is the root of trust for the cluster.
|
password |
The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
|
username |
The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
|
MasterAuthorizedNetworksConfig
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.Fields | |
---|---|
cidrBlocks[] |
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
|
enabled |
Whether or not master authorized networks is enabled.
|
MaxPodsConstraint
Constraints applied to pods.Fields | |
---|---|
maxPodsPerNode |
Constraint enforced on the max num of pods per node.
|
Metric
Progress metric is (string, int|float|string) pair.Fields | |
---|---|
doubleValue |
For metrics with floating point value.
|
intValue |
For metrics with integer value.
|
name |
Required. Metric name, e.g., "nodes total", "percent done".
|
stringValue |
For metrics with custom values (ratios, visual progress, etc.).
|
MonitoringComponentConfig
MonitoringComponentConfig is cluster monitoring component configuration.Fields | |
---|---|
enableComponents[] |
Select components to collect metrics. An empty set would disable all monitoring.
|
MonitoringConfig
MonitoringConfig is cluster monitoring configuration.Fields | |
---|---|
componentConfig |
Monitoring components configuration
|
NetworkConfig
NetworkConfig reports the relative names of network & subnetwork.Fields | |
---|---|
datapathProvider |
The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
|
Enum type. Can be one of the following: | |
DATAPATH_PROVIDER_UNSPECIFIED |
Default value. |
LEGACY_DATAPATH |
Use the IPTables implementation based on kube-proxy. |
ADVANCED_DATAPATH |
Use the eBPF based GKE Dataplane V2 with additional features. See the GKE Dataplane V2 documentation for more. |
defaultSnatStatus |
Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
|
enableIntraNodeVisibility |
Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
|
enableL4ilbSubsetting |
Whether L4ILB Subsetting is enabled for this cluster.
|
network |
Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
|
privateIpv6GoogleAccess |
The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
|
Enum type. Can be one of the following: | |
PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED |
Default value. Same as DISABLED |
PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED |
No private access to or from Google Services |
PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE |
Enables private IPv6 access to Google Services from GKE |
PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL |
Enables priate IPv6 access to and from Google Services |
subnetwork |
Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
NetworkPolicy
Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/Fields | |
---|---|
enabled |
Whether network policy is enabled on the cluster.
|
provider |
The selected network policy provider.
|
Enum type. Can be one of the following: | |
PROVIDER_UNSPECIFIED |
Not set |
CALICO |
Tigera (Calico Felix). |
NetworkPolicyConfig
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.Fields | |
---|---|
disabled |
Whether NetworkPolicy is enabled for this cluster.
|
NodeConfig
Parameters that describe the nodes in a cluster.Fields | |
---|---|
accelerators[] |
A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
|
bootDiskKmsKey |
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
diskSizeGb |
Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
|
diskType |
Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'
|
gvnic |
Enable or disable gvnic in the node pool.
|
imageType |
The image type to use for this node. Note that for a given image type, the latest version of it will be used.
|
kubeletConfig |
Node kubelet configs.
|
labels |
The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
linuxNodeConfig |
Parameters that can be configured on Linux nodes.
|
localSsdCount |
The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
|
machineType |
The name of a Google Compute Engine machine type If unspecified, the default machine type is
|
metadata |
The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp
|
minCpuPlatform |
Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as
|
nodeGroup |
Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on sole tenant nodes.
|
oauthScopes[] |
The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: *
|
preemptible |
Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.
|
reservationAffinity |
The optional reservation affinity. Setting this field will apply the specified Zonal Compute Reservation to this node pool.
|
sandboxConfig |
Sandbox configuration for this node.
|
serviceAccount |
The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.
|
shieldedInstanceConfig |
Shielded Instance options.
|
tags[] |
The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
|
taints[] |
List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
workloadMetadataConfig |
The workload metadata configuration for this node.
|
NodeKubeletConfig
Node kubelet configs.Fields | |
---|---|
cpuCfsQuota |
Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
|
cpuCfsQuotaPeriod |
Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
|
cpuManagerPolicy |
Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - "none": the default, which represents the existing scheduling behavior. - "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
|
NodeManagement
NodeManagement defines the set of node management services turned on for the node pool.Fields | |
---|---|
autoRepair |
A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.
|
autoUpgrade |
A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.
|
upgradeOptions |
Specifies the Auto Upgrade knobs for the node pool.
|
NodeNetworkConfig
Parameters for node pool-level network config.Fields | |
---|---|
createPodRange |
Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for
|
podIpv4CidrBlock |
The IP address range for pod IPs in this node pool. Only applicable if
|
podRange |
The ID of the secondary range for pod IPs. If
|
NodePool
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.Fields | |
---|---|
autoscaling |
Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
|
conditions[] |
Which conditions caused the current node pool state.
|
config |
The node configuration of the pool.
|
initialNodeCount |
The initial node count for the pool. 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.
|
instanceGroupUrls[] |
[Output only] The resource URLs of the managed instance groups associated with this node pool.
|
locations[] |
The list of Google Compute Engine zones in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the Cluster.Locations value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
|
management |
NodeManagement configuration for this NodePool.
|
maxPodsConstraint |
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
|
name |
The name of the node pool.
|
networkConfig |
Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
|
podIpv4CidrSize |
[Output only] The pod CIDR block size per node in this node pool.
|
selfLink |
[Output only] Server-defined URL for the resource.
|
status |
[Output only] The status of the nodes in this pool instance.
|
Enum type. Can be one of the following: | |
STATUS_UNSPECIFIED |
Not set. |
PROVISIONING |
The PROVISIONING state indicates the node pool is being created. |
RUNNING |
The RUNNING state indicates the node pool has been created and is fully usable. |
RUNNING_WITH_ERROR |
The RUNNING_WITH_ERROR state indicates the node pool has been created and is partially usable. Some error state has occurred and some functionality may be impaired. Customer may need to reissue a request or trigger a new update. |
RECONCILING |
The RECONCILING state indicates that some work is actively being done on the node pool, such as upgrading node software. Details can be found in the statusMessage field. |
STOPPING |
The STOPPING state indicates the node pool is being deleted. |
ERROR |
The ERROR state indicates the node pool may be unusable. Details can be found in the statusMessage field. |
statusMessage |
[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
|
upgradeSettings |
Upgrade settings control disruption and speed of the upgrade.
|
version |
The version of the Kubernetes of this node.
|
NodePoolAutoscaling
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.Fields | |
---|---|
autoprovisioned |
Can this node pool be deleted automatically.
|
enabled |
Is autoscaling enabled for this node pool.
|
maxNodeCount |
Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.
|
minNodeCount |
Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
|
NodeTaint
Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See here for more information, including usage and the valid values.Fields | |
---|---|
effect |
Effect for taint.
|
Enum type. Can be one of the following: | |
EFFECT_UNSPECIFIED |
Not set |
NO_SCHEDULE |
NoSchedule |
PREFER_NO_SCHEDULE |
PreferNoSchedule |
NO_EXECUTE |
NoExecute |
key |
Key for taint.
|
value |
Value for taint.
|
NotificationConfig
NotificationConfig is the configuration of notifications.Fields | |
---|---|
pubsub |
Notification config for Pub/Sub.
|
Operation
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.Fields | |
---|---|
clusterConditions[] |
Which conditions caused the current cluster state. Deprecated. Use field error instead.
|
detail |
Detailed operation progress, if available.
|
endTime |
[Output only] The time the operation completed, in RFC3339 text format.
|
error |
The error result of the operation in case of failure.
|
location |
[Output only] The name of the Google Compute Engine zone or region in which the cluster resides.
|
name |
The server-assigned ID for the operation.
|
nodepoolConditions[] |
Which conditions caused the current node pool state. Deprecated. Use field error instead.
|
operationType |
The operation type.
|
Enum type. Can be one of the following: | |
TYPE_UNSPECIFIED |
Not set. |
CREATE_CLUSTER |
Cluster create. |
DELETE_CLUSTER |
Cluster delete. |
UPGRADE_MASTER |
A master upgrade. |
UPGRADE_NODES |
A node upgrade. |
REPAIR_CLUSTER |
Cluster repair. |
UPDATE_CLUSTER |
Cluster update. |
CREATE_NODE_POOL |
Node pool create. |
DELETE_NODE_POOL |
Node pool delete. |
SET_NODE_POOL_MANAGEMENT |
Set node pool management. |
AUTO_REPAIR_NODES |
Automatic node pool repair. |
AUTO_UPGRADE_NODES |
Automatic node upgrade. |
SET_LABELS |
Set labels. |
SET_MASTER_AUTH |
Set/generate master auth materials |
SET_NODE_POOL_SIZE |
Set node pool size. |
SET_NETWORK_POLICY |
Updates network policy for a cluster. |
SET_MAINTENANCE_POLICY |
Set the maintenance policy. |
progress |
Output only. [Output only] Progress information for an operation.
|
selfLink |
Server-defined URL for the resource.
|
startTime |
[Output only] The time the operation started, in RFC3339 text format.
|
status |
The current status of the operation.
|
Enum type. Can be one of the following: | |
STATUS_UNSPECIFIED |
Not set. |
PENDING |
The operation has been created. |
RUNNING |
The operation is currently running. |
DONE |
The operation is done, either cancelled or completed. |
ABORTING |
The operation is aborting. |
statusMessage |
Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
|
targetLink |
Server-defined URL for the target of the operation.
|
zone |
The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.
|
OperationProgress
Information about operation (or operation stage) progress.Fields | |
---|---|
metrics[] |
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15}, {name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value: 0.56}, {name: "progress scale", double_value: 1.0}]
|
name |
A non-parameterized string describing an operation stage. Unset for single-stage operations.
|
stages[] |
Substages of an operation or a stage.
|
status |
Status of an operation stage. Unset for single-stage operations.
|
Enum type. Can be one of the following: | |
STATUS_UNSPECIFIED |
Not set. |
PENDING |
The operation has been created. |
RUNNING |
The operation is currently running. |
DONE |
The operation is done, either cancelled or completed. |
ABORTING |
The operation is aborting. |
PrivateClusterConfig
Configuration options for private clusters.Fields | |
---|---|
enablePrivateEndpoint |
Whether the master's internal IP address is used as the cluster endpoint.
|
enablePrivateNodes |
Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
|
masterGlobalAccessConfig |
Controls master global access settings.
|
masterIpv4CidrBlock |
The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.
|
peeringName |
Output only. The peering name in the customer VPC used by this cluster.
|
privateEndpoint |
Output only. The internal IP address of this cluster's master endpoint.
|
publicEndpoint |
Output only. The external IP address of this cluster's master endpoint.
|
PrivateClusterMasterGlobalAccessConfig
Configuration for controlling master global access settings.Fields | |
---|---|
enabled |
Whenever master is accessible globally or not.
|
PubSub
Pub/Sub specific notification config.Fields | |
---|---|
enabled |
Enable notifications for Pub/Sub.
|
topic |
The desired Pub/Sub topic to which notifications will be sent by GKE. Format is
|
RecurringTimeWindow
Represents an arbitrary window of time that recurs.Fields | |
---|---|
recurrence |
An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use:
|
window |
The window of the first recurrence.
|
ReleaseChannel
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.Fields | |
---|---|
channel |
channel specifies which release channel the cluster is subscribed to.
|
Enum type. Can be one of the following: | |
UNSPECIFIED |
No channel specified. |
RAPID |
RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs. |
REGULAR |
Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features. |
STABLE |
Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production. |
ReleaseChannelConfig
ReleaseChannelConfig exposes configuration for a release channel.Fields | |
---|---|
channel |
The release channel this configuration applies to.
|
Enum type. Can be one of the following: | |
UNSPECIFIED |
No channel specified. |
RAPID |
RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs. |
REGULAR |
Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features. |
STABLE |
Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production. |
defaultVersion |
The default version for newly created clusters on the channel.
|
validVersions[] |
List of valid versions for the channel.
|
ReservationAffinity
ReservationAffinity is the configuration of desired reservation which instances could take capacity from.Fields | |
---|---|
consumeReservationType |
Corresponds to the type of reservation consumption.
|
Enum type. Can be one of the following: | |
UNSPECIFIED |
Default value. This should not be used. |
NO_RESERVATION |
Do not consume from any reserved capacity. |
ANY_RESERVATION |
Consume any reservation available. |
SPECIFIC_RESERVATION |
Must consume from a specific reservation. Must specify key value fields for specifying the reservations. |
key |
Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the key and specify the name of your reservation as its value.
|
values[] |
Corresponds to the label value(s) of reservation resource(s).
|
ResourceLimit
Contains information about amount of some resource in the cluster. For memory, value should be in GB.Fields | |
---|---|
maximum |
Maximum amount of the resource in the cluster.
|
minimum |
Minimum amount of the resource in the cluster.
|
resourceType |
Resource name "cpu", "memory" or gpu-specific string.
|
ResourceUsageExportConfig
Configuration for exporting cluster resource usages.Fields | |
---|---|
bigqueryDestination |
Configuration to use BigQuery as usage export destination.
|
consumptionMeteringConfig |
Configuration to enable resource consumption metering.
|
enableNetworkEgressMetering |
Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.
|
RollbackNodePoolUpgradeRequest
RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format
|
nodePoolId |
Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SandboxConfig
SandboxConfig contains configurations of the sandbox to use for the node.Fields | |
---|---|
type |
Type of the sandbox to use for the node.
|
Enum type. Can be one of the following: | |
UNSPECIFIED |
Default value. This should not be used. |
GVISOR |
Run sandbox using gvisor. |
ServerConfig
Kubernetes Engine service configuration.Fields | |
---|---|
channels[] |
List of release channel configurations.
|
defaultClusterVersion |
Version of Kubernetes the service deploys by default.
|
defaultImageType |
Default image type.
|
validImageTypes[] |
List of valid image types.
|
validMasterVersions[] |
List of valid master versions, in descending order.
|
validNodeVersions[] |
List of valid node upgrade target versions, in descending order.
|
SetAddonsConfigRequest
SetAddonsConfigRequest sets the addons associated with the cluster.Fields | |
---|---|
addonsConfig |
Required. The desired configurations for the various addons available to run in the cluster.
|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster) of the cluster to set addons. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetLabelsRequest
SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that clusterFields | |
---|---|
clusterId |
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
|
labelFingerprint |
Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a
|
name |
The name (project, location, cluster id) of the cluster to set labels. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
resourceLabels |
Required. The labels to set for that cluster.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetLegacyAbacRequest
SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
|
enabled |
Required. Whether ABAC authorization will be enabled in the cluster.
|
name |
The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetLocationsRequest
SetLocationsRequest sets the locations of the cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
locations[] |
Required. The desired list of Google Compute Engine zones in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
|
name |
The name (project, location, cluster) of the cluster to set locations. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetLoggingServiceRequest
SetLoggingServiceRequest sets the logging service of a cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
loggingService |
Required. The logging service the cluster should use to write logs. Currently available options: *
|
name |
The name (project, location, cluster) of the cluster to set logging. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetMaintenancePolicyRequest
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.Fields | |
---|---|
clusterId |
Required. The name of the cluster to update.
|
maintenancePolicy |
Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
|
name |
The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format
|
projectId |
Required. The Google Developers Console project ID or project number.
|
zone |
Required. The name of the Google Compute Engine zone in which the cluster resides.
|
SetMasterAuthRequest
SetMasterAuthRequest updates the admin password of a cluster.Fields | |
---|---|
action |
Required. The exact form of action to be taken on the master auth.
|
Enum type. Can be one of the following: | |
UNKNOWN |
Operation is unknown and will error out. |
SET_PASSWORD |
Set the password to a user generated value. |
GENERATE_PASSWORD |
Generate a new password and set it to that. |
SET_USERNAME |
Set the username. If an empty username is provided, basic authentication is disabled for the cluster. If a non-empty username is provided, basic authentication is enabled, with either a provided password or a generated one. |
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster) of the cluster to set auth. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
update |
Required. A description of the update.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetMonitoringServiceRequest
SetMonitoringServiceRequest sets the monitoring service of a cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
monitoringService |
Required. 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 *
|
name |
The name (project, location, cluster) of the cluster to set monitoring. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetNetworkPolicyRequest
SetNetworkPolicyRequest enables/disables network policy for a cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format
|
networkPolicy |
Required. Configuration options for the NetworkPolicy feature.
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetNodePoolAutoscalingRequest
SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.Fields | |
---|---|
autoscaling |
Required. Autoscaling configuration for the node pool.
|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format
|
nodePoolId |
Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetNodePoolManagementRequest
SetNodePoolManagementRequest sets the node management properties of a node pool.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
|
management |
Required. NodeManagement configuration for the node pool.
|
name |
The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format
|
nodePoolId |
Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
SetNodePoolSizeRequest
SetNodePoolSizeRequest sets the size of a node pool.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format
|
nodeCount |
Required. The desired node count for the pool.
|
nodePoolId |
Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
ShieldedInstanceConfig
A set of Shielded Instance options.Fields | |
---|---|
enableIntegrityMonitoring |
Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
|
enableSecureBoot |
Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
|
ShieldedNodes
Configuration of Shielded Nodes feature.Fields | |
---|---|
enabled |
Whether Shielded Nodes features are enabled on all nodes in this cluster.
|
StartIPRotationRequest
StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
rotateCredentials |
Whether to rotate credentials during IP rotation.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
Status
TheStatus
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status
message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
Fields | |
---|---|
code |
The status code, which should be an enum value of google.rpc.Code.
|
details[] |
A list of messages that carry the error details. There is a common set of message types for APIs to use.
|
message |
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
|
StatusCondition
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).Fields | |
---|---|
canonicalCode |
Canonical code of the condition.
|
Enum type. Can be one of the following: | |
OK |
Not an error; returned on success HTTP Mapping: 200 OK |
CANCELLED |
The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request |
UNKNOWN |
Unknown error. For example, this error may be returned when a Status value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error |
INVALID_ARGUMENT |
The client specified an invalid argument. Note that this differs from FAILED_PRECONDITION . INVALID_ARGUMENT indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request |
DEADLINE_EXCEEDED |
The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout |
NOT_FOUND |
Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, NOT_FOUND may be used. If a request is denied for some users within a class of users, such as user-based access control, PERMISSION_DENIED must be used. HTTP Mapping: 404 Not Found |
ALREADY_EXISTS |
The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict |
PERMISSION_DENIED |
The caller does not have permission to execute the specified operation. PERMISSION_DENIED must not be used for rejections caused by exhausting some resource (use RESOURCE_EXHAUSTED instead for those errors). PERMISSION_DENIED must not be used if the caller can not be identified (use UNAUTHENTICATED instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden |
UNAUTHENTICATED |
The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized |
RESOURCE_EXHAUSTED |
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests |
FAILED_PRECONDITION |
The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between FAILED_PRECONDITION , ABORTED , and UNAVAILABLE : (a) Use UNAVAILABLE if the client can retry just the failing call. (b) Use ABORTED if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use FAILED_PRECONDITION if the client should not retry until the system state has been explicitly fixed. For example, if an "rmdir" fails because the directory is non-empty, FAILED_PRECONDITION should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request |
ABORTED |
The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between FAILED_PRECONDITION , ABORTED , and UNAVAILABLE . HTTP Mapping: 409 Conflict |
OUT_OF_RANGE |
The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike INVALID_ARGUMENT , this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate INVALID_ARGUMENT if asked to read at an offset that is not in the range [0,2^32-1], but it will generate OUT_OF_RANGE if asked to read from an offset past the current file size. There is a fair bit of overlap between FAILED_PRECONDITION and OUT_OF_RANGE . We recommend using OUT_OF_RANGE (the more specific error) when it applies so that callers who are iterating through a space can easily look for an OUT_OF_RANGE error to detect when they are done. HTTP Mapping: 400 Bad Request |
UNIMPLEMENTED |
The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented |
INTERNAL |
Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error |
UNAVAILABLE |
The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between FAILED_PRECONDITION , ABORTED , and UNAVAILABLE . HTTP Mapping: 503 Service Unavailable |
DATA_LOSS |
Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error |
code |
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
|
Enum type. Can be one of the following: | |
UNKNOWN |
UNKNOWN indicates a generic condition. |
GCE_STOCKOUT |
GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable. |
GKE_SERVICE_ACCOUNT_DELETED |
GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account. |
GCE_QUOTA_EXCEEDED |
Google Compute Engine quota was exceeded. |
SET_BY_OPERATOR |
Cluster state was manually changed by an SRE due to a system logic error. |
CLOUD_KMS_KEY_ERROR |
Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption. |
CA_EXPIRING |
Cluster CA is expiring soon. |
message |
Human-friendly representation of the condition
|
TimeWindow
Represents an arbitrary window of time.Fields | |
---|---|
endTime |
The time that the window ends. The end time should take place after the start time.
|
startTime |
The time that the window first starts.
|
UpdateClusterRequest
UpdateClusterRequest updates the settings of a cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
name |
The name (project, location, cluster) of the cluster to update. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
update |
Required. A description of the update.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
UpdateMasterRequest
UpdateMasterRequest updates the master of the cluster.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
masterVersion |
Required. The Kubernetes version to change the master to. 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
|
name |
The name (project, location, cluster) of the cluster to update. Specified in the format
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
UpdateNodePoolRequest
UpdateNodePoolRequests update a node pool's image and/or version.Fields | |
---|---|
clusterId |
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
|
gvnic |
Enable or disable gvnic on the node pool.
|
imageType |
Required. The desired image type for the node pool.
|
kubeletConfig |
Node kubelet configs.
|
linuxNodeConfig |
Parameters that can be configured on Linux nodes.
|
locations[] |
The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.
|
name |
The name (project, location, cluster, node pool) of the node pool to update. Specified in the format
|
nodePoolId |
Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
|
nodeVersion |
Required. The Kubernetes version to change the nodes to (typically an upgrade). 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 Kubernetes master version
|
projectId |
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
|
upgradeSettings |
Upgrade settings control disruption and speed of the upgrade.
|
workloadMetadataConfig |
The desired workload metadata config for the node pool.
|
zone |
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
|
UpgradeAvailableEvent
UpgradeAvailableEvent is a notification sent to customers when a new available version is released.Fields | |
---|---|
releaseChannel |
The release channel of the version. If empty, it means a non-channel release.
|
resource |
Optional relative path to the resource. For example, the relative path of the node pool.
|
resourceType |
The resource type of the release version.
|
Enum type. Can be one of the following: | |
UPGRADE_RESOURCE_TYPE_UNSPECIFIED |
Default value. This shouldn't be used. |
MASTER |
Master / control plane |
NODE_POOL |
Node pool |
version |
The release version available for upgrade.
|
UpgradeEvent
UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.Fields | |
---|---|
currentVersion |
The current version before the upgrade.
|
operation |
The operation associated with this upgrade.
|
operationStartTime |
The time when the operation was started.
|
resource |
Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.
|
resourceType |
The resource type that is upgrading.
|
Enum type. Can be one of the following: | |
UPGRADE_RESOURCE_TYPE_UNSPECIFIED |
Default value. This shouldn't be used. |
MASTER |
Master / control plane |
NODE_POOL |
Node pool |
targetVersion |
The target version for the upgrade.
|
UpgradeSettings
These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.Fields | |
---|---|
maxSurge |
The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
|
maxUnavailable |
The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
|
UsableSubnetwork
UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.Fields | |
---|---|
ipCidrRange |
The range of internal addresses that are owned by this subnetwork.
|
network |
Network Name. Example: projects/my-project/global/networks/my-network
|
secondaryIpRanges[] |
Secondary IP ranges.
|
statusMessage |
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
|
subnetwork |
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
UsableSubnetworkSecondaryRange
Secondary IP range of a usable subnetwork.Fields | |
---|---|
ipCidrRange |
The range of IP addresses belonging to this subnetwork secondary range.
|
rangeName |
The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.
|
status |
This field is to determine the status of the secondary range programmably.
|
Enum type. Can be one of the following: | |
UNKNOWN |
UNKNOWN is the zero value of the Status enum. It's not a valid status. |
UNUSED |
UNUSED denotes that this range is unclaimed by any cluster. |
IN_USE_SERVICE |
IN_USE_SERVICE denotes that this range is claimed by a cluster for services. It cannot be used for other clusters. |
IN_USE_SHAREABLE_POD |
IN_USE_SHAREABLE_POD denotes this range was created by the network admin and is currently claimed by a cluster for pods. It can only be used by other clusters as a pod range. |
IN_USE_MANAGED_POD |
IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed for pods. It cannot be used for other clusters. |
VerticalPodAutoscaling
VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.Fields | |
---|---|
enabled |
Enables vertical pod autoscaling.
|
VirtualNIC
Configuration of gVNIC feature.Fields | |
---|---|
enabled |
Whether gVNIC features are enabled in the node pool.
|
WorkloadIdentityConfig
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.Fields | |
---|---|
workloadPool |
The workload pool to attach all Kubernetes service accounts to.
|
WorkloadMetadataConfig
WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.Fields | |
---|---|
mode |
Mode is the configuration for how to expose metadata to workloads running on the node pool.
|
Enum type. Can be one of the following: | |
MODE_UNSPECIFIED |
Not set. |
GCE_METADATA |
Expose all Compute Engine metadata to pods. |
GKE_METADATA |
Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if Workload Identity is enabled at the cluster level. |