google-cloud-container-v1beta1 0.38.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
@@ -372,6 +390,9 @@ module Google
372
390
  # @!attribute [rw] secondary_boot_disks
373
391
  # @return [::Array<::Google::Cloud::Container::V1beta1::SecondaryBootDisk>]
374
392
  # List of secondary boot disks attached to the nodes.
393
+ # @!attribute [rw] secondary_boot_disk_update_strategy
394
+ # @return [::Google::Cloud::Container::V1beta1::SecondaryBootDiskUpdateStrategy]
395
+ # Secondary boot disk update strategy.
375
396
  class NodeConfig
376
397
  include ::Google::Protobuf::MessageExts
377
398
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -410,6 +431,9 @@ module Google
410
431
  # The number of threads per physical core. To disable simultaneous
411
432
  # multithreading (SMT) set this to 1. If unset, the maximum number of threads
412
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).
413
437
  class AdvancedMachineFeatures
414
438
  include ::Google::Protobuf::MessageExts
415
439
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -755,6 +779,59 @@ module Google
755
779
  end
756
780
  end
757
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
+
758
835
  # HostMaintenancePolicy contains the maintenance policy for the hosts on which
759
836
  # the GKE VMs run on.
760
837
  # @!attribute [rw] maintenance_interval
@@ -1535,8 +1612,8 @@ module Google
1535
1612
  # Binauthz policy that applies to this cluster.
1536
1613
  # @!attribute [rw] name
1537
1614
  # @return [::String]
1538
- # The relative resource name of the binauthz platform policy to audit. GKE
1539
- # 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:
1540
1617
  # `projects/{project_number}/platforms/gke/policies/{policy_id}`.
1541
1618
  class PolicyBinding
1542
1619
  include ::Google::Protobuf::MessageExts
@@ -2001,6 +2078,15 @@ module Google
2001
2078
  # @!attribute [rw] secret_manager_config
2002
2079
  # @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig]
2003
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.
2004
2090
  class Cluster
2005
2091
  include ::Google::Protobuf::MessageExts
2006
2092
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2044,6 +2130,40 @@ module Google
2044
2130
  end
2045
2131
  end
2046
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
+
2047
2167
  # Kubernetes open source beta apis enabled on the cluster.
2048
2168
  # @!attribute [rw] enabled_apis
2049
2169
  # @return [::Array<::String>]
@@ -2132,6 +2252,9 @@ module Google
2132
2252
 
2133
2253
  # Applies Security Posture features on the cluster.
2134
2254
  BASIC = 2
2255
+
2256
+ # Applies the Security Posture off cluster Enterprise level features.
2257
+ ENTERPRISE = 3
2135
2258
  end
2136
2259
 
2137
2260
  # VulnerabilityMode defines enablement mode for vulnerability scanning.
@@ -2167,10 +2290,18 @@ module Google
2167
2290
  # @!attribute [rw] logging_config
2168
2291
  # @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
2169
2292
  # Logging configuration for node pools.
2293
+ # @!attribute [rw] containerd_config
2294
+ # @return [::Google::Cloud::Container::V1beta1::ContainerdConfig]
2295
+ # Parameters for containerd customization.
2170
2296
  # @!attribute [rw] host_maintenance_policy
2171
2297
  # @return [::Google::Cloud::Container::V1beta1::HostMaintenancePolicy]
2172
2298
  # HostMaintenancePolicy contains the desired maintenance policy for the
2173
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.
2174
2305
  class NodeConfigDefaults
2175
2306
  include ::Google::Protobuf::MessageExts
2176
2307
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2188,6 +2319,11 @@ module Google
2188
2319
  # @return [::Google::Cloud::Container::V1beta1::ResourceManagerTags]
2189
2320
  # Resource manager tag keys and values to be attached to the nodes
2190
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.
2191
2327
  class NodePoolAutoConfig
2192
2328
  include ::Google::Protobuf::MessageExts
2193
2329
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2284,7 +2420,12 @@ module Google
2284
2420
  # Cluster-level Vertical Pod Autoscaling configuration.
2285
2421
  # @!attribute [rw] desired_private_cluster_config
2286
2422
  # @return [::Google::Cloud::Container::V1beta1::PrivateClusterConfig]
2287
- # 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}.
2288
2429
  # @!attribute [rw] desired_intra_node_visibility_config
