google-cloud-container-v1beta1 0.39.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,10 +43,25 @@ module Google
43
43
  # @!attribute [rw] cgroup_mode
44
44
  # @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig::CgroupMode]
45
45
  # cgroup_mode specifies the cgroup mode to be used on the node.
46
+ # @!attribute [rw] hugepages
47
+ # @return [::Google::Cloud::Container::V1beta1::LinuxNodeConfig::HugepagesConfig]
48
+ # Optional. Amounts for 2M and 1G hugepages
46
49
  class LinuxNodeConfig
47
50
  include ::Google::Protobuf::MessageExts
48
51
  extend ::Google::Protobuf::MessageExts::ClassMethods
49
52
 
53
+ # Hugepages amount in both 2m and 1g size
54
+ # @!attribute [rw] hugepage_size2m
55
+ # @return [::Integer]
56
+ # Optional. Amount of 2M hugepages
57
+ # @!attribute [rw] hugepage_size1g
58
+ # @return [::Integer]
59
+ # Optional. Amount of 1G hugepages
60
+ class HugepagesConfig
61
+ include ::Google::Protobuf::MessageExts
62
+ extend ::Google::Protobuf::MessageExts::ClassMethods
63
+ end
64
+
50
65
  # @!attribute [rw] key
51
66
  # @return [::String]
52
67
  # @!attribute [rw] value
@@ -359,6 +374,9 @@ module Google
359
374
  # @!attribute [rw] sole_tenant_config
360
375
  # @return [::Google::Cloud::Container::V1beta1::SoleTenantConfig]
361
376
  # Parameters for node pools to be backed by shared sole tenant node groups.
377
+ # @!attribute [rw] containerd_config
378
+ # @return [::Google::Cloud::Container::V1beta1::ContainerdConfig]
379
+ # Parameters for containerd customization.
362
380
  # @!attribute [rw] host_maintenance_policy
363
381
  # @return [::Google::Cloud::Container::V1beta1::HostMaintenancePolicy]
364
382
  # HostMaintenancePolicy contains the desired maintenance policy for the
@@ -413,6 +431,9 @@ module Google
413
431
  # The number of threads per physical core. To disable simultaneous
414
432
  # multithreading (SMT) set this to 1. If unset, the maximum number of threads
415
433
  # supported per core by the underlying processor is assumed.
434
+ # @!attribute [rw] enable_nested_virtualization
435
+ # @return [::Boolean]
436
+ # Whether or not to enable nested virtualization (defaults to false).
416
437
  class AdvancedMachineFeatures
417
438
  include ::Google::Protobuf::MessageExts
418
439
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -758,6 +779,59 @@ module Google
758
779
  end
759
780
  end
760
781
 
782
+ # ContainerdConfig contains configuration to customize containerd.
783
+ # @!attribute [rw] private_registry_access_config
784
+ # @return [::Google::Cloud::Container::V1beta1::ContainerdConfig::PrivateRegistryAccessConfig]
785
+ # PrivateRegistryAccessConfig is used to configure access configuration
786
+ # for private container registries.
787
+ class ContainerdConfig
788
+ include ::Google::Protobuf::MessageExts
789
+ extend ::Google::Protobuf::MessageExts::ClassMethods
790
+
791
+ # PrivateRegistryAccessConfig contains access configuration for
792
+ # private container registries.
793
+ # @!attribute [rw] enabled
794
+ # @return [::Boolean]
795
+ # Private registry access is enabled.
796
+ # @!attribute [rw] certificate_authority_domain_config
797
+ # @return [::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::PrivateRegistryAccessConfig::CertificateAuthorityDomainConfig>]
798
+ # Private registry access configuration.
799
+ class PrivateRegistryAccessConfig
800
+ include ::Google::Protobuf::MessageExts
801
+ extend ::Google::Protobuf::MessageExts::ClassMethods
802
+
803
+ # CertificateAuthorityDomainConfig configures one or more fully qualified
804
+ # domain names (FQDN) to a specific certificate.
805
+ # @!attribute [rw] fqdns
806
+ # @return [::Array<::String>]
807
+ # List of fully qualified domain names (FQDN).
808
+ # Specifying port is supported.
809
+ # Wilcards are NOT supported.
810
+ # Examples:
811
+ # - my.customdomain.com
812
+ # - 10.0.1.2:5000
813
+ # @!attribute [rw] gcp_secret_manager_certificate_config
814
+ # @return [::Google::Cloud::Container::V1beta1::ContainerdConfig::PrivateRegistryAccessConfig::CertificateAuthorityDomainConfig::GCPSecretManagerCertificateConfig]
815
+ # Google Secret Manager (GCP) certificate configuration.
816
+ class CertificateAuthorityDomainConfig
817
+ include ::Google::Protobuf::MessageExts
818
+ extend ::Google::Protobuf::MessageExts::ClassMethods
819
+
820
+ # GCPSecretManagerCertificateConfig configures a secret from
821
+ # [Google Secret Manager](https://cloud.google.com/secret-manager).
822
+ # @!attribute [rw] secret_uri
823
+ # @return [::String]
824
+ # Secret URI, in the form
825
+ # "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION".
826
+ # Version can be fixed (e.g. "2") or "latest"
827
+ class GCPSecretManagerCertificateConfig
828
+ include ::Google::Protobuf::MessageExts
829
+ extend ::Google::Protobuf::MessageExts::ClassMethods
830
+ end
831
+ end
832
+ end
833
+ end
834
+
761
835
  # HostMaintenancePolicy contains the maintenance policy for the hosts on which
