google-cloud-container-v1 0.40.0 → 0.42.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::V1::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::V1::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
@@ -353,6 +368,9 @@ module Google
353
368
  # @!attribute [rw] sole_tenant_config
354
369
  # @return [::Google::Cloud::Container::V1::SoleTenantConfig]
355
370
  # Parameters for node pools to be backed by shared sole tenant node groups.
371
+ # @!attribute [rw] containerd_config
372
+ # @return [::Google::Cloud::Container::V1::ContainerdConfig]
373
+ # Parameters for containerd customization.
356
374
  # @!attribute [rw] resource_manager_tags
357
375
  # @return [::Google::Cloud::Container::V1::ResourceManagerTags]
358
376
  # A map of resource manager tag keys and values to be attached to the nodes.
@@ -403,6 +421,9 @@ module Google
403
421
  # The number of threads per physical core. To disable simultaneous
404
422
  # multithreading (SMT) set this to 1. If unset, the maximum number of threads
405
423
  # supported per core by the underlying processor is assumed.
424
+ # @!attribute [rw] enable_nested_virtualization
425
+ # @return [::Boolean]
426
+ # Whether or not to enable nested virtualization (defaults to false).
406
427
  class AdvancedMachineFeatures
407
428
  include ::Google::Protobuf::MessageExts
408
429
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -663,6 +684,59 @@ module Google
663
684
  end
664
685
  end
665
686
 
687
+ # ContainerdConfig contains configuration to customize containerd.
688
+ # @!attribute [rw] private_registry_access_config
689
+ # @return [::Google::Cloud::Container::V1::ContainerdConfig::PrivateRegistryAccessConfig]
690
+ # PrivateRegistryAccessConfig is used to configure access configuration
691
+ # for private container registries.
692
+ class ContainerdConfig
693
+ include ::Google::Protobuf::MessageExts
694
+ extend ::Google::Protobuf::MessageExts::ClassMethods
695
+
696
+ # PrivateRegistryAccessConfig contains access configuration for
697
+ # private container registries.
698
+ # @!attribute [rw] enabled
699
+ # @return [::Boolean]
700
+ # Private registry access is enabled.
701
+ # @!attribute [rw] certificate_authority_domain_config
702
+ # @return [::Array<::Google::Cloud::Container::V1::ContainerdConfig::PrivateRegistryAccessConfig::CertificateAuthorityDomainConfig>]
703
+ # Private registry access configuration.
704
+ class PrivateRegistryAccessConfig
705
+ include ::Google::Protobuf::MessageExts
706
+ extend ::Google::Protobuf::MessageExts::ClassMethods
707
+
708
+ # CertificateAuthorityDomainConfig configures one or more fully qualified
709
+ # domain names (FQDN) to a specific certificate.
710
+ # @!attribute [rw] fqdns
711
+ # @return [::Array<::String>]
712
+ # List of fully qualified domain names (FQDN).
713
+ # Specifying port is supported.
714
+ # Wilcards are NOT supported.
715
+ # Examples:
716
+ # - my.customdomain.com
717
+ # - 10.0.1.2:5000
718
+ # @!attribute [rw] gcp_secret_manager_certificate_config
719
+ # @return [::Google::Cloud::Container::V1::ContainerdConfig::PrivateRegistryAccessConfig::CertificateAuthorityDomainConfig::GCPSecretManagerCertificateConfig]
720
+ # Google Secret Manager (GCP) certificate configuration.
721
+ class CertificateAuthorityDomainConfig
722
+ include ::Google::Protobuf::MessageExts
723
+ extend ::Google::Protobuf::MessageExts::ClassMethods
724
+
725
+ # GCPSecretManagerCertificateConfig configures a secret from
726
+ # [Google Secret Manager](https://cloud.google.com/secret-manager).
727
+ # @!attribute [rw] secret_uri
728
+ # @return [::String]
729
+ # Secret URI, in the form
730
+ # "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION".
731
+ # Version can be fixed (e.g. "2") or "latest"
732
+ class GCPSecretManagerCertificateConfig
733
+ include ::Google::Protobuf::MessageExts
734
+ extend ::Google::Protobuf::MessageExts::ClassMethods
735
+ end
736
+ end
737
+ end
738
+ end
739
+
666
740
  # Kubernetes taint is composed of three fields: key, value, and effect. Effect
667
741
  # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
668
742
  #
@@ -1669,6 +1743,12 @@ module Google
1669
1743
  # @!attribute [rw] enterprise_config
1670
1744
  # @return [::Google::Cloud::Container::V1::EnterpriseConfig]
