google-cloud-container-v1beta1 0.54.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/container/v1beta1/cluster_manager/client.rb +5 -3
- data/lib/google/cloud/container/v1beta1/cluster_manager/credentials.rb +3 -1
- data/lib/google/cloud/container/v1beta1/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +24 -1
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/container/v1beta1/cluster_service.rb +497 -45
- data/proto_docs/google/type/date.rb +10 -7
- data/proto_docs/google/type/timeofday.rb +49 -0
- metadata +3 -1
|
@@ -119,6 +119,10 @@ module Google
|
|
|
119
119
|
#
|
|
120
120
|
# See https://docs.kernel.org/admin-guide/mm/transhuge.html
|
|
121
121
|
# for more details.
|
|
122
|
+
# @!attribute [rw] custom_node_init
|
|
123
|
+
# @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig::CustomNodeInit]
|
|
124
|
+
# Optional. Allow users to run arbitrary bash script or container on the
|
|
125
|
+
# node.
|
|
122
126
|
# @!attribute [rw] swap_config
|
|
123
127
|
# @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig::SwapConfig]
|
|
124
128
|
# Optional. Enables and configures swap space on nodes.
|
|
@@ -128,6 +132,9 @@ module Google
|
|
|
128
132
|
# Optional. Configuration for kernel module loading on nodes.
|
|
129
133
|
# When enabled, the node pool will be provisioned with a Container-Optimized
|
|
130
134
|
# OS image that enforces kernel module signature verification.
|
|
135
|
+
# @!attribute [rw] accurate_time_config
|
|
136
|
+
# @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig::AccurateTimeConfig]
|
|
137
|
+
# Optional. The accurate time configuration for the node pool.
|
|
131
138
|
class LinuxNodeConfig
|
|
132
139
|
include ::Google::Protobuf::MessageExts
|
|
133
140
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -144,6 +151,50 @@ module Google
|
|
|
144
151
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
145
152
|
end
|
|
146
153
|
|
|
154
|
+
# Support for running custom init code while bootstrapping nodes.
|
|
155
|
+
# @!attribute [rw] init_script
|
|
156
|
+
# @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig::CustomNodeInit::InitScript]
|
|
157
|
+
# Optional. The init script to be executed on the node.
|
|
158
|
+
class CustomNodeInit
|
|
159
|
+
include ::Google::Protobuf::MessageExts
|
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
161
|
+
|
|
162
|
+
# InitScript provide a simply bash script to be executed on the node.
|
|
163
|
+
# @!attribute [rw] gcs_uri
|
|
164
|
+
# @return [::String]
|
|
165
|
+
# The Cloud Storage URI for storing the init script.
|
|
166
|
+
# Format: gs://BUCKET_NAME/OBJECT_NAME
|
|
167
|
+
# The service account on the node pool must have read access to the
|
|
168
|
+
# object.
|
|
169
|
+
# User can't configure both gcs_uri and gcp_secret_manager_secret_uri.
|
|
170
|
+
# @!attribute [rw] gcs_generation
|
|
171
|
+
# @return [::Integer]
|
|
172
|
+
# The generation of the init script stored in Gloud Storage.
|
|
173
|
+
# This is the required field to identify the version of the
|
|
174
|
+
# init script.
|
|
175
|
+
# User can get the genetaion from
|
|
176
|
+
# `gcloud storage objects describe gs://BUCKET_NAME/OBJECT_NAME
|
|
177
|
+
# --format="value(generation)"` or from the "Version history" tab of the
|
|
178
|
+
# object in the Cloud Console UI.
|
|
179
|
+
# @!attribute [rw] args
|
|
180
|
+
# @return [::Array<::String>]
|
|
181
|
+
# Optional. The optional arguments line to be passed to the init script.
|
|
182
|
+
# @!attribute [rw] gcp_secret_manager_secret_uri
|
|
183
|
+
# @return [::String]
|
|
184
|
+
# The resource name of the secret manager secret hosting the init script.
|
|
185
|
+
# Both global and regional secrets are supported with format below:
|
|
186
|
+
# Global secret: projects/\\{project}/secrets/\\{secret}/versions/\\{version}
|
|
187
|
+
# Regional secret:
|
|
188
|
+
# projects/\\{project}/locations/\\{location}/secrets/\\{secret}/versions/\\{version}
|
|
189
|
+
# Example: projects/1234567890/secrets/script_1/versions/1.
|
|
190
|
+
# Accept version number only, not support version alias.
|
|
191
|
+
# User can't configure both gcp_secret_manager_secret_uri and gcs_uri.
|
|
192
|
+
class InitScript
|
|
193
|
+
include ::Google::Protobuf::MessageExts
|
|
194
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
147
198
|
# Configuration for swap memory on a node pool.
|
|
148
199
|
# @!attribute [rw] enabled
|
|
149
200
|
# @return [::Boolean]
|
|
@@ -232,7 +283,7 @@ module Google
|
|
|
232
283
|
include ::Google::Protobuf::MessageExts
|
|
233
284
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
234
285
|
|
|
235
|
-
# Defines the kernel module loading policy for nodes in the
|
|
286
|
+
# Defines the kernel module loading policy for nodes in the node pool.
|
|
236
287
|
module Policy
|
|
237
288
|
# Default behavior. GKE selects the image based on node type.
|
|
238
289
|
# For CPU and TPU nodes, the image will not allow loading external
|
|
@@ -257,6 +308,16 @@ module Google
|
|
|
257
308
|
end
|
|
258
309
|
end
|
|
259
310
|
|
|
311
|
+
# AccurateTimeConfig contains configuration for the accurate time
|
|
312
|
+
# synchronization feature.
|
|
313
|
+
# @!attribute [rw] enable_ptp_kvm_time_sync
|
|
314
|
+
# @return [::Boolean]
|
|
315
|
+
# Enables enhanced time synchronization using PTP-KVM.
|
|
316
|
+
class AccurateTimeConfig
|
|
317
|
+
include ::Google::Protobuf::MessageExts
|
|
318
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
319
|
+
end
|
|
320
|
+
|
|
260
321
|
# @!attribute [rw] key
|
|
261
322
|
# @return [::String]
|
|
262
323
|
# @!attribute [rw] value
|
|
@@ -529,6 +590,10 @@ module Google
|
|
|
529
590
|
# If true, will prevent the memory.oom.group flag from being set for
|
|
530
591
|
# container cgroups in cgroups v2. This causes processes in the container to
|
|
531
592
|
# be OOM killed individually instead of as a group.
|
|
593
|
+
# @!attribute [rw] crash_loop_back_off
|
|
594
|
+
# @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig::CrashLoopBackOffConfig]
|
|
595
|
+
# Optional. Contains configuration options to modify node-level parameters
|
|
596
|
+
# for container restart behavior.
|
|
532
597
|
# @!attribute [rw] shutdown_grace_period_seconds
|
|
533
598
|
# @return [::Integer]
|
|
534
599
|
# Optional. shutdown_grace_period_seconds is the maximum allowed grace period
|
|
@@ -541,15 +606,35 @@ module Google
|
|
|
541
606
|
# Allowed values: 0, 30, 120.
|
|
542
607
|
# @!attribute [rw] shutdown_grace_period_critical_pods_seconds
|
|
543
608
|
# @return [::Integer]
|
|
544
|
-
# Optional.
|
|
545
|
-
# grace period (in seconds) used to terminate critical pods during a
|
|
546
|
-
# shutdown. This value should be <= shutdown_grace_period_seconds, and
|
|
547
|
-
# only valid if shutdown_grace_period_seconds is set.
|
|
609
|
+
# Optional. shutdown_grace_period_critical_pods_seconds is the maximum
|
|
610
|
+
# allowed grace period (in seconds) used to terminate critical pods during a
|
|
611
|
+
# node shutdown. This value should be <= shutdown_grace_period_seconds, and
|
|
612
|
+
# is only valid if shutdown_grace_period_seconds is set.
|
|
548
613
|
# https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/
|
|
549
614
|
# Range: [0, 120].
|
|
550
615
|
class NodeKubeletConfig
|
|
551
616
|
include ::Google::Protobuf::MessageExts
|
|
552
617
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
618
|
+
|
|
619
|
+
# Contains config to modify node-level parameters for container restart
|
|
620
|
+
# behavior.
|
|
621
|
+
# @!attribute [rw] max_container_restart_period
|
|
622
|
+
# @return [::String]
|
|
623
|
+
# Optional. The maximum duration the backoff delay can accrue to for
|
|
624
|
+
# container restarts, minimum 1 second, maximum 300 seconds. If not set,
|
|
625
|
+
# defaults to the internal crashloopbackoff maximum.
|
|
626
|
+
#
|
|
627
|
+
# The string must be a sequence of decimal numbers, each with optional
|
|
628
|
+
# fraction and a unit suffix, such as "300ms".
|
|
629
|
+
# Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
|
|
630
|
+
#
|
|
631
|
+
# See
|
|
632
|
+
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay
|
|
633
|
+
# for more details.
|
|
634
|
+
class CrashLoopBackOffConfig
|
|
635
|
+
include ::Google::Protobuf::MessageExts
|
|
636
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
637
|
+
end
|
|
553
638
|
end
|
|
554
639
|
|
|
555
640
|
# TopologyManager defines the configuration options for Topology Manager
|
|
@@ -822,14 +907,23 @@ module Google
|
|
|
822
907
|
# for available image types.
|
|
823
908
|
# @!attribute [rw] labels
|
|
824
909
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
825
|
-
# The
|
|
826
|
-
#
|
|
827
|
-
#
|
|
828
|
-
#
|
|
829
|
-
#
|
|
830
|
-
#
|
|
831
|
-
#
|
|
832
|
-
#
|
|
910
|
+
# The Kubernetes labels (key/value pairs) to apply to each node. The values
|
|
911
|
+
# in this field are added to the set of default labels Kubernetes applies to
|
|
912
|
+
# nodes.
|
|
913
|
+
#
|
|
914
|
+
# This field has the following restrictions:
|
|
915
|
+
#
|
|
916
|
+
# * Labels must use a valid Kubernetes syntax and character set, as defined
|
|
917
|
+
# in
|
|
918
|
+
# https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set.
|
|
919
|
+
# * This field supports up to 1,024 total characters in a single request.
|
|
920
|
+
#
|
|
921
|
+
# Depending on the Kubernetes version, keys in this field might conflict with
|
|
922
|
+
# the keys of the default labels, which might change which of your labels
|
|
923
|
+
# are applied to the nodes. Assume that the behavior is unpredictable and
|
|
924
|
+
# avoid label key conflicts. For more information about the default labels,
|
|
925
|
+
# see:
|
|
926
|
+
# https://kubernetes.io/docs/reference/labels-annotations-taints/
|
|
833
927
|
# @!attribute [rw] local_ssd_count
|
|
834
928
|
# @return [::Integer]
|
|
835
929
|
# The number of local SSD disks to be attached to the node.
|
|
@@ -1006,6 +1100,9 @@ module Google
|
|
|
1006
1100
|
# Consolidation delay defines duration after which the Cluster Autoscaler can
|
|
1007
1101
|
# scale down underutilized nodes. If not set, nodes are scaled down by
|
|
1008
1102
|
# default behavior, i.e. according to the chosen autoscaling profile.
|
|
1103
|
+
# @!attribute [rw] taint_config
|
|
1104
|
+
# @return [::Google::Cloud::Container::V1beta1::TaintConfig]
|
|
1105
|
+
# Optional. The taint configuration for the node pool.
|
|
1009
1106
|
class NodeConfig
|
|
1010
1107
|
include ::Google::Protobuf::MessageExts
|
|
1011
1108
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1073,6 +1170,28 @@ module Google
|
|
|
1073
1170
|
end
|
|
1074
1171
|
end
|
|
1075
1172
|
|
|
1173
|
+
# TaintConfig contains the configuration for the taints of the node pool.
|
|
1174
|
+
# @!attribute [rw] architecture_taint_behavior
|
|
1175
|
+
# @return [::Google::Cloud::Container::V1beta1::TaintConfig::ArchitectureTaintBehavior]
|
|
1176
|
+
# Optional. Controls architecture tainting behavior.
|
|
1177
|
+
class TaintConfig
|
|
1178
|
+
include ::Google::Protobuf::MessageExts
|
|
1179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1180
|
+
|
|
1181
|
+
# Controls architecture tainting behavior for a node pool.
|
|
1182
|
+
# New values may be added in the future.
|
|
1183
|
+
module ArchitectureTaintBehavior
|
|
1184
|
+
# Specifies that the behavior is unspecified, defaults to ARM.
|
|
1185
|
+
ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED = 0
|
|
1186
|
+
|
|
1187
|
+
# Disables default architecture taints on the node pool.
|
|
1188
|
+
NONE = 1
|
|
1189
|
+
|
|
1190
|
+
# Taints all the nodes in the node pool with the default ARM taint.
|
|
1191
|
+
ARM = 2
|
|
1192
|
+
end
|
|
1193
|
+
end
|
|
1194
|
+
|
|
1076
1195
|
# Specifies options for controlling advanced machine features.
|
|
1077
1196
|
# @!attribute [rw] threads_per_core
|
|
1078
1197
|
# @return [::Integer]
|
|
@@ -1159,7 +1278,7 @@ module Google
|
|
|
1159
1278
|
# @!attribute [rw] pod_cidr_overprovision_config
|
|
1160
1279
|
# @return [::Google::Cloud::Container::V1beta1::PodCIDROverprovisionConfig]
|
|
1161
1280
|
# [PRIVATE FIELD]
|
|
1162
|
-
# Pod CIDR size overprovisioning config for the
|
|
1281
|
+
# Pod CIDR size overprovisioning config for the node pool.
|
|
1163
1282
|
#
|
|
1164
1283
|
# Pod CIDR size per node depends on max_pods_per_node. By default, the value
|
|
1165
1284
|
# of max_pods_per_node is rounded off to next power of 2 and we then double
|
|
@@ -1189,11 +1308,14 @@ module Google
|
|
|
1189
1308
|
# Format: projects/\\{project}/regions/\\{region}/subnetworks/\\{subnetwork}
|
|
1190
1309
|
# If the cluster is associated with multiple subnetworks, the subnetwork can
|
|
1191
1310
|
# be either:
|
|
1192
|
-
#
|
|
1193
|
-
#
|
|
1194
|
-
#
|
|
1195
|
-
#
|
|
1196
|
-
#
|
|
1311
|
+
# - A user supplied subnetwork name during node pool creation (e.g.,
|
|
1312
|
+
# `my-subnet`). The name must be between 1 and 63 characters long, start
|
|
1313
|
+
# with a letter, contain only letters, numbers, and hyphens, and end with a
|
|
1314
|
+
# letter or a number.
|
|
1315
|
+
# - A full subnetwork path during node pool creation, such as
|
|
1316
|
+
# `projects/gke-project/regions/us-central1/subnetworks/my-subnet`
|
|
1317
|
+
# - A subnetwork path picked based on the IP utilization during node pool
|
|
1318
|
+
# creation and is immutable.
|
|
1197
1319
|
# @!attribute [r] network_tier_config
|
|
1198
1320
|
# @return [::Google::Cloud::Container::V1beta1::NetworkTierConfig]
|
|
1199
1321
|
# Output only. The network tier configuration for the node pool inherits from
|
|
@@ -1514,8 +1636,8 @@ module Google
|
|
|
1514
1636
|
# Specifying port is supported.
|
|
1515
1637
|
# Wildcards are NOT supported.
|
|
1516
1638
|
# Examples:
|
|
1517
|
-
# - my.customdomain.com
|
|
1518
|
-
# - 10.0.1.2:5000
|
|
1639
|
+
# - `my.customdomain.com`
|
|
1640
|
+
# - `10.0.1.2:5000`
|
|
1519
1641
|
# @!attribute [rw] gcp_secret_manager_certificate_config
|
|
1520
1642
|
# @return [::Google::Cloud::Container::V1beta1::ContainerdConfig::PrivateRegistryAccessConfig::CertificateAuthorityDomainConfig::GCPSecretManagerCertificateConfig]
|
|
1521
1643
|
# Secret Manager certificate configuration.
|
|
@@ -1555,11 +1677,11 @@ module Google
|
|
|
1555
1677
|
# Defines the host name of the registry server, which will be used to
|
|
1556
1678
|
# create configuration file as /etc/containerd/hosts.d/<server>/hosts.toml.
|
|
1557
1679
|
# It supports fully qualified domain names (FQDN) and IP addresses:
|
|
1558
|
-
# Specifying port is supported.
|
|
1680
|
+
# Specifying port is supported, while scheme and path are NOT supported.
|
|
1559
1681
|
# Wildcards are NOT supported.
|
|
1560
1682
|
# Examples:
|
|
1561
|
-
# - my.customdomain.com
|
|
1562
|
-
# - 10.0.1.2:5000
|
|
1683
|
+
# - `my.customdomain.com`
|
|
1684
|
+
# - `10.0.1.2:5000`
|
|
1563
1685
|
# @!attribute [rw] hosts
|
|
1564
1686
|
# @return [::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig>]
|
|
1565
1687
|
# HostConfig configures a list of host-specific configurations for the
|
|
@@ -1613,12 +1735,14 @@ module Google
|
|
|
1613
1735
|
# @!attribute [rw] host
|
|
1614
1736
|
# @return [::String]
|
|
1615
1737
|
# Host configures the registry host/mirror.
|
|
1616
|
-
# It supports fully qualified domain names (
|
|
1617
|
-
# Specifying port is supported.
|
|
1738
|
+
# It supports fully qualified domain names (FQDNs) and IP addresses.
|
|
1739
|
+
# Specifying scheme, port or path is supported. Scheme can only be http
|
|
1740
|
+
# or https.
|
|
1618
1741
|
# Wildcards are NOT supported.
|
|
1619
1742
|
# Examples:
|
|
1620
|
-
# - my.customdomain.com
|
|
1621
|
-
# -
|
|
1743
|
+
# - `my.customdomain.com`
|
|
1744
|
+
# - `https://my.customdomain.com/path`
|
|
1745
|
+
# - `10.0.1.2:5000`
|
|
1622
1746
|
# @!attribute [rw] capabilities
|
|
1623
1747
|
# @return [::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostCapability>]
|
|
1624
1748
|
# Capabilities represent the capabilities of the registry host,
|
|
@@ -1953,9 +2077,18 @@ module Google
|
|
|
1953
2077
|
# @!attribute [rw] pod_snapshot_config
|
|
1954
2078
|
# @return [::Google::Cloud::Container::V1beta1::PodSnapshotConfig]
|
|
1955
2079
|
# Configuration for the Pod Snapshot feature.
|
|
2080
|
+
# @!attribute [rw] slurm_operator_config
|
|
2081
|
+
# @return [::Google::Cloud::Container::V1beta1::SlurmOperatorConfig]
|
|
2082
|
+
# Configuration for the Slurm Operator.
|
|
1956
2083
|
# @!attribute [rw] slice_controller_config
|
|
1957
2084
|
# @return [::Google::Cloud::Container::V1beta1::SliceControllerConfig]
|
|
1958
2085
|
# Optional. Configuration for the slice controller add-on.
|
|
2086
|
+
# @!attribute [rw] agent_sandbox_config
|
|
2087
|
+
# @return [::Google::Cloud::Container::V1beta1::AgentSandboxConfig]
|
|
2088
|
+
# Optional. Configuration for the AgentSandbox addon.
|
|
2089
|
+
# @!attribute [rw] node_readiness_config
|
|
2090
|
+
# @return [::Google::Cloud::Container::V1beta1::NodeReadinessConfig]
|
|
2091
|
+
# Optional. Configuration for NodeReadinessController add-on.
|
|
1959
2092
|
class AddonsConfig
|
|
1960
2093
|
include ::Google::Protobuf::MessageExts
|
|
1961
2094
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2117,11 +2250,46 @@ module Google
|
|
|
2117
2250
|
# Deprecated: This flag is no longer required as of GKE node version
|
|
2118
2251
|
# 1.33.2-gke.4655000, unless you are connecting to a Lustre instance
|
|
2119
2252
|
# that has the `gke-support-enabled` flag.
|
|
2253
|
+
# @!attribute [rw] disable_multi_nic
|
|
2254
|
+
# @return [::Boolean]
|
|
2255
|
+
# When set to true, this disables multi-NIC support for the Lustre CSI
|
|
2256
|
+
# driver.
|
|
2257
|
+
# By default, GKE enables multi-NIC support, which allows the Lustre
|
|
2258
|
+
# CSI driver to automatically detect and configure all suitable network
|
|
2259
|
+
# interfaces on a node to maximize I/O performance for demanding workloads.
|
|
2120
2260
|
class LustreCsiDriverConfig
|
|
2121
2261
|
include ::Google::Protobuf::MessageExts
|
|
2122
2262
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2123
2263
|
end
|
|
2124
2264
|
|
|
2265
|
+
# Configuration for the Slurm Operator.
|
|
2266
|
+
# @!attribute [rw] enabled
|
|
2267
|
+
# @return [::Boolean]
|
|
2268
|
+
# Whether the Slurm Operator is enabled in the cluster.
|
|
2269
|
+
class SlurmOperatorConfig
|
|
2270
|
+
include ::Google::Protobuf::MessageExts
|
|
2271
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2272
|
+
end
|
|
2273
|
+
|
|
2274
|
+
# Configuration for the AgentSandbox addon.
|
|
2275
|
+
# @!attribute [rw] enabled
|
|
2276
|
+
# @return [::Boolean]
|
|
2277
|
+
# Optional. Whether AgentSandbox is enabled for this cluster.
|
|
2278
|
+
class AgentSandboxConfig
|
|
2279
|
+
include ::Google::Protobuf::MessageExts
|
|
2280
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2281
|
+
end
|
|
2282
|
+
|
|
2283
|
+
# Configuration for the GKE Node Readiness Controller.
|
|
2284
|
+
# @!attribute [rw] enabled
|
|
2285
|
+
# @return [::Boolean]
|
|
2286
|
+
# Optional. Whether the GKE Node Readiness Controller is enabled for this
|
|
2287
|
+
# cluster.
|
|
2288
|
+
class NodeReadinessConfig
|
|
2289
|
+
include ::Google::Protobuf::MessageExts
|
|
2290
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2291
|
+
end
|
|
2292
|
+
|
|
2125
2293
|
# Configuration for the Slice Controller.
|
|
2126
2294
|
# @!attribute [rw] enabled
|
|
2127
2295
|
# @return [::Boolean]
|
|
@@ -2963,6 +3131,10 @@ module Google
|
|
|
2963
3131
|
# @return [::Google::Cloud::Container::V1beta1::RollbackSafeUpgrade]
|
|
2964
3132
|
# The rollback safe upgrade information of the cluster.
|
|
2965
3133
|
# This field is used when user manually triggers a rollback safe upgrade.
|
|
3134
|
+
# @!attribute [rw] node_pool_upgrade_concurrency_config
|
|
3135
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePoolUpgradeConcurrencyConfig]
|
|
3136
|
+
# The node pool upgrade concurrency config of the cluster.
|
|
3137
|
+
# This field is used for auto upgrade.
|
|
2966
3138
|
# @!attribute [r] current_node_version
|
|
2967
3139
|
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
2968
3140
|
# @return [::String]
|
|
@@ -3079,7 +3251,7 @@ module Google
|
|
|
3079
3251
|
# Fleet information for the cluster.
|
|
3080
3252
|
# @!attribute [rw] security_posture_config
|
|
3081
3253
|
# @return [::Google::Cloud::Container::V1beta1::SecurityPostureConfig]
|
|
3082
|
-
# Enable/Disable Security Posture API features for the cluster.
|
|
3254
|
+
# Optional. Enable/Disable Security Posture API features for the cluster.
|
|
3083
3255
|
# @!attribute [rw] control_plane_endpoints_config
|
|
3084
3256
|
# @return [::Google::Cloud::Container::V1beta1::ControlPlaneEndpointsConfig]
|
|
3085
3257
|
# Configuration for all cluster's control plane endpoints.
|
|
@@ -3094,7 +3266,12 @@ module Google
|
|
|
3094
3266
|
# @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig]
|
|
3095
3267
|
# Secret CSI driver configuration.
|
|
3096
3268
|
# @!attribute [rw] compliance_posture_config
|
|
3269
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
3097
3270
|
# @return [::Google::Cloud::Container::V1beta1::CompliancePostureConfig]
|
|
3271
|
+
# Optional. Deprecated: Compliance Posture is no longer supported.
|
|
3272
|
+
# For more details, see
|
|
3273
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
|
|
3274
|
+
#
|
|
3098
3275
|
# Enable/Disable Compliance Posture features for the cluster.
|
|
3099
3276
|
# @!attribute [r] satisfies_pzs
|
|
3100
3277
|
# @return [::Boolean]
|
|
@@ -3116,12 +3293,24 @@ module Google
|
|
|
3116
3293
|
# @return [::Google::Cloud::Container::V1beta1::AnonymousAuthenticationConfig]
|
|
3117
3294
|
# Configuration for limiting anonymous access to all endpoints except the
|
|
3118
3295
|
# health checks.
|
|
3296
|
+
# @!attribute [rw] schedule_upgrade_config
|
|
3297
|
+
# @return [::Google::Cloud::Container::V1beta1::ScheduleUpgradeConfig]
|
|
3298
|
+
# Optional. Configuration for scheduled upgrades.
|
|
3119
3299
|
# @!attribute [rw] secret_sync_config
|
|
3120
3300
|
# @return [::Google::Cloud::Container::V1beta1::SecretSyncConfig]
|
|
3121
3301
|
# Configuration for sync Secret Manager secrets as k8s secrets.
|
|
3122
3302
|
# @!attribute [rw] managed_opentelemetry_config
|
|
3123
3303
|
# @return [::Google::Cloud::Container::V1beta1::ManagedOpenTelemetryConfig]
|
|
3124
3304
|
# Configuration for Managed OpenTelemetry pipeline.
|
|
3305
|
+
# @!attribute [rw] control_plane_egress
|
|
3306
|
+
# @return [::Google::Cloud::Container::V1beta1::ControlPlaneEgress]
|
|
3307
|
+
# Configuration for control plane egress control.
|
|
3308
|
+
# @!attribute [rw] managed_machine_learning_diagnostics_config
|
|
3309
|
+
# @return [::Google::Cloud::Container::V1beta1::ManagedMachineLearningDiagnosticsConfig]
|
|
3310
|
+
# Configuration for managed machine learning diagnostics.
|
|
3311
|
+
# @!attribute [rw] node_creation_config
|
|
3312
|
+
# @return [::Google::Cloud::Container::V1beta1::NodeCreationConfig]
|
|
3313
|
+
# Optional. Configuration for Node Creation Mode.
|
|
3125
3314
|
class Cluster
|
|
3126
3315
|
include ::Google::Protobuf::MessageExts
|
|
3127
3316
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -3165,6 +3354,50 @@ module Google
|
|
|
3165
3354
|
end
|
|
3166
3355
|
end
|
|
3167
3356
|
|
|
3357
|
+
# NodeCreationConfig defines the settings of node creation mode.
|
|
3358
|
+
# @!attribute [rw] node_creation_mode
|
|
3359
|
+
# @return [::Google::Cloud::Container::V1beta1::NodeCreationConfig::Mode]
|
|
3360
|
+
# The mode of node creation.
|
|
3361
|
+
class NodeCreationConfig
|
|
3362
|
+
include ::Google::Protobuf::MessageExts
|
|
3363
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3364
|
+
|
|
3365
|
+
# The mode of node creation.
|
|
3366
|
+
module Mode
|
|
3367
|
+
# When no user input is provided.
|
|
3368
|
+
MODE_UNSPECIFIED = 0
|
|
3369
|
+
|
|
3370
|
+
# Kubelet registers itself.
|
|
3371
|
+
VIA_KUBELET = 1
|
|
3372
|
+
|
|
3373
|
+
# gcp-controller-manager automatically creates the node object after
|
|
3374
|
+
# CSR approval.
|
|
3375
|
+
VIA_CONTROL_PLANE = 2
|
|
3376
|
+
end
|
|
3377
|
+
end
|
|
3378
|
+
|
|
3379
|
+
# ControlPlaneEgress defines the settings needed to enable
|
|
3380
|
+
# control plane egress control.
|
|
3381
|
+
# @!attribute [rw] mode
|
|
3382
|
+
# @return [::Google::Cloud::Container::V1beta1::ControlPlaneEgress::Mode]
|
|
3383
|
+
# Defines the mode of control plane egress.
|
|
3384
|
+
class ControlPlaneEgress
|
|
3385
|
+
include ::Google::Protobuf::MessageExts
|
|
3386
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3387
|
+
|
|
3388
|
+
# Mode defines the mode of control plane egress.
|
|
3389
|
+
module Mode
|
|
3390
|
+
# Default value not specified.
|
|
3391
|
+
MODE_UNSPECIFIED = 0
|
|
3392
|
+
|
|
3393
|
+
# Control plane has public IP and no restriction on egress.
|
|
3394
|
+
VIA_CONTROL_PLANE = 1
|
|
3395
|
+
|
|
3396
|
+
# No public IP on control plane and only internal allowlisted egress.
|
|
3397
|
+
NONE = 2
|
|
3398
|
+
end
|
|
3399
|
+
end
|
|
3400
|
+
|
|
3168
3401
|
# RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings
|
|
3169
3402
|
# that can be created.
|
|
3170
3403
|
# @!attribute [rw] enable_insecure_binding_system_unauthenticated
|
|
@@ -3252,8 +3485,13 @@ module Google
|
|
|
3252
3485
|
end
|
|
3253
3486
|
end
|
|
3254
3487
|
|
|
3488
|
+
# Deprecated: Compliance Posture is no longer supported.
|
|
3489
|
+
# For more details, see
|
|
3490
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
|
|
3491
|
+
#
|
|
3255
3492
|
# CompliancePostureConfig defines the settings needed to enable/disable
|
|
3256
3493
|
# features for the Compliance Posture.
|
|
3494
|
+
# @deprecated This message is deprecated and may be removed in the next major version update.
|
|
3257
3495
|
# @!attribute [rw] mode
|
|
3258
3496
|
# @return [::Google::Cloud::Container::V1beta1::CompliancePostureConfig::Mode]
|
|
3259
3497
|
# Defines the enablement mode for Compliance Posture.
|
|
@@ -3375,6 +3613,10 @@ module Google
|
|
|
3375
3613
|
# Applies Security Posture features on the cluster.
|
|
3376
3614
|
BASIC = 2
|
|
3377
3615
|
|
|
3616
|
+
# Deprecated: Security Posture Enterprise features are no longer supported.
|
|
3617
|
+
# For more details, see
|
|
3618
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
|
|
3619
|
+
#
|
|
3378
3620
|
# Applies the Security Posture off cluster Enterprise level features.
|
|
3379
3621
|
ENTERPRISE = 3
|
|
3380
3622
|
end
|
|
@@ -3387,6 +3629,10 @@ module Google
|
|
|
3387
3629
|
# Disables vulnerability scanning on the cluster.
|
|
3388
3630
|
VULNERABILITY_DISABLED = 1
|
|
3389
3631
|
|
|
3632
|
+
# Deprecated: Basic vulnerability scanning is no longer supported.
|
|
3633
|
+
# For more details, see
|
|
3634
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
|
|
3635
|
+
#
|
|
3390
3636
|
# Applies basic vulnerability scanning on the cluster.
|
|
3391
3637
|
VULNERABILITY_BASIC = 2
|
|
3392
3638
|
|
|
@@ -3763,7 +4009,12 @@ module Google
|
|
|
3763
4009
|
# @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig]
|
|
3764
4010
|
# Enable/Disable Secret Manager Config.
|
|
3765
4011
|
# @!attribute [rw] desired_compliance_posture_config
|
|
4012
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
3766
4013
|
# @return [::Google::Cloud::Container::V1beta1::CompliancePostureConfig]
|
|
4014
|
+
# Deprecated: Compliance Posture is no longer supported.
|
|
4015
|
+
# For more details, see
|
|
4016
|
+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
|
|
4017
|
+
#
|
|
3767
4018
|
# Enable/Disable Compliance Posture features for the cluster.
|
|
3768
4019
|
# @!attribute [rw] desired_node_kubelet_config
|
|
3769
4020
|
# @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
|
|
@@ -3820,18 +4071,36 @@ module Google
|
|
|
3820
4071
|
# @!attribute [rw] desired_network_tier_config
|
|
3821
4072
|
# @return [::Google::Cloud::Container::V1beta1::NetworkTierConfig]
|
|
3822
4073
|
# The desired network tier configuration for the cluster.
|
|
4074
|
+
# @!attribute [rw] desired_schedule_upgrade_config
|
|
4075
|
+
# @return [::Google::Cloud::Container::V1beta1::ScheduleUpgradeConfig]
|
|
4076
|
+
# Optional. The desired scheduled upgrades configuration for the cluster.
|
|
3823
4077
|
# @!attribute [rw] desired_secret_sync_config
|
|
3824
4078
|
# @return [::Google::Cloud::Container::V1beta1::SecretSyncConfig]
|
|
3825
4079
|
# Configuration for sync Secret Manager secrets as k8s secrets.
|
|
3826
4080
|
# @!attribute [rw] desired_privileged_admission_config
|
|
3827
4081
|
# @return [::Google::Cloud::Container::V1beta1::PrivilegedAdmissionConfig]
|
|
3828
4082
|
# The desired privileged admission config for the cluster.
|
|
4083
|
+
# @!attribute [rw] desired_control_plane_egress
|
|
4084
|
+
# @return [::Google::Cloud::Container::V1beta1::ControlPlaneEgress]
|
|
4085
|
+
# The desired control plane egress control config for the cluster.
|
|
3829
4086
|
# @!attribute [rw] desired_rollback_safe_upgrade
|
|
3830
4087
|
# @return [::Google::Cloud::Container::V1beta1::RollbackSafeUpgrade]
|
|
3831
4088
|
# The desired rollback safe upgrade configuration.
|
|
4089
|
+
# @!attribute [rw] desired_node_pool_upgrade_concurrency_config
|
|
4090
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePoolUpgradeConcurrencyConfig]
|
|
4091
|
+
# The desired node pool upgrade concurrency configuration.
|
|
3832
4092
|
# @!attribute [rw] desired_managed_opentelemetry_config
|
|
3833
4093
|
# @return [::Google::Cloud::Container::V1beta1::ManagedOpenTelemetryConfig]
|
|
3834
4094
|
# The desired managed open telemetry configuration.
|
|
4095
|
+
# @!attribute [rw] desired_autopilot_cluster_policy_config
|
|
4096
|
+
# @return [::Google::Cloud::Container::V1beta1::ClusterPolicyConfig]
|
|
4097
|
+
# The desired autopilot cluster policies that to be enforced in the cluster.
|
|
4098
|
+
# @!attribute [rw] desired_managed_machine_learning_diagnostics_config
|
|
4099
|
+
# @return [::Google::Cloud::Container::V1beta1::ManagedMachineLearningDiagnosticsConfig]
|
|
4100
|
+
# The desired managed machine learning diagnostics configuration.
|
|
4101
|
+
# @!attribute [rw] desired_node_creation_config
|
|
4102
|
+
# @return [::Google::Cloud::Container::V1beta1::NodeCreationConfig]
|
|
4103
|
+
# Optional. The desired NodeCreationConfig for the cluster.
|
|
3835
4104
|
class ClusterUpdate
|
|
3836
4105
|
include ::Google::Protobuf::MessageExts
|
|
3837
4106
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -3873,7 +4142,7 @@ module Google
|
|
|
3873
4142
|
|
|
3874
4143
|
# Additional subnet with DRAINING status will not be selected during new node
|
|
3875
4144
|
# pool creation. To undrain the draining status, update the cluster to set
|
|
3876
|
-
# the
|
|
4145
|
+
# the subnet to ACTIVE status. To remove the additional subnet, use the
|
|
3877
4146
|
# update cluster API to remove the subnet from the
|
|
3878
4147
|
# desired_additional_ip_ranges list. IP ranges can be removed regardless of
|
|
3879
4148
|
# its status, as long as no node pools are using them.
|
|
@@ -4476,6 +4745,9 @@ module Google
|
|
|
4476
4745
|
# Consolidation delay defines duration after which the Cluster Autoscaler can
|
|
4477
4746
|
# scale down underutilized nodes. If not set, nodes are scaled down by
|
|
4478
4747
|
# default behavior, i.e. according to the chosen autoscaling profile.
|
|
4748
|
+
# @!attribute [rw] taint_config
|
|
4749
|
+
# @return [::Google::Cloud::Container::V1beta1::TaintConfig]
|
|
4750
|
+
# The taint configuration for the node pool.
|
|
4479
4751
|
class UpdateNodePoolRequest
|
|
4480
4752
|
include ::Google::Protobuf::MessageExts
|
|
4481
4753
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -5336,6 +5608,9 @@ module Google
|
|
|
5336
5608
|
# @!attribute [rw] node_drain_config
|
|
5337
5609
|
# @return [::Google::Cloud::Container::V1beta1::NodePool::NodeDrainConfig]
|
|
5338
5610
|
# Specifies the node drain configuration for this node pool.
|
|
5611
|
+
# @!attribute [rw] maintenance_policy
|
|
5612
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePool::NodePoolMaintenancePolicy]
|
|
5613
|
+
# Optional. Specifies the maintenance policy for the node pool.
|
|
5339
5614
|
class NodePool
|
|
5340
5615
|
include ::Google::Protobuf::MessageExts
|
|
5341
5616
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -5504,7 +5779,7 @@ module Google
|
|
|
5504
5779
|
# QueuedProvisioning defines the queued provisioning used by the node pool.
|
|
5505
5780
|
# @!attribute [rw] enabled
|
|
5506
5781
|
# @return [::Boolean]
|
|
5507
|
-
# Denotes that this
|
|
5782
|
+
# Denotes that this node pool is QRM specific, meaning nodes can be only
|
|
5508
5783
|
# obtained through queuing via the Cluster Autoscaler ProvisioningRequest
|
|
5509
5784
|
# API.
|
|
5510
5785
|
class QueuedProvisioning
|
|
@@ -5513,7 +5788,13 @@ module Google
|
|
|
5513
5788
|
end
|
|
5514
5789
|
|
|
5515
5790
|
# NodeDrainConfig contains the node drain related configurations for this
|
|
5516
|
-
#
|
|
5791
|
+
# node pool.
|
|
5792
|
+
# @!attribute [rw] pdb_timeout_duration
|
|
5793
|
+
# @return [::Google::Protobuf::Duration]
|
|
5794
|
+
# The duration of the PDB timeout period for node drain.
|
|
5795
|
+
# @!attribute [rw] grace_termination_duration
|
|
5796
|
+
# @return [::Google::Protobuf::Duration]
|
|
5797
|
+
# The duration of the grace termination period for node drain.
|
|
5517
5798
|
# @!attribute [rw] respect_pdb_during_node_pool_deletion
|
|
5518
5799
|
# @return [::Boolean]
|
|
5519
5800
|
# Whether to respect PDB during node pool deletion.
|
|
@@ -5522,6 +5803,34 @@ module Google
|
|
|
5522
5803
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
5523
5804
|
end
|
|
5524
5805
|
|
|
5806
|
+
# Defines the maintenance exclusion for the node pool.
|
|
5807
|
+
# @!attribute [rw] enabled
|
|
5808
|
+
# @return [::Boolean]
|
|
5809
|
+
# Optional. Indicates whether the exclusion is enabled.
|
|
5810
|
+
# @!attribute [r] start_time
|
|
5811
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
5812
|
+
# Output only. The start time of the maintenance exclusion. It is output
|
|
5813
|
+
# only. It is the exclusion creation time.
|
|
5814
|
+
# @!attribute [r] end_time
|
|
5815
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
5816
|
+
# Output only. The end time of the maintenance exclusion. It is output
|
|
5817
|
+
# only. It is the cluster control plane version's end of support time, or
|
|
5818
|
+
# end of extended support time when the cluster is on extended support
|
|
5819
|
+
# channel.
|
|
5820
|
+
class ExclusionUntilEndOfSupport
|
|
5821
|
+
include ::Google::Protobuf::MessageExts
|
|
5822
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
5823
|
+
end
|
|
5824
|
+
|
|
5825
|
+
# Defines the maintenance policy for the node pool.
|
|
5826
|
+
# @!attribute [rw] exclusion_until_end_of_support
|
|
5827
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePool::ExclusionUntilEndOfSupport]
|
|
5828
|
+
# Optional. The exclusion until end of support for the node pool.
|
|
5829
|
+
class NodePoolMaintenancePolicy
|
|
5830
|
+
include ::Google::Protobuf::MessageExts
|
|
5831
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
5832
|
+
end
|
|
5833
|
+
|
|
5525
5834
|
# The current status of the node pool instance.
|
|
5526
5835
|
module Status
|
|
5527
5836
|
# Not set.
|
|
@@ -5597,24 +5906,57 @@ module Google
|
|
|
5597
5906
|
# of the API unaware of some fields won't accidentally remove other fields).
|
|
5598
5907
|
# Make a `get()` request to the cluster to get the current
|
|
5599
5908
|
# resource version and include it with requests to set the policy.
|
|
5909
|
+
# @!attribute [rw] disruption_budget
|
|
5910
|
+
# @return [::Google::Cloud::Container::V1beta1::DisruptionBudget]
|
|
5911
|
+
# Optional. The upgrade disruption budget for the cluster control plane.
|
|
5600
5912
|
class MaintenancePolicy
|
|
5601
5913
|
include ::Google::Protobuf::MessageExts
|
|
5602
5914
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
5603
5915
|
end
|
|
5604
5916
|
|
|
5917
|
+
# DisruptionBudget defines the upgrade disruption budget for the cluster
|
|
5918
|
+
# control plane.
|
|
5919
|
+
# @!attribute [rw] minor_version_disruption_interval
|
|
5920
|
+
# @return [::Google::Protobuf::Duration]
|
|
5921
|
+
# Optional. The minimum duration between two minor version upgrades of the
|
|
5922
|
+
# control plane.
|
|
5923
|
+
# @!attribute [rw] patch_version_disruption_interval
|
|
5924
|
+
# @return [::Google::Protobuf::Duration]
|
|
5925
|
+
# Optional. The minimum duration between two patch version upgrades of the
|
|
5926
|
+
# control plane.
|
|
5927
|
+
# @!attribute [r] last_minor_version_disruption_time
|
|
5928
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
5929
|
+
# Output only. The last time a minor version upgrade was performed on the
|
|
5930
|
+
# control plane.
|
|
5931
|
+
# @!attribute [r] last_disruption_time
|
|
5932
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
5933
|
+
# Output only. The last time a disruption was performed on the control plane.
|
|
5934
|
+
class DisruptionBudget
|
|
5935
|
+
include ::Google::Protobuf::MessageExts
|
|
5936
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
5937
|
+
end
|
|
5938
|
+
|
|
5605
5939
|
# MaintenanceWindow defines the maintenance window to be used for the cluster.
|
|
5606
5940
|
# @!attribute [rw] daily_maintenance_window
|
|
5607
5941
|
# @return [::Google::Cloud::Container::V1beta1::DailyMaintenanceWindow]
|
|
5608
5942
|
# DailyMaintenanceWindow specifies a daily maintenance operation window.
|
|
5609
5943
|
#
|
|
5610
|
-
# Note: The following fields are mutually exclusive: `daily_maintenance_window`, `recurring_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
5944
|
+
# Note: The following fields are mutually exclusive: `daily_maintenance_window`, `recurring_window`, `recurring_maintenance_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
5611
5945
|
# @!attribute [rw] recurring_window
|
|
5612
5946
|
# @return [::Google::Cloud::Container::V1beta1::RecurringTimeWindow]
|
|
5613
5947
|
# RecurringWindow specifies some number of recurring time periods for
|
|
5614
5948
|
# maintenance to occur. The time windows may be overlapping. If no
|
|
5615
5949
|
# maintenance windows are set, maintenance can occur at any time.
|
|
5616
5950
|
#
|
|
5617
|
-
# Note: The following fields are mutually exclusive: `recurring_window`, `daily_maintenance_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
5951
|
+
# Note: The following fields are mutually exclusive: `recurring_window`, `daily_maintenance_window`, `recurring_maintenance_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
5952
|
+
# @!attribute [rw] recurring_maintenance_window
|
|
5953
|
+
# @return [::Google::Cloud::Container::V1beta1::RecurringMaintenanceWindow]
|
|
5954
|
+
# RecurringMaintenanceWindow specifies some number of recurring time
|
|
5955
|
+
# periods for maintenance to occur. The time windows may be overlapping.
|
|
5956
|
+
# If no maintenance windows are set, maintenance can occur at any time.
|
|
5957
|
+
# Alternative to RecurringWindow, with renamed fields.
|
|
5958
|
+
#
|
|
5959
|
+
# Note: The following fields are mutually exclusive: `recurring_maintenance_window`, `daily_maintenance_window`, `recurring_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
5618
5960
|
# @!attribute [rw] maintenance_exclusions
|
|
5619
5961
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Container::V1beta1::TimeWindow}]
|
|
5620
5962
|
# Exceptions to maintenance window. Non-emergency maintenance should not
|
|
@@ -5734,6 +6076,41 @@ module Google
|
|
|
5734
6076
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
5735
6077
|
end
|
|
5736
6078
|
|
|
6079
|
+
# Represents an arbitrary window of time that recurs.
|
|
6080
|
+
# Alternative to RecurringTimeWindow, with renamed fields.
|
|
6081
|
+
# @!attribute [rw] delay_until
|
|
6082
|
+
# @return [::Google::Type::Date]
|
|
6083
|
+
# Optional. Windows will not be scheduled before that day.
|
|
6084
|
+
# Depending on the recurrence, this may be the date the first window appears.
|
|
6085
|
+
# Days are measured in the UTC timezone. This setting must be used when
|
|
6086
|
+
# INTERVAL>1 or FREQ=WEEKLY/MONTHLY and no BYDAY specified.
|
|
6087
|
+
# @!attribute [rw] window_start_time
|
|
6088
|
+
# @return [::Google::Type::TimeOfDay]
|
|
6089
|
+
# Required. Start time of the window on days that it is scheduled,
|
|
6090
|
+
# assuming UTC timezone.
|
|
6091
|
+
# @!attribute [rw] window_duration
|
|
6092
|
+
# @return [::Google::Protobuf::Duration]
|
|
6093
|
+
# Required. Duration of the window.
|
|
6094
|
+
# @!attribute [rw] recurrence
|
|
6095
|
+
# @return [::String]
|
|
6096
|
+
# Required. An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3)
|
|
6097
|
+
# for how this window reccurs.
|
|
6098
|
+
#
|
|
6099
|
+
# For example, to have something repeat every weekday, you'd use:
|
|
6100
|
+
# `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`
|
|
6101
|
+
#
|
|
6102
|
+
# To repeat some window daily (equivalent to the DailyMaintenanceWindow):
|
|
6103
|
+
# `FREQ=DAILY`
|
|
6104
|
+
#
|
|
6105
|
+
# For the first weekend of every month:
|
|
6106
|
+
# `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`
|
|
6107
|
+
#
|
|
6108
|
+
# The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
|
|
6109
|
+
class RecurringMaintenanceWindow
|
|
6110
|
+
include ::Google::Protobuf::MessageExts
|
|
6111
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
6112
|
+
end
|
|
6113
|
+
|
|
5737
6114
|
# Time window specified for daily maintenance operations.
|
|
5738
6115
|
# @!attribute [rw] start_time
|
|
5739
6116
|
# @return [::String]
|
|
@@ -5937,6 +6314,9 @@ module Google
|
|
|
5937
6314
|
|
|
5938
6315
|
# Avoid extra IP consumption.
|
|
5939
6316
|
NO_PERFORMANCE = 1
|
|
6317
|
+
|
|
6318
|
+
# Use default configuration.
|
|
6319
|
+
NONE = 2
|
|
5940
6320
|
end
|
|
5941
6321
|
end
|
|
5942
6322
|
|
|
@@ -6063,7 +6443,7 @@ module Google
|
|
|
6063
6443
|
# Can this node pool be deleted automatically.
|
|
6064
6444
|
# @!attribute [rw] location_policy
|
|
6065
6445
|
# @return [::Google::Cloud::Container::V1beta1::NodePoolAutoscaling::LocationPolicy]
|
|
6066
|
-
# Location policy used when scaling up a
|
|
6446
|
+
# Location policy used when scaling up a node pool.
|
|
6067
6447
|
# @!attribute [rw] total_min_node_count
|
|
6068
6448
|
# @return [::Integer]
|
|
6069
6449
|
# Minimum number of nodes in the node pool. Must be greater than or equal
|
|
@@ -6081,7 +6461,7 @@ module Google
|
|
|
6081
6461
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
6082
6462
|
|
|
6083
6463
|
# Location policy specifies how zones are picked when scaling up the
|
|
6084
|
-
#
|
|
6464
|
+
# node pool.
|
|
6085
6465
|
module LocationPolicy
|
|
6086
6466
|
# Not set.
|
|
6087
6467
|
LOCATION_POLICY_UNSPECIFIED = 0
|
|
@@ -7027,6 +7407,11 @@ module Google
|
|
|
7027
7407
|
# Secrets in etcd are stored in plain text (at etcd level) - this is
|
|
7028
7408
|
# unrelated to Compute Engine level full disk encryption.
|
|
7029
7409
|
DECRYPTED = 2
|
|
7410
|
+
|
|
7411
|
+
# Encryption of all objects in the storage is enabled. There is no
|
|
7412
|
+
# guarantee that all objects in the storage are encrypted, but eventually
|
|
7413
|
+
# they will be.
|
|
7414
|
+
ALL_OBJECTS_ENCRYPTION_ENABLED = 3
|
|
7030
7415
|
end
|
|
7031
7416
|
|
|
7032
7417
|
# Current State of etcd encryption.
|
|
@@ -7054,6 +7439,17 @@ module Google
|
|
|
7054
7439
|
|
|
7055
7440
|
# De-crypting Secrets to plain text in etcd encountered an error.
|
|
7056
7441
|
CURRENT_STATE_DECRYPTION_ERROR = 6
|
|
7442
|
+
|
|
7443
|
+
# Encryption of all objects in the storage is enabled.
|
|
7444
|
+
# It does not guarantee that all objects in the storage are encrypted,
|
|
7445
|
+
# but eventually they will be.
|
|
7446
|
+
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED = 8
|
|
7447
|
+
|
|
7448
|
+
# Enablement of the encryption of all objects in storage is pending.
|
|
7449
|
+
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING = 9
|
|
7450
|
+
|
|
7451
|
+
# Enabling encryption of all objects in storage encountered an error.
|
|
7452
|
+
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR = 10
|
|
7057
7453
|
end
|
|
7058
7454
|
end
|
|
7059
7455
|
|
|
@@ -7438,11 +7834,35 @@ module Google
|
|
|
7438
7834
|
# @return [::Google::Cloud::Container::V1beta1::PrivilegedAdmissionConfig]
|
|
7439
7835
|
# PrivilegedAdmissionConfig is the configuration related to privileged
|
|
7440
7836
|
# admission control.
|
|
7837
|
+
# @!attribute [rw] cluster_policy_config
|
|
7838
|
+
# @return [::Google::Cloud::Container::V1beta1::ClusterPolicyConfig]
|
|
7839
|
+
# ClusterPolicyConfig denotes cluster level policies that are enforced for
|
|
7840
|
+
# the cluster.
|
|
7441
7841
|
class Autopilot
|
|
7442
7842
|
include ::Google::Protobuf::MessageExts
|
|
7443
7843
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
7444
7844
|
end
|
|
7445
7845
|
|
|
7846
|
+
# ClusterPolicyConfig stores the configuration for cluster wide policies.
|
|
7847
|
+
# @!attribute [rw] no_system_mutation
|
|
7848
|
+
# @return [::Boolean]
|
|
7849
|
+
# Denotes that preventing creation and mutation of resources in GKE
|
|
7850
|
+
# managed namespaces and cluster-scoped GKE managed resources .
|
|
7851
|
+
# @!attribute [rw] no_system_impersonation
|
|
7852
|
+
# @return [::Boolean]
|
|
7853
|
+
# Denotes preventing impersonation and CSRs for GKE System users.
|
|
7854
|
+
# @!attribute [rw] no_unsafe_webhooks
|
|
7855
|
+
# @return [::Boolean]
|
|
7856
|
+
# Denotes preventing unsafe webhooks.
|
|
7857
|
+
# @!attribute [rw] no_standard_node_pools
|
|
7858
|
+
# @return [::Boolean]
|
|
7859
|
+
# Denotes preventing standard node pools and requiring only autopilot node
|
|
7860
|
+
# pools.
|
|
7861
|
+
class ClusterPolicyConfig
|
|
7862
|
+
include ::Google::Protobuf::MessageExts
|
|
7863
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
7864
|
+
end
|
|
7865
|
+
|
|
7446
7866
|
# PrivilegedAdmissionConfig stores the list of authorized allowlist
|
|
7447
7867
|
# paths for the cluster.
|
|
7448
7868
|
# @!attribute [rw] allowlist_paths
|
|
@@ -7476,6 +7896,16 @@ module Google
|
|
|
7476
7896
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
7477
7897
|
end
|
|
7478
7898
|
|
|
7899
|
+
# NodePoolUpgradeConcurrencyConfig is the configuration for the node pool
|
|
7900
|
+
# auto upgrade concurrency.
|
|
7901
|
+
# @!attribute [rw] max_count
|
|
7902
|
+
# @return [::Integer]
|
|
7903
|
+
# If set, no more than max_count node pools can be upgraded concurrently.
|
|
7904
|
+
class NodePoolUpgradeConcurrencyConfig
|
|
7905
|
+
include ::Google::Protobuf::MessageExts
|
|
7906
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
7907
|
+
end
|
|
7908
|
+
|
|
7479
7909
|
# NotificationConfig is the configuration of notifications.
|
|
7480
7910
|
# @!attribute [rw] pubsub
|
|
7481
7911
|
# @return [::Google::Cloud::Container::V1beta1::NotificationConfig::PubSub]
|
|
@@ -7652,6 +8082,9 @@ module Google
|
|
|
7652
8082
|
# STATE_UNSPECIFIED indicates the state is unspecified.
|
|
7653
8083
|
STATE_UNSPECIFIED = 0
|
|
7654
8084
|
|
|
8085
|
+
# SCHEDULED indicates the upgrade was scheduled.
|
|
8086
|
+
SCHEDULED = 1
|
|
8087
|
+
|
|
7655
8088
|
# STARTED indicates the upgrade has started.
|
|
7656
8089
|
STARTED = 3
|
|
7657
8090
|
|
|
@@ -7933,7 +8366,7 @@ module Google
|
|
|
7933
8366
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
7934
8367
|
end
|
|
7935
8368
|
|
|
7936
|
-
# NodePoolLoggingConfig specifies logging configuration for
|
|
8369
|
+
# NodePoolLoggingConfig specifies logging configuration for node pools.
|
|
7937
8370
|
# @!attribute [rw] variant_config
|
|
7938
8371
|
# @return [::Google::Cloud::Container::V1beta1::LoggingVariantConfig]
|
|
7939
8372
|
# Logging variant configuration.
|
|
@@ -8244,7 +8677,7 @@ module Google
|
|
|
8244
8677
|
end
|
|
8245
8678
|
end
|
|
8246
8679
|
|
|
8247
|
-
# BootDisk specifies the boot disk configuration for
|
|
8680
|
+
# BootDisk specifies the boot disk configuration for node pools.
|
|
8248
8681
|
# @!attribute [rw] disk_type
|
|
8249
8682
|
# @return [::String]
|
|
8250
8683
|
# Disk type of the boot disk.
|
|
@@ -8472,10 +8905,10 @@ module Google
|
|
|
8472
8905
|
end
|
|
8473
8906
|
|
|
8474
8907
|
# FetchNodePoolUpgradeInfoRequest fetches the upgrade information of a
|
|
8475
|
-
#
|
|
8908
|
+
# node pool.
|
|
8476
8909
|
# @!attribute [rw] name
|
|
8477
8910
|
# @return [::String]
|
|
8478
|
-
# Required. The name (project, location, cluster,
|
|
8911
|
+
# Required. The name (project, location, cluster, node pool) of the node pool
|
|
8479
8912
|
# to get. Specified in the format
|
|
8480
8913
|
# `projects/*/locations/*/clusters/*/nodePools/*` or
|
|
8481
8914
|
# `projects/*/zones/*/clusters/*/nodePools/*`.
|
|
@@ -8487,7 +8920,7 @@ module Google
|
|
|
8487
8920
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8488
8921
|
end
|
|
8489
8922
|
|
|
8490
|
-
# NodePoolUpgradeInfo contains the upgrade information of a
|
|
8923
|
+
# NodePoolUpgradeInfo contains the upgrade information of a node pool.
|
|
8491
8924
|
# @!attribute [rw] minor_target_version
|
|
8492
8925
|
# @return [::String]
|
|
8493
8926
|
# minor_target_version indicates the target version for minor upgrade.
|
|
@@ -8505,10 +8938,10 @@ module Google
|
|
|
8505
8938
|
# The list of past auto upgrades.
|
|
8506
8939
|
# @!attribute [rw] end_of_standard_support_timestamp
|
|
8507
8940
|
# @return [::String]
|
|
8508
|
-
# The
|
|
8941
|
+
# The node pool's current minor version's end of standard support timestamp.
|
|
8509
8942
|
# @!attribute [rw] end_of_extended_support_timestamp
|
|
8510
8943
|
# @return [::String]
|
|
8511
|
-
# The
|
|
8944
|
+
# The node pool's current minor version's end of extended support timestamp.
|
|
8512
8945
|
class NodePoolUpgradeInfo
|
|
8513
8946
|
include ::Google::Protobuf::MessageExts
|
|
8514
8947
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -8552,6 +8985,15 @@ module Google
|
|
|
8552
8985
|
end
|
|
8553
8986
|
end
|
|
8554
8987
|
|
|
8988
|
+
# Configuration for scheduled upgrades on the cluster.
|
|
8989
|
+
# @!attribute [rw] enabled
|
|
8990
|
+
# @return [::Boolean]
|
|
8991
|
+
# Optional. Whether or not scheduled upgrades are enabled.
|
|
8992
|
+
class ScheduleUpgradeConfig
|
|
8993
|
+
include ::Google::Protobuf::MessageExts
|
|
8994
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
8995
|
+
end
|
|
8996
|
+
|
|
8555
8997
|
# GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.
|
|
8556
8998
|
# @!attribute [rw] patch_mode
|
|
8557
8999
|
# @return [::Google::Cloud::Container::V1beta1::GkeAutoUpgradeConfig::PatchMode]
|
|
@@ -8653,6 +9095,16 @@ module Google
|
|
|
8653
9095
|
end
|
|
8654
9096
|
end
|
|
8655
9097
|
|
|
9098
|
+
# ManagedMachineLearningDiagnosticsConfig is the configuration for the GKE
|
|
9099
|
+
# Managed Machine Learning Diagnostics pipeline.
|
|
9100
|
+
# @!attribute [rw] enabled
|
|
9101
|
+
# @return [::Boolean]
|
|
9102
|
+
# Enable/Disable Managed Machine Learning Diagnostics.
|
|
9103
|
+
class ManagedMachineLearningDiagnosticsConfig
|
|
9104
|
+
include ::Google::Protobuf::MessageExts
|
|
9105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
9106
|
+
end
|
|
9107
|
+
|
|
8656
9108
|
# PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.
|
|
8657
9109
|
# @!attribute [rw] enabled
|
|
8658
9110
|
# @return [::Boolean]
|
|
@@ -8705,8 +9157,8 @@ module Google
|
|
|
8705
9157
|
SURGE = 3
|
|
8706
9158
|
|
|
8707
9159
|
# SHORT_LIVED is the dedicated upgrade strategy for
|
|
8708
|
-
# QueuedProvisioning and flex start
|
|
8709
|
-
# the Dynamic Workload Scheduler (DWS).
|
|
9160
|
+
# QueuedProvisioning and flex start node pools scaled up only by enqueueing
|
|
9161
|
+
# to the Dynamic Workload Scheduler (DWS).
|
|
8710
9162
|
SHORT_LIVED = 5
|
|
8711
9163
|
end
|
|
8712
9164
|
|