2289
2430
  # @return [::Google::Cloud::Container::V1beta1::IntraNodeVisibilityConfig]
2290
2431
  # The desired config of Intra-node visibility.
@@ -2297,6 +2438,12 @@ module Google
2297
2438
  # @!attribute [rw] desired_release_channel
2298
2439
  # @return [::Google::Cloud::Container::V1beta1::ReleaseChannel]
2299
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.
2300
2447
  # @!attribute [rw] desired_tpu_config
2301
2448
  # @return [::Google::Cloud::Container::V1beta1::TpuConfig]
2302
2449
  # The desired Cloud TPU configuration.
@@ -2436,6 +2583,12 @@ module Google
2436
2583
  # @return [::Google::Cloud::Container::V1beta1::HostMaintenancePolicy]
2437
2584
  # HostMaintenancePolicy contains the desired maintenance policy for the
2438
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.
2589
+ # @!attribute [rw] desired_enable_multi_networking
2590
+ # @return [::Boolean]
2591
+ # Enable/Disable Multi-Networking for the cluster
2439
2592
  # @!attribute [rw] desired_node_pool_auto_config_resource_manager_tags
2440
2593
  # @return [::Google::Cloud::Container::V1beta1::ResourceManagerTags]
2441
2594
  # The desired resource manager tags that apply to all auto-provisioned node
@@ -2443,12 +2596,20 @@ module Google
2443
2596
  # @!attribute [rw] desired_in_transit_encryption_config
2444
2597
  # @return [::Google::Cloud::Container::V1beta1::InTransitEncryptionConfig]
2445
2598
  # Specify the details of in-transit encryption.
2599
+ # Now named inter-node transparent encryption.
2446
2600
  # @!attribute [rw] desired_enable_cilium_clusterwide_network_policy
2447
2601
  # @return [::Boolean]
2448
2602
  # Enable/Disable Cilium Clusterwide Network Policy for the cluster.
2449
2603
  # @!attribute [rw] desired_secret_manager_config
2450
2604
  # @return [::Google::Cloud::Container::V1beta1::SecretManagerConfig]
2451
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.
2452
2613
  class ClusterUpdate
2453
2614
  include ::Google::Protobuf::MessageExts
2454
2615
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2946,6 +3107,11 @@ module Google
2946
3107
  # @!attribute [rw] windows_node_config
2947
3108
  # @return [::Google::Cloud::Container::V1beta1::WindowsNodeConfig]
2948
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.
2949
3115
  # @!attribute [rw] machine_type
2950
3116
  # @return [::String]
2951
3117
  # Optional. The desired machine type for nodes in the node pool.
@@ -2966,6 +3132,11 @@ module Google
2966
3132
  # Desired resource manager tag keys and values to be attached to the nodes
2967
3133
  # for managing Compute Engine firewalls using Network Firewall Policies.
2968
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.
2969
3140
  # @!attribute [rw] queued_provisioning
2970
3141
  # @return [::Google::Cloud::Container::V1beta1::NodePool::QueuedProvisioning]
2971
3142
  # Specifies the configuration of queued provisioning.
@@ -4704,6 +4875,9 @@ module Google
4704
4875
 
4705
4876
  # GPUs are time-shared between containers.
4706
4877
  TIME_SHARING = 1
4878
+
4879
+ # GPUs are shared between containers with NVIDIA MPS.
4880
+ MPS = 2
4707
4881
  end
4708
4882
  end
4709
4883
 
@@ -5240,6 +5414,9 @@ module Google
5240
5414
  # @!attribute [rw] cluster_dns_domain
5241
5415
  # @return [::String]
5242
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.
5243
5420
  class DNSConfig
5244
5421
  include ::Google::Protobuf::MessageExts
5245
5422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5354,10 +5531,39 @@ module Google
5354
5531
  # @!attribute [rw] state
5355
5532
  # @return [::Google::Cloud::Container::V1beta1::DatabaseEncryption::State]
5356
5533
  # The desired state of etcd encryption.