762
836
  # the GKE VMs run on.
763
837
  # @!attribute [rw] maintenance_interval
@@ -1538,8 +1612,8 @@ module Google
1538
1612
  # Binauthz policy that applies to this cluster.
1539
1613
  # @!attribute [rw] name
1540
1614
  # @return [::String]
1541
- # The relative resource name of the binauthz platform policy to audit. GKE
1542
- # platform policies have the following format:
1615
+ # The relative resource name of the binauthz platform policy to evaluate.
1616
+ # GKE platform policies have the following format:
1543
1617
  # `projects/{project_number}/platforms/gke/policies/{policy_id}`.
1544
1618
  class PolicyBinding
1545
1619
  include ::Google::Protobuf::MessageExts
@@ -2004,6 +2078,15 @@ module Google
2004
2078
  # @!attribute [rw] secret_manager_config
2005
2079
  # @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig]
2006
2080
  # Secret CSI driver configuration.
2081
+ # @!attribute [rw] compliance_posture_config
2082
+ # @return [::Google::Cloud::Container::V1beta1::CompliancePostureConfig]
2083
+ # Enable/Disable Compliance Posture features for the cluster.
2084
+ # @!attribute [r] satisfies_pzs
2085
+ # @return [::Boolean]
2086
+ # Output only. Reserved for future use.
2087
+ # @!attribute [r] satisfies_pzi
2088
+ # @return [::Boolean]
2089
+ # Output only. Reserved for future use.
2007
2090
  class Cluster
2008
2091
  include ::Google::Protobuf::MessageExts
2009
2092
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2047,6 +2130,40 @@ module Google
2047
2130
  end
2048
2131
  end
2049
2132
 
2133
+ # CompliancePostureConfig defines the settings needed to enable/disable
2134
+ # features for the Compliance Posture.
2135
+ # @!attribute [rw] mode
2136
+ # @return [::Google::Cloud::Container::V1beta1::CompliancePostureConfig::Mode]
2137
+ # Defines the enablement mode for Compliance Posture.
2138
+ # @!attribute [rw] compliance_standards
2139
+ # @return [::Array<::Google::Cloud::Container::V1beta1::CompliancePostureConfig::ComplianceStandard>]
2140
+ # List of enabled compliance standards.
2141
+ class CompliancePostureConfig
2142
+ include ::Google::Protobuf::MessageExts
2143
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2144
+
2145
+ # Defines the details of a compliance standard.
2146
+ # @!attribute [rw] standard
2147
+ # @return [::String]
2148
+ # Name of the compliance standard.
2149
+ class ComplianceStandard
2150
+ include ::Google::Protobuf::MessageExts
2151
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2152
+ end
2153
+
2154
+ # Mode defines enablement mode for Compliance Posture.
2155
+ module Mode
2156
+ # Default value not specified.
2157
+ MODE_UNSPECIFIED = 0
2158
+
2159
+ # Disables Compliance Posture features on the cluster.
2160
+ DISABLED = 1
2161
+
2162
+ # Enables Compliance Posture features on the cluster.
2163
+ ENABLED = 2
2164
+ end
2165
+ end
2166
+
2050
2167
  # Kubernetes open source beta apis enabled on the cluster.
2051
2168
  # @!attribute [rw] enabled_apis