1671
1745
  # GKE Enterprise Configuration.
1746
+ # @!attribute [r] satisfies_pzs
1747
+ # @return [::Boolean]
1748
+ # Output only. Reserved for future use.
1749
+ # @!attribute [r] satisfies_pzi
1750
+ # @return [::Boolean]
1751
+ # Output only. Reserved for future use.
1672
1752
  class Cluster
1673
1753
  include ::Google::Protobuf::MessageExts
1674
1754
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1743,6 +1823,9 @@ module Google
1743
1823
 
1744
1824
  # Applies Security Posture features on the cluster.
1745
1825
  BASIC = 2
1826
+
1827
+ # Applies the Security Posture off cluster Enterprise level features.
1828
+ ENTERPRISE = 3
1746
1829
  end
1747
1830
 
1748
1831
  # VulnerabilityMode defines enablement mode for vulnerability scanning.
@@ -1774,6 +1857,11 @@ module Google
1774
1857
  # @return [::Google::Cloud::Container::V1::ResourceManagerTags]
1775
1858
  # Resource manager tag keys and values to be attached to the nodes
1776
1859
  # for managing Compute Engine firewalls using Network Firewall Policies.
1860
+ # @!attribute [rw] node_kubelet_config
1861
+ # @return [::Google::Cloud::Container::V1::NodeKubeletConfig]
1862
+ # NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
1863
+ #
1864
+ # Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
1777
1865
  class NodePoolAutoConfig
1778
1866
  include ::Google::Protobuf::MessageExts
1779
1867
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1795,6 +1883,14 @@ module Google
1795
1883
  # @!attribute [rw] logging_config
1796
1884
  # @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
1797
1885
  # Logging configuration for node pools.
1886
+ # @!attribute [rw] containerd_config
1887
+ # @return [::Google::Cloud::Container::V1::ContainerdConfig]
1888
+ # Parameters for containerd customization.
1889
+ # @!attribute [rw] node_kubelet_config
1890
+ # @return [::Google::Cloud::Container::V1::NodeKubeletConfig]
1891
+ # NodeKubeletConfig controls the defaults for new node-pools.
1892
+ #
1893
+ # Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
1798
1894
  class NodeConfigDefaults
1799
1895
  include ::Google::Protobuf::MessageExts
1800
1896
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1907,7 +2003,12 @@ module Google
1907
2003
  # Cluster-level Vertical Pod Autoscaling configuration.
1908
2004
  # @!attribute [rw] desired_private_cluster_config
1909
2005
  # @return [::Google::Cloud::Container::V1::PrivateClusterConfig]
1910
- # The desired private cluster configuration.
2006
+ # The desired private cluster configuration. master_global_access_config is
2007
+ # the only field that can be changed via this field.
2008
+ # See also
2009
+ # {::Google::Cloud::Container::V1::ClusterUpdate#desired_enable_private_endpoint ClusterUpdate.desired_enable_private_endpoint}
2010
+ # for modifying other fields within
2011
+ # {::Google::Cloud::Container::V1::PrivateClusterConfig PrivateClusterConfig}.
1911
2012
  # @!attribute [rw] desired_intra_node_visibility_config
1912
2013
  # @return [::Google::Cloud::Container::V1::IntraNodeVisibilityConfig]
1913
2014
  # The desired config of Intra-node visibility.
@@ -2013,6 +2114,9 @@ module Google
2013
2114
  # @!attribute [rw] desired_k8s_beta_apis
2014
2115
  # @return [::Google::Cloud::Container::V1::K8sBetaAPIConfig]
2015
2116
  # Desired Beta APIs to be enabled for cluster.
2117
+ # @!attribute [rw] desired_containerd_config
2118
+ # @return [::Google::Cloud::Container::V1::ContainerdConfig]
2119
+ # The desired containerd config for the cluster.
2016
2120
  # @!attribute [rw] desired_enable_multi_networking
2017
2121
  # @return [::Boolean]
2018
2122
  # Enable/Disable Multi-Networking for the cluster
@@ -2026,6 +2130,13 @@ module Google
2026
2130
  # @!attribute [rw] desired_enable_cilium_clusterwide_network_policy
2027
2131
  # @return [::Boolean]
2028
2132
  # Enable/Disable Cilium Clusterwide Network Policy for the cluster.