5534
+ # @!attribute [r] current_state
5535
+ # @return [::Google::Cloud::Container::V1beta1::DatabaseEncryption::CurrentState]
5536
+ # Output only. The current state of etcd encryption.
5537
+ # @!attribute [r] decryption_keys
5538
+ # @return [::Array<::String>]
5539
+ # Output only. Keys in use by the cluster for decrypting
5540
+ # existing objects, in addition to the key in `key_name`.
5541
+ #
5542
+ # Each item is a CloudKMS key resource.
5543
+ # @!attribute [r] last_operation_errors
5544
+ # @return [::Array<::Google::Cloud::Container::V1beta1::DatabaseEncryption::OperationError>]
5545
+ # Output only. Records errors seen during DatabaseEncryption update
5546
+ # operations.
5357
5547
  class DatabaseEncryption
5358
5548
  include ::Google::Protobuf::MessageExts
5359
5549
  extend ::Google::Protobuf::MessageExts::ClassMethods
5360
5550
 
5551
+ # OperationError records errors seen from CloudKMS keys
5552
+ # encountered during updates to DatabaseEncryption configuration.
5553
+ # @!attribute [rw] key_name
5554
+ # @return [::String]
5555
+ # CloudKMS key resource that had the error.
5556
+ # @!attribute [rw] error_message
5557
+ # @return [::String]
5558
+ # Description of the error seen during the operation.
5559
+ # @!attribute [rw] timestamp
5560
+ # @return [::Google::Protobuf::Timestamp]
5561
+ # Time when the CloudKMS error was seen.
5562
+ class OperationError
5563
+ include ::Google::Protobuf::MessageExts
5564
+ extend ::Google::Protobuf::MessageExts::ClassMethods
5565
+ end
5566
+
5361
5567
  # State of etcd encryption.
5362
5568
  module State
5363
5569
  # Should never be set
@@ -5370,6 +5576,33 @@ module Google
5370
5576
  # unrelated to Compute Engine level full disk encryption.
5371
5577
  DECRYPTED = 2
5372
5578
  end
5579
+
5580
+ # Current State of etcd encryption.
5581
+ module CurrentState
5582
+ # Should never be set
5583
+ CURRENT_STATE_UNSPECIFIED = 0
5584
+
5585
+ # Secrets in etcd are encrypted.
5586
+ CURRENT_STATE_ENCRYPTED = 7
5587
+
5588
+ # Secrets in etcd are stored in plain text (at etcd level) - this is
5589
+ # unrelated to Compute Engine level full disk encryption.
5590
+ CURRENT_STATE_DECRYPTED = 2
5591
+
5592
+ # Encryption (or re-encryption with a different CloudKMS key)
5593
+ # of Secrets is in progress.
5594
+ CURRENT_STATE_ENCRYPTION_PENDING = 3
5595
+
5596
+ # Encryption (or re-encryption with a different CloudKMS key) of Secrets in
5597
+ # etcd encountered an error.
5598
+ CURRENT_STATE_ENCRYPTION_ERROR = 4
5599
+
5600
+ # De-crypting Secrets to plain text in etcd is in progress.
5601
+ CURRENT_STATE_DECRYPTION_PENDING = 5
5602
+
5603
+ # De-crypting Secrets to plain text in etcd encountered an error.
5604
+ CURRENT_STATE_DECRYPTION_ERROR = 6
5605
+ end
5373
5606
  end
5374
5607
 
5375
5608
  # Configuration for exporting cluster resource usages.
@@ -6040,6 +6273,12 @@ module Google
6040
6273
 
6041
6274
  # Statefulset
6042
6275
  STATEFULSET = 12
6276
+
6277
+ # CADVISOR
6278
+ CADVISOR = 13
6279
+
6280
+ # KUBELET
6281
+ KUBELET = 14
6043
6282
  end
6044
6283
  end
6045
6284
 
@@ -6144,6 +6383,13 @@ module Google
6144
6383
  end
6145
6384
  end
6146
6385
 
6386
+ # SecondaryBootDiskUpdateStrategy is a placeholder which will be extended
6387
+ # in the future to define different options for updating secondary boot disks.
6388
+ class SecondaryBootDiskUpdateStrategy
6389
+ include ::Google::Protobuf::MessageExts
6390
+ extend ::Google::Protobuf::MessageExts::ClassMethods
6391
+ end
6392
+
6147
6393
  # PrivateIPv6GoogleAccess controls whether and how the pods can communicate
6148
6394
  # with Google Services through gRPC over IPv6.
6149
6395
  module PrivateIPv6GoogleAccess
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.38.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-03-10 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