2052
2169
  # @return [::Array<::String>]
@@ -2135,6 +2252,9 @@ module Google
2135
2252
 
2136
2253
  # Applies Security Posture features on the cluster.
2137
2254
  BASIC = 2
2255
+
2256
+ # Applies the Security Posture off cluster Enterprise level features.
2257
+ ENTERPRISE = 3
2138
2258
  end
2139
2259
 
2140
2260
  # VulnerabilityMode defines enablement mode for vulnerability scanning.
@@ -2170,10 +2290,18 @@ module Google
2170
2290
  # @!attribute [rw] logging_config
2171
2291
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
2172
2292
  # Logging configuration for node pools.
2293
+ # @!attribute [rw] containerd_config
2294
+ # @return [::Google::Cloud::Container::V1beta1::ContainerdConfig]
2295
+ # Parameters for containerd customization.
2173
2296
  # @!attribute [rw] host_maintenance_policy
2174
2297
  # @return [::Google::Cloud::Container::V1beta1::HostMaintenancePolicy]
2175
2298
  # HostMaintenancePolicy contains the desired maintenance policy for the
2176
2299
  # Google Compute Engine hosts.
2300
+ # @!attribute [rw] node_kubelet_config
2301
+ # @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
2302
+ # NodeKubeletConfig controls the defaults for new node-pools.
2303
+ #
2304
+ # Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
2177
2305
  class NodeConfigDefaults
2178
2306
  include ::Google::Protobuf::MessageExts
2179
2307
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2191,6 +2319,11 @@ module Google
2191
2319
  # @return [::Google::Cloud::Container::V1beta1::ResourceManagerTags]
2192
2320
  # Resource manager tag keys and values to be attached to the nodes
2193
2321
  # for managing Compute Engine firewalls using Network Firewall Policies.
2322
+ # @!attribute [rw] node_kubelet_config
2323
+ # @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
2324
+ # NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
2325
+ #
2326
+ # Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
2194
2327
  class NodePoolAutoConfig
2195
2328
  include ::Google::Protobuf::MessageExts
2196
2329
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2287,7 +2420,12 @@ module Google
2287
2420
  # Cluster-level Vertical Pod Autoscaling configuration.
2288
2421
  # @!attribute [rw] desired_private_cluster_config
2289
2422
  # @return [::Google::Cloud::Container::V1beta1::PrivateClusterConfig]
2290
- # The desired private cluster configuration.
2423
+ # The desired private cluster configuration. master_global_access_config is
2424
+ # the only field that can be changed via this field.
2425
+ # See also
2426
+ # {::Google::Cloud::Container::V1beta1::ClusterUpdate#desired_enable_private_endpoint ClusterUpdate.desired_enable_private_endpoint}
2427
+ # for modifying other fields within
2428
+ # {::Google::Cloud::Container::V1beta1::PrivateClusterConfig PrivateClusterConfig}.
2291
2429
  # @!attribute [rw] desired_intra_node_visibility_config
2292
2430
  # @return [::Google::Cloud::Container::V1beta1::IntraNodeVisibilityConfig]
2293
2431
  # The desired config of Intra-node visibility.
@@ -2300,6 +2438,12 @@ module Google
2300
2438
  # @!attribute [rw] desired_release_channel
2301
2439
  # @return [::Google::Cloud::Container::V1beta1::ReleaseChannel]
2302
2440
  # The desired release channel configuration.
2441
+ # @!attribute [rw] private_cluster_config
2442
+ # @deprecated This field is deprecated and may be removed in the next major version update.
2443
+ # @return [::Google::Cloud::Container::V1beta1::PrivateClusterConfig]
2444
+ # The desired private cluster configuration. Has no effect. Use
2445
+ # {::Google::Cloud::Container::V1beta1::ClusterUpdate#desired_private_cluster_config desired_private_cluster_config}
2446
+ # instead.
2303
2447
  # @!attribute [rw] desired_tpu_config
2304
2448
  # @return [::Google::Cloud::Container::V1beta1::TpuConfig]
2305
2449
  # The desired Cloud TPU configuration.
@@ -2439,6 +2583,9 @@ module Google
2439
2583
  # @return [::Google::Cloud::Container::V1beta1::HostMaintenancePolicy]
2440
2584
  # HostMaintenancePolicy contains the desired maintenance policy for the
2441
2585
  # Google Compute Engine hosts.
