google-cloud-container-v1beta1 0.21.1 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/container/v1beta1/cluster_manager/client.rb +98 -2
- data/lib/google/cloud/container/v1beta1/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +47 -1325
- data/lib/google/container/v1beta1/cluster_service_services_pb.rb +3 -0
- data/proto_docs/google/container/v1beta1/cluster_service.rb +303 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
@@ -133,6 +133,9 @@ module Google
|
|
133
133
|
rpc :SetMaintenancePolicy, ::Google::Cloud::Container::V1beta1::SetMaintenancePolicyRequest, ::Google::Cloud::Container::V1beta1::Operation
|
134
134
|
# Lists subnetworks that can be used for creating clusters in a project.
|
135
135
|
rpc :ListUsableSubnetworks, ::Google::Cloud::Container::V1beta1::ListUsableSubnetworksRequest, ::Google::Cloud::Container::V1beta1::ListUsableSubnetworksResponse
|
136
|
+
# Checks the cluster compatibility with Autopilot mode, and returns a list of
|
137
|
+
# compatibility issues.
|
138
|
+
rpc :CheckAutopilotCompatibility, ::Google::Cloud::Container::V1beta1::CheckAutopilotCompatibilityRequest, ::Google::Cloud::Container::V1beta1::CheckAutopilotCompatibilityResponse
|
136
139
|
# Fetches locations that offer Google Kubernetes Engine.
|
137
140
|
rpc :ListLocations, ::Google::Cloud::Container::V1beta1::ListLocationsRequest, ::Google::Cloud::Container::V1beta1::ListLocationsResponse
|
138
141
|
end
|
@@ -135,6 +135,9 @@ module Google
|
|
135
135
|
#
|
136
136
|
# Controls the maximum number of processes allowed to run in a pod. The value
|
137
137
|
# must be greater than or equal to 1024 and less than 4194304.
|
138
|
+
# @!attribute [rw] insecure_kubelet_readonly_port_enabled
|
139
|
+
# @return [::Boolean]
|
140
|
+
# Enable or disable Kubelet read only port.
|
138
141
|
class NodeKubeletConfig
|
139
142
|
include ::Google::Protobuf::MessageExts
|
140
143
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -249,7 +252,7 @@ module Google
|
|
249
252
|
# @return [::Boolean]
|
250
253
|
# Whether the nodes are created as preemptible VM instances. See:
|
251
254
|
# https://cloud.google.com/compute/docs/instances/preemptible for more
|
252
|
-
#
|
255
|
+
# information about preemptible VM instances.
|
253
256
|
# @!attribute [rw] accelerators
|
254
257
|
# @return [::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>]
|
255
258
|
# A list of hardware accelerators to be attached to each node.
|
@@ -353,6 +356,9 @@ module Google
|
|
353
356
|
# Parameters for the node ephemeral storage using Local SSDs.
|
354
357
|
# If unspecified, ephemeral storage is backed by the boot disk.
|
355
358
|
# This field is functionally equivalent to the ephemeral_storage_config
|
359
|
+
# @!attribute [rw] sole_tenant_config
|
360
|
+
# @return [::Google::Cloud::Container::V1beta1::SoleTenantConfig]
|
361
|
+
# Parameters for node pools to be backed by shared sole tenant node groups.
|
356
362
|
class NodeConfig
|
357
363
|
include ::Google::Protobuf::MessageExts
|
358
364
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -460,6 +466,11 @@ module Google
|
|
460
466
|
# power of 2)
|
461
467
|
# Example: max_pods_per_node of 30 will result in 32 IPs (/27) when
|
462
468
|
# overprovisioning is disabled.
|
469
|
+
# @!attribute [r] pod_ipv4_range_utilization
|
470
|
+
# @return [::Float]
|
471
|
+
# Output only. [Output only] The utilization of the IPv4 range for pod.
|
472
|
+
# The ratio is Usage/[Total number of IPs in the secondary range],
|
473
|
+
# Usage=numNodes*numZones*podIPsPerNode.
|
463
474
|
class NodeNetworkConfig
|
464
475
|
include ::Google::Protobuf::MessageExts
|
465
476
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -618,6 +629,46 @@ module Google
|
|
618
629
|
end
|
619
630
|
end
|
620
631
|
|
632
|
+
# SoleTenantConfig contains the NodeAffinities to specify what shared sole
|
633
|
+
# tenant node groups should back the node pool.
|
634
|
+
# @!attribute [rw] node_affinities
|
635
|
+
# @return [::Array<::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity>]
|
636
|
+
# NodeAffinities used to match to a shared sole tenant node group.
|
637
|
+
class SoleTenantConfig
|
638
|
+
include ::Google::Protobuf::MessageExts
|
639
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
640
|
+
|
641
|
+
# Specifies the NodeAffinity key, values, and affinity operator according to
|
642
|
+
# [shared sole tenant node group
|
643
|
+
# affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
644
|
+
# @!attribute [rw] key
|
645
|
+
# @return [::String]
|
646
|
+
# Key for NodeAffinity.
|
647
|
+
# @!attribute [rw] operator
|
648
|
+
# @return [::Google::Cloud::Container::V1beta1::SoleTenantConfig::NodeAffinity::Operator]
|
649
|
+
# Operator for NodeAffinity.
|
650
|
+
# @!attribute [rw] values
|
651
|
+
# @return [::Array<::String>]
|
652
|
+
# Values for NodeAffinity.
|
653
|
+
class NodeAffinity
|
654
|
+
include ::Google::Protobuf::MessageExts
|
655
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
656
|
+
|
657
|
+
# Operator allows user to specify affinity or anti-affinity for the
|
658
|
+
# given key values.
|
659
|
+
module Operator
|
660
|
+
# Invalid or unspecified affinity operator.
|
661
|
+
OPERATOR_UNSPECIFIED = 0
|
662
|
+
|
663
|
+
# Affinity operator.
|
664
|
+
IN = 1
|
665
|
+
|
666
|
+
# Anti-affinity operator.
|
667
|
+
NOT_IN = 2
|
668
|
+
end
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
621
672
|
# Kubernetes taint is composed of three fields: key, value, and effect. Effect
|
622
673
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
623
674
|
#
|
@@ -1265,6 +1316,11 @@ module Google
|
|
1265
1316
|
# cluster. These pod ranges can be used by new node pools to allocate pod IPs
|
1266
1317
|
# automatically. Once the range is removed it will not show up in
|
1267
1318
|
# IPAllocationPolicy.
|
1319
|
+
# @!attribute [r] default_pod_ipv4_range_utilization
|
1320
|
+
# @return [::Float]
|
1321
|
+
# Output only. [Output only] The utilization of the cluster default IPv4
|
1322
|
+
# range for pod. The ratio is Usage/[Total number of IPs in the secondary
|
1323
|
+
# range], Usage=numNodes*numZones*podIPsPerNode.
|
1268
1324
|
class IPAllocationPolicy
|
1269
1325
|
include ::Google::Protobuf::MessageExts
|
1270
1326
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1490,6 +1546,9 @@ module Google
|
|
1490
1546
|
# The cluster has no SLA for uptime and master/node upgrades are disabled.
|
1491
1547
|
# Alpha enabled clusters are automatically deleted thirty days after
|
1492
1548
|
# creation.
|
1549
|
+
# @!attribute [rw] enable_k8s_beta_apis
|
1550
|
+
# @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
|
1551
|
+
# Kubernetes open source beta apis enabled on the cluster. Only beta apis.
|
1493
1552
|
# @!attribute [rw] resource_labels
|
1494
1553
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
1495
1554
|
# The resource labels for the cluster to use to annotate any related
|
@@ -1734,6 +1793,9 @@ module Google
|
|
1734
1793
|
# @!attribute [rw] fleet
|
1735
1794
|
# @return [::Google::Cloud::Container::V1beta1::Fleet]
|
1736
1795
|
# Fleet information for the cluster.
|
1796
|
+
# @!attribute [rw] security_posture_config
|
1797
|
+
# @return [::Google::Cloud::Container::V1beta1::SecurityPostureConfig]
|
1798
|
+
# Enable/Disable Security Posture API features for the cluster.
|
1737
1799
|
class Cluster
|
1738
1800
|
include ::Google::Protobuf::MessageExts
|
1739
1801
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1777,6 +1839,15 @@ module Google
|
|
1777
1839
|
end
|
1778
1840
|
end
|
1779
1841
|
|
1842
|
+
# Kubernetes open source beta apis enabled on the cluster.
|
1843
|
+
# @!attribute [rw] enabled_apis
|
1844
|
+
# @return [::Array<::String>]
|
1845
|
+
# api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.
|
1846
|
+
class K8sBetaAPIConfig
|
1847
|
+
include ::Google::Protobuf::MessageExts
|
1848
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1849
|
+
end
|
1850
|
+
|
1780
1851
|
# WorkloadConfig defines the flags to enable or disable the
|
1781
1852
|
# workload configurations for the cluster.
|
1782
1853
|
# @!attribute [rw] audit_mode
|
@@ -1834,6 +1905,43 @@ module Google
|
|
1834
1905
|
end
|
1835
1906
|
end
|
1836
1907
|
|
1908
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
1909
|
+
# the Security Posture API.
|
1910
|
+
# @!attribute [rw] mode
|
1911
|
+
# @return [::Google::Cloud::Container::V1beta1::SecurityPostureConfig::Mode]
|
1912
|
+
# Sets which mode to use for Security Posture features.
|
1913
|
+
# @!attribute [rw] vulnerability_mode
|
1914
|
+
# @return [::Google::Cloud::Container::V1beta1::SecurityPostureConfig::VulnerabilityMode]
|
1915
|
+
# Sets which mode to use for vulnerability scanning.
|
1916
|
+
class SecurityPostureConfig
|
1917
|
+
include ::Google::Protobuf::MessageExts
|
1918
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1919
|
+
|
1920
|
+
# Mode defines enablement mode for GKE Security posture features.
|
1921
|
+
module Mode
|
1922
|
+
# Default value not specified.
|
1923
|
+
MODE_UNSPECIFIED = 0
|
1924
|
+
|
1925
|
+
# Disables Security Posture features on the cluster.
|
1926
|
+
DISABLED = 1
|
1927
|
+
|
1928
|
+
# Applies Security Posture features on the cluster.
|
1929
|
+
BASIC = 2
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
# VulnerabilityMode defines enablement mode for vulnerability scanning.
|
1933
|
+
module VulnerabilityMode
|
1934
|
+
# Default value not specified.
|
1935
|
+
VULNERABILITY_MODE_UNSPECIFIED = 0
|
1936
|
+
|
1937
|
+
# Disables vulnerability scanning on the cluster.
|
1938
|
+
VULNERABILITY_DISABLED = 1
|
1939
|
+
|
1940
|
+
# Applies basic vulnerability scanning on the cluster.
|
1941
|
+
VULNERABILITY_BASIC = 2
|
1942
|
+
end
|
1943
|
+
end
|
1944
|
+
|
1837
1945
|
# Subset of Nodepool message that has defaults.
|
1838
1946
|
# @!attribute [rw] node_config_defaults
|
1839
1947
|
# @return [::Google::Cloud::Container::V1beta1::NodeConfigDefaults]
|
@@ -2087,6 +2195,24 @@ module Google
|
|
2087
2195
|
# The additional pod ranges that are to be removed from the cluster.
|
2088
2196
|
# The pod ranges specified here must have been specified earlier in the
|
2089
2197
|
# 'additional_pod_ranges_config' argument.
|
2198
|
+
# @!attribute [rw] enable_k8s_beta_apis
|
2199
|
+
# @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
|
2200
|
+
# Kubernetes open source beta apis enabled on the cluster. Only beta apis
|
2201
|
+
# @!attribute [rw] desired_security_posture_config
|
2202
|
+
# @return [::Google::Cloud::Container::V1beta1::SecurityPostureConfig]
|
2203
|
+
# Enable/Disable Security Posture API features for the cluster.
|
2204
|
+
# @!attribute [rw] desired_network_performance_config
|
2205
|
+
# @return [::Google::Cloud::Container::V1beta1::NetworkConfig::ClusterNetworkPerformanceConfig]
|
2206
|
+
# The desired network performance config.
|
2207
|
+
# @!attribute [rw] desired_enable_fqdn_network_policy
|
2208
|
+
# @return [::Boolean]
|
2209
|
+
# Enable/Disable FQDN Network Policy for the cluster.
|
2210
|
+
# @!attribute [rw] desired_autopilot_workload_policy_config
|
2211
|
+
# @return [::Google::Cloud::Container::V1beta1::WorkloadPolicyConfig]
|
2212
|
+
# The desired workload policy configuration for the autopilot cluster.
|
2213
|
+
# @!attribute [rw] desired_k8s_beta_apis
|
2214
|
+
# @return [::Google::Cloud::Container::V1beta1::K8sBetaAPIConfig]
|
2215
|
+
# Beta APIs enabled for cluster.
|
2090
2216
|
class ClusterUpdate
|
2091
2217
|
include ::Google::Protobuf::MessageExts
|
2092
2218
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2097,11 +2223,26 @@ module Google
|
|
2097
2223
|
# @!attribute [rw] pod_range_names
|
2098
2224
|
# @return [::Array<::String>]
|
2099
2225
|
# Name for pod secondary ipv4 range which has the actual range defined ahead.
|
2226
|
+
# @!attribute [r] pod_range_info
|
2227
|
+
# @return [::Array<::Google::Cloud::Container::V1beta1::RangeInfo>]
|
2228
|
+
# Output only. [Output only] Information for additional pod range.
|
2100
2229
|
class AdditionalPodRangesConfig
|
2101
2230
|
include ::Google::Protobuf::MessageExts
|
2102
2231
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2103
2232
|
end
|
2104
2233
|
|
2234
|
+
# RangeInfo contains the range name and the range utilization by this cluster.
|
2235
|
+
# @!attribute [r] range_name
|
2236
|
+
# @return [::String]
|
2237
|
+
# Output only. [Output only] Name of a range.
|
2238
|
+
# @!attribute [r] utilization
|
2239
|
+
# @return [::Float]
|
2240
|
+
# Output only. [Output only] The utilization of the range.
|
2241
|
+
class RangeInfo
|
2242
|
+
include ::Google::Protobuf::MessageExts
|
2243
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2244
|
+
end
|
2245
|
+
|
2105
2246
|
# This operation resource represents operations that may have happened or are
|
2106
2247
|
# happening on the cluster. All fields are output only.
|
2107
2248
|
# @!attribute [rw] name
|
@@ -3047,6 +3188,22 @@ module Google
|
|
3047
3188
|
end
|
3048
3189
|
end
|
3049
3190
|
|
3191
|
+
# Best effort provisioning.
|
3192
|
+
# @!attribute [rw] enabled
|
3193
|
+
# @return [::Boolean]
|
3194
|
+
# When this is enabled, cluster/node pool creations will ignore non-fatal
|
3195
|
+
# errors like stockout to best provision as many nodes as possible right now
|
3196
|
+
# and eventually bring up all target number of nodes
|
3197
|
+
# @!attribute [rw] min_provision_nodes
|
3198
|
+
# @return [::Integer]
|
3199
|
+
# Minimum number of nodes to be provisioned to be considered as succeeded,
|
3200
|
+
# and the rest of nodes will be provisioned gradually and eventually when
|
3201
|
+
# stockout issue has been resolved.
|
3202
|
+
class BestEffortProvisioning
|
3203
|
+
include ::Google::Protobuf::MessageExts
|
3204
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
3205
|
+
end
|
3206
|
+
|
3050
3207
|
# Windows server versions.
|
3051
3208
|
# @!attribute [rw] windows_versions
|
3052
3209
|
# @return [::Array<::Google::Cloud::Container::V1beta1::WindowsVersions::WindowsVersion>]
|
@@ -3326,6 +3483,9 @@ module Google
|
|
3326
3483
|
# This checksum is computed by the server based on the value of node pool
|
3327
3484
|
# fields, and may be sent on update requests to ensure the client has an
|
3328
3485
|
# up-to-date value before proceeding.
|
3486
|
+
# @!attribute [rw] best_effort_provisioning
|
3487
|
+
# @return [::Google::Cloud::Container::V1beta1::BestEffortProvisioning]
|
3488
|
+
# Enable best effort provisioning for nodes
|
3329
3489
|
class NodePool
|
3330
3490
|
include ::Google::Protobuf::MessageExts
|
3331
3491
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3439,6 +3599,10 @@ module Google
|
|
3439
3599
|
# @!attribute [rw] type
|
3440
3600
|
# @return [::Google::Cloud::Container::V1beta1::NodePool::PlacementPolicy::Type]
|
3441
3601
|
# The type of placement.
|
3602
|
+
# @!attribute [rw] tpu_topology
|
3603
|
+
# @return [::String]
|
3604
|
+
# TPU placement topology for pod slice node pool.
|
3605
|
+
# https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
|
3442
3606
|
class PlacementPolicy
|
3443
3607
|
include ::Google::Protobuf::MessageExts
|
3444
3608
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3898,6 +4062,9 @@ module Google
|
|
3898
4062
|
# The image type to use for NAP created node. Please see
|
3899
4063
|
# https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for
|
3900
4064
|
# available image types.
|
4065
|
+
# @!attribute [rw] insecure_kubelet_readonly_port_enabled
|
4066
|
+
# @return [::Boolean]
|
4067
|
+
# Enable or disable Kubelet read only port.
|
3901
4068
|
class AutoprovisioningNodePoolDefaults
|
3902
4069
|
include ::Google::Protobuf::MessageExts
|
3903
4070
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4118,6 +4285,9 @@ module Google
|
|
4118
4285
|
# @!attribute [rw] gpu_sharing_config
|
4119
4286
|
# @return [::Google::Cloud::Container::V1beta1::GPUSharingConfig]
|
4120
4287
|
# The configuration for GPU sharing options.
|
4288
|
+
# @!attribute [rw] gpu_driver_installation_config
|
4289
|
+
# @return [::Google::Cloud::Container::V1beta1::GPUDriverInstallationConfig]
|
4290
|
+
# The configuration for auto installation of GPU driver.
|
4121
4291
|
class AcceleratorConfig
|
4122
4292
|
include ::Google::Protobuf::MessageExts
|
4123
4293
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4145,6 +4315,31 @@ module Google
|
|
4145
4315
|
end
|
4146
4316
|
end
|
4147
4317
|
|
4318
|
+
# GPUDriverInstallationConfig specifies the version of GPU driver to be auto
|
4319
|
+
# installed.
|
4320
|
+
# @!attribute [rw] gpu_driver_version
|
4321
|
+
# @return [::Google::Cloud::Container::V1beta1::GPUDriverInstallationConfig::GPUDriverVersion]
|
4322
|
+
# Mode for how the GPU driver is installed.
|
4323
|
+
class GPUDriverInstallationConfig
|
4324
|
+
include ::Google::Protobuf::MessageExts
|
4325
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4326
|
+
|
4327
|
+
# The GPU driver version to install.
|
4328
|
+
module GPUDriverVersion
|
4329
|
+
# Default value is to not install any GPU driver.
|
4330
|
+
GPU_DRIVER_VERSION_UNSPECIFIED = 0
|
4331
|
+
|
4332
|
+
# Disable GPU driver auto installation and needs manual installation
|
4333
|
+
INSTALLATION_DISABLED = 1
|
4334
|
+
|
4335
|
+
# "Default" GPU driver in COS and Ubuntu.
|
4336
|
+
DEFAULT = 2
|
4337
|
+
|
4338
|
+
# "Latest" GPU driver in COS.
|
4339
|
+
LATEST = 3
|
4340
|
+
end
|
4341
|
+
end
|
4342
|
+
|
4148
4343
|
# ManagedPrometheusConfig defines the configuration for
|
4149
4344
|
# Google Cloud Managed Service for Prometheus.
|
4150
4345
|
# @!attribute [rw] enabled
|
@@ -4416,9 +4611,33 @@ module Google
|
|
4416
4611
|
# @return [::Google::Cloud::Container::V1beta1::GatewayAPIConfig]
|
4417
4612
|
# GatewayAPIConfig contains the desired config of Gateway API on this
|
4418
4613
|
# cluster.
|
4614
|
+
# @!attribute [rw] network_performance_config
|
4615
|
+
# @return [::Google::Cloud::Container::V1beta1::NetworkConfig::ClusterNetworkPerformanceConfig]
|
4616
|
+
# Network bandwidth tier configuration.
|
4617
|
+
# @!attribute [rw] enable_fqdn_network_policy
|
4618
|
+
# @return [::Boolean]
|
4619
|
+
# Whether FQDN Network Policy is enabled on this cluster.
|
4419
4620
|
class NetworkConfig
|
4420
4621
|
include ::Google::Protobuf::MessageExts
|
4421
4622
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4623
|
+
|
4624
|
+
# Configuration of all network bandwidth tiers
|
4625
|
+
# @!attribute [rw] total_egress_bandwidth_tier
|
4626
|
+
# @return [::Google::Cloud::Container::V1beta1::NetworkConfig::ClusterNetworkPerformanceConfig::Tier]
|
4627
|
+
# Specifies the total network bandwidth tier for the NodePool.
|
4628
|
+
class ClusterNetworkPerformanceConfig
|
4629
|
+
include ::Google::Protobuf::MessageExts
|
4630
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4631
|
+
|
4632
|
+
# Node network tier
|
4633
|
+
module Tier
|
4634
|
+
# Default value
|
4635
|
+
TIER_UNSPECIFIED = 0
|
4636
|
+
|
4637
|
+
# Higher bandwidth, actual values based on VM size.
|
4638
|
+
TIER_1 = 1
|
4639
|
+
end
|
4640
|
+
end
|
4422
4641
|
end
|
4423
4642
|
|
4424
4643
|
# GatewayAPIConfig contains the desired config of Gateway API on this cluster.
|
@@ -4628,6 +4847,9 @@ module Google
|
|
4628
4847
|
|
4629
4848
|
# Use CloudDNS for DNS resolution.
|
4630
4849
|
CLOUD_DNS = 2
|
4850
|
+
|
4851
|
+
# Use KubeDNS for DNS resolution
|
4852
|
+
KUBE_DNS = 3
|
4631
4853
|
end
|
4632
4854
|
|
4633
4855
|
# DNSScope lists the various scopes of access to cluster DNS records.
|
@@ -4900,6 +5122,73 @@ module Google
|
|
4900
5122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4901
5123
|
end
|
4902
5124
|
|
5125
|
+
# CheckAutopilotCompatibilityRequest requests getting the blockers for the
|
5126
|
+
# given operation in the cluster.
|
5127
|
+
# @!attribute [rw] name
|
5128
|
+
# @return [::String]
|
5129
|
+
# The name (project, location, cluster) of the cluster to retrieve.
|
5130
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
5131
|
+
class CheckAutopilotCompatibilityRequest
|
5132
|
+
include ::Google::Protobuf::MessageExts
|
5133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5134
|
+
end
|
5135
|
+
|
5136
|
+
# AutopilotCompatibilityIssue contains information about a specific
|
5137
|
+
# compatibility issue with Autopilot mode.
|
5138
|
+
# @!attribute [rw] last_observation
|
5139
|
+
# @return [::Google::Protobuf::Timestamp]
|
5140
|
+
# The last time when this issue was observed.
|
5141
|
+
# @!attribute [rw] constraint_type
|
5142
|
+
# @return [::String]
|
5143
|
+
# The constraint type of the issue.
|
5144
|
+
# @!attribute [rw] incompatibility_type
|
5145
|
+
# @return [::Google::Cloud::Container::V1beta1::AutopilotCompatibilityIssue::IssueType]
|
5146
|
+
# The incompatibility type of this issue.
|
5147
|
+
# @!attribute [rw] subjects
|
5148
|
+
# @return [::Array<::String>]
|
5149
|
+
# The name of the resources which are subject to this issue.
|
5150
|
+
# @!attribute [rw] documentation_url
|
5151
|
+
# @return [::String]
|
5152
|
+
# A URL to a public documnetation, which addresses resolving this issue.
|
5153
|
+
# @!attribute [rw] description
|
5154
|
+
# @return [::String]
|
5155
|
+
# The description of the issue.
|
5156
|
+
class AutopilotCompatibilityIssue
|
5157
|
+
include ::Google::Protobuf::MessageExts
|
5158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5159
|
+
|
5160
|
+
# The type of the reported issue.
|
5161
|
+
module IssueType
|
5162
|
+
# Default value, should not be used.
|
5163
|
+
UNSPECIFIED = 0
|
5164
|
+
|
5165
|
+
# Indicates that the issue is a known incompatibility between the
|
5166
|
+
# cluster and Autopilot mode.
|
5167
|
+
INCOMPATIBILITY = 1
|
5168
|
+
|
5169
|
+
# Indicates the issue is an incompatibility if customers take no further
|
5170
|
+
# action to resolve.
|
5171
|
+
ADDITIONAL_CONFIG_REQUIRED = 2
|
5172
|
+
|
5173
|
+
# Indicates the issue is not an incompatibility, but depending on the
|
5174
|
+
# workloads business logic, there is a potential that they won't work on
|
5175
|
+
# Autopilot.
|
5176
|
+
PASSED_WITH_OPTIONAL_CONFIG = 3
|
5177
|
+
end
|
5178
|
+
end
|
5179
|
+
|
5180
|
+
# CheckAutopilotCompatibilityResponse has a list of compatibility issues.
|
5181
|
+
# @!attribute [rw] issues
|
5182
|
+
# @return [::Array<::Google::Cloud::Container::V1beta1::AutopilotCompatibilityIssue>]
|
5183
|
+
# The list of issues for the given operation.
|
5184
|
+
# @!attribute [rw] summary
|
5185
|
+
# @return [::String]
|
5186
|
+
# The summary of the autopilot compatibility response.
|
5187
|
+
class CheckAutopilotCompatibilityResponse
|
5188
|
+
include ::Google::Protobuf::MessageExts
|
5189
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5190
|
+
end
|
5191
|
+
|
4903
5192
|
# ReleaseChannel indicates which release channel a cluster is
|
4904
5193
|
# subscribed to. Release channels are arranged in order of risk.
|
4905
5194
|
#
|
@@ -4971,11 +5260,24 @@ module Google
|
|
4971
5260
|
# @!attribute [rw] enabled
|
4972
5261
|
# @return [::Boolean]
|
4973
5262
|
# Enable Autopilot
|
5263
|
+
# @!attribute [rw] workload_policy_config
|
5264
|
+
# @return [::Google::Cloud::Container::V1beta1::WorkloadPolicyConfig]
|
5265
|
+
# Workload policy configuration for Autopilot.
|
4974
5266
|
class Autopilot
|
4975
5267
|
include ::Google::Protobuf::MessageExts
|
4976
5268
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4977
5269
|
end
|
4978
5270
|
|
5271
|
+
# WorkloadPolicyConfig is the configuration of workload policy for autopilot
|
5272
|
+
# clusters.
|
5273
|
+
# @!attribute [rw] allow_net_admin
|
5274
|
+
# @return [::Boolean]
|
5275
|
+
# If true, workloads can use NET_ADMIN capability.
|
5276
|
+
class WorkloadPolicyConfig
|
5277
|
+
include ::Google::Protobuf::MessageExts
|
5278
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5279
|
+
end
|
5280
|
+
|
4979
5281
|
# NotificationConfig is the configuration of notifications.
|
4980
5282
|
# @!attribute [rw] pubsub
|
4981
5283
|
# @return [::Google::Cloud::Container::V1beta1::NotificationConfig::PubSub]
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|