2133
+ # @!attribute [rw] desired_node_kubelet_config
2134
+ # @return [::Google::Cloud::Container::V1::NodeKubeletConfig]
2135
+ # The desired node kubelet config for the cluster.
2136
+ # @!attribute [rw] desired_node_pool_auto_config_kubelet_config
2137
+ # @return [::Google::Cloud::Container::V1::NodeKubeletConfig]
2138
+ # The desired node kubelet config for all auto-provisioned node pools
2139
+ # in autopilot clusters and node auto-provisioning enabled clusters.
2029
2140
  class ClusterUpdate
2030
2141
  include ::Google::Protobuf::MessageExts
2031
2142
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2522,6 +2633,11 @@ module Google
2522
2633
  # @!attribute [rw] windows_node_config
2523
2634
  # @return [::Google::Cloud::Container::V1::WindowsNodeConfig]
2524
2635
  # Parameters that can be configured on Windows nodes.
2636
+ # @!attribute [rw] accelerators
2637
+ # @return [::Array<::Google::Cloud::Container::V1::AcceleratorConfig>]
2638
+ # A list of hardware accelerators to be attached to each node.
2639
+ # See https://cloud.google.com/compute/docs/gpus for more information about
2640
+ # support for GPUs.
2525
2641
  # @!attribute [rw] machine_type
2526
2642
  # @return [::String]
2527
2643
  # Optional. The desired [Google Compute Engine machine
@@ -2545,6 +2661,11 @@ module Google
2545
2661
  # Desired resource manager tag keys and values to be attached to the nodes
2546
2662
  # for managing Compute Engine firewalls using Network Firewall Policies.
2547
2663
  # Existing tags will be replaced with new values.
2664
+ # @!attribute [rw] containerd_config
2665
+ # @return [::Google::Cloud::Container::V1::ContainerdConfig]
2666
+ # The desired containerd config for nodes in the node pool.
2667
+ # Initiates an upgrade operation that recreates the nodes with the new
2668
+ # config.
2548
2669
  # @!attribute [rw] queued_provisioning
2549
2670
  # @return [::Google::Cloud::Container::V1::NodePool::QueuedProvisioning]
2550
2671
  # Specifies the configuration of queued provisioning.
@@ -4203,6 +4324,9 @@ module Google
4203
4324
 
4204
4325
  # GPUs are time-shared between containers.
4205
4326
  TIME_SHARING = 1
4327
+
4328
+ # GPUs are shared between containers with NVIDIA MPS.
4329
+ MPS = 2
4206
4330
  end
4207
4331
  end
4208
4332
 
@@ -4420,6 +4544,7 @@ module Google
4420
4544
  # @!attribute [rw] in_transit_encryption_config
4421
4545
  # @return [::Google::Cloud::Container::V1::InTransitEncryptionConfig]
4422
4546
  # Specify the details of in-transit encryption.
4547
+ # Now named inter-node transparent encryption.
4423
4548
  # @!attribute [rw] enable_cilium_clusterwide_network_policy
4424
4549
  # @return [::Boolean]
4425
4550
  # Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
@@ -4718,6 +4843,9 @@ module Google
4718
4843
  # @!attribute [rw] cluster_dns_domain
4719
4844
  # @return [::String]
4720
4845
  # cluster_dns_domain is the suffix used for all cluster service records.
4846
+ # @!attribute [rw] additive_vpc_scope_dns_domain
4847
+ # @return [::String]
4848
+ # Optional. The domain used in Additive VPC scope.
4721
4849
  class DNSConfig
4722
4850
  include ::Google::Protobuf::MessageExts
4723
4851
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -5409,6 +5537,12 @@ module Google
5409
5537
 
5410
5538
  # Statefulset
5411
5539
  STATEFULSET = 12
5540
+
5541
+ # CADVISOR
5542
+ CADVISOR = 13
5543
+
5544
+ # KUBELET
5545
+ KUBELET = 14
5412
5546
  end
5413
5547
  end
5414
5548
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-container-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.42.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-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -63,6 +63,10 @@ files:
63
63
  - lib/google/cloud/container/v1/cluster_manager/client.rb
64
64
  - lib/google/cloud/container/v1/cluster_manager/credentials.rb
65
65
  - lib/google/cloud/container/v1/cluster_manager/paths.rb
66
+ - lib/google/cloud/container/v1/cluster_manager/rest.rb
67
+ - lib/google/cloud/container/v1/cluster_manager/rest/client.rb
68
+ - lib/google/cloud/container/v1/cluster_manager/rest/service_stub.rb
69
+ - lib/google/cloud/container/v1/rest.rb
66
70
  - lib/google/cloud/container/v1/version.rb
67
71
  - lib/google/container/v1/cluster_service_pb.rb
68
72
  - lib/google/container/v1/cluster_service_services_pb.rb