2586
+ # @!attribute [rw] desired_containerd_config
2587
+ # @return [::Google::Cloud::Container::V1beta1::ContainerdConfig]
2588
+ # The desired containerd config for the cluster.
2442
2589
  # @!attribute [rw] desired_enable_multi_networking
2443
2590
  # @return [::Boolean]
2444
2591
  # Enable/Disable Multi-Networking for the cluster
@@ -2449,12 +2596,20 @@ module Google
2449
2596
  # @!attribute [rw] desired_in_transit_encryption_config
2450
2597
  # @return [::Google::Cloud::Container::V1beta1::InTransitEncryptionConfig]
2451
2598
  # Specify the details of in-transit encryption.
2599
+ # Now named inter-node transparent encryption.
2452
2600
  # @!attribute [rw] desired_enable_cilium_clusterwide_network_policy
2453
2601
  # @return [::Boolean]
2454
2602
  # Enable/Disable Cilium Clusterwide Network Policy for the cluster.
2455
2603
  # @!attribute [rw] desired_secret_manager_config
2456
2604
  # @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig]
2457
2605
  # Enable/Disable Secret Manager Config.
2606
+ # @!attribute [rw] desired_node_kubelet_config
2607
+ # @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
2608
+ # The desired node kubelet config for the cluster.
2609
+ # @!attribute [rw] desired_node_pool_auto_config_kubelet_config
2610
+ # @return [::Google::Cloud::Container::V1beta1::NodeKubeletConfig]
2611
+ # The desired node kubelet config for all auto-provisioned node pools
2612
+ # in autopilot clusters and node auto-provisioning enabled clusters.
2458
2613
  class ClusterUpdate
2459
2614
  include ::Google::Protobuf::MessageExts
2460
2615
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2952,6 +3107,11 @@ module Google
2952
3107
  # @!attribute [rw] windows_node_config
2953
3108
  # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig]
2954
3109
  # Parameters that can be configured on Windows nodes.
3110
+ # @!attribute [rw] accelerators
3111
+ # @return [::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>]
3112
+ # A list of hardware accelerators to be attached to each node.
3113
+ # See https://cloud.google.com/compute/docs/gpus for more information about
3114
+ # support for GPUs.
2955
3115
  # @!attribute [rw] machine_type
2956
3116
  # @return [::String]
2957
3117
  # Optional. The desired machine type for nodes in the node pool.
@@ -2972,6 +3132,11 @@ module Google
2972
3132
  # Desired resource manager tag keys and values to be attached to the nodes
2973
3133
  # for managing Compute Engine firewalls using Network Firewall Policies.
2974
3134
  # Existing tags will be replaced with new values.
3135
+ # @!attribute [rw] containerd_config
3136
+ # @return [::Google::Cloud::Container::V1beta1::ContainerdConfig]
3137
+ # The desired containerd config for nodes in the node pool.
3138
+ # Initiates an upgrade operation that recreates the nodes with the new
3139
+ # config.
2975
3140
  # @!attribute [rw] queued_provisioning
2976
3141
  # @return [::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning]
2977
3142
  # Specifies the configuration of queued provisioning.
@@ -4710,6 +4875,9 @@ module Google
4710
4875
 
4711
4876
  # GPUs are time-shared between containers.
4712
4877
  TIME_SHARING = 1
4878
+
4879
+ # GPUs are shared between containers with NVIDIA MPS.
4880
+ MPS = 2
4713
4881
  end
4714
4882
  end
4715
4883
 
@@ -5246,6 +5414,9 @@ module Google
5246
5414
  # @!attribute [rw] cluster_dns_domain
5247
5415
  # @return [::String]
5248
5416
  # cluster_dns_domain is the suffix used for all cluster service records.
5417
+ # @!attribute [rw] additive_vpc_scope_dns_domain
5418
+ # @return [::String]
5419
+ # Optional. The domain used in Additive VPC scope.
5249
5420
  class DNSConfig
5250
5421
  include ::Google::Protobuf::MessageExts
5251
5422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -6102,6 +6273,12 @@ module Google
6102
6273
 
6103
6274
  # Statefulset
6104
6275
  STATEFULSET = 12
6276
+
6277
+ # CADVISOR
6278
+ CADVISOR = 13
6279
+
6280
+ # KUBELET
6281
+ KUBELET = 14
6105
6282
  end
6106
6283
  end
6107
6284
 
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.39.0
4
+ version: 0.40.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: 2024-04-15 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common