@@ -425,7 +425,7 @@ class AutopilotCompatibilityIssue
425425 # @return [String]
426426 attr_accessor :description
427427
428- # A URL to a public documnetation , which addresses resolving this issue.
428+ # A URL to a public documentation , which addresses resolving this issue.
429429 # Corresponds to the JSON property `documentationUrl`
430430 # @return [String]
431431 attr_accessor :documentation_url
@@ -460,6 +460,26 @@ def update!(**args)
460460 end
461461 end
462462
463+ # AutopilotConfig contains configuration of autopilot feature for this nodepool.
464+ class AutopilotConfig
465+ include Google ::Apis ::Core ::Hashable
466+
467+ # Denotes that nodes belonging to this node pool are Autopilot nodes.
468+ # Corresponds to the JSON property `enabled`
469+ # @return [Boolean]
470+ attr_accessor :enabled
471+ alias_method :enabled? , :enabled
472+
473+ def initialize ( **args )
474+ update! ( **args )
475+ end
476+
477+ # Update properties of this object
478+ def update! ( **args )
479+ @enabled = args [ :enabled ] if args . key? ( :enabled )
480+ end
481+ end
482+
463483 # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
464484 # NAP.
465485 class AutoprovisioningNodePoolDefaults
@@ -786,7 +806,7 @@ class CertificateAuthorityDomainConfig
786806 include Google ::Apis ::Core ::Hashable
787807
788808 # List of fully qualified domain names (FQDN). Specifying port is supported.
789- # Wilcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
809+ # Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
790810 # Corresponds to the JSON property `fqdns`
791811 # @return [Array<String>]
792812 attr_accessor :fqdns
@@ -2867,7 +2887,7 @@ def update!(**args)
28672887 end
28682888 end
28692889
2870- # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
2890+ # GetJSONWebKeysResponse is a valid JSON Web Key Set as specified in rfc 7517
28712891 class GetJsonWebKeysResponse
28722892 include Google ::Apis ::Core ::Hashable
28732893
@@ -3533,9 +3553,14 @@ class LinuxNodeConfig
35333553
35343554 # The Linux kernel parameters to be applied to the nodes and all pods running on
35353555 # the nodes. The following parameters are supported. net.core.busy_poll net.core.
3536- # busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default
3537- # net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.
3538- # ipv4.tcp_wmem net.ipv4.tcp_tw_reuse kernel.shmmni kernel.shmmax kernel.shmall
3556+ # busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
3557+ # net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn
3558+ # net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.netfilter.
3559+ # nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.
3560+ # nf_conntrack_tcp_timeout_close_wait net.netfilter.
3561+ # nf_conntrack_tcp_timeout_time_wait net.netfilter.
3562+ # nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.
3563+ # shmmni kernel.shmmax kernel.shmall vm.max_map_count
35393564 # Corresponds to the JSON property `sysctls`
35403565 # @return [Hash<String,String>]
35413566 attr_accessor :sysctls
@@ -3924,7 +3949,7 @@ class MasterAuthorizedNetworksConfig
39243949 attr_accessor :enabled
39253950 alias_method :enabled? , :enabled
39263951
3927- # Whether master is accessbile via Google Compute Engine Public IP addresses.
3952+ # Whether master is accessible via Google Compute Engine Public IP addresses.
39283953 # Corresponds to the JSON property `gcpPublicCidrsAccessEnabled`
39293954 # @return [Boolean]
39303955 attr_accessor :gcp_public_cidrs_access_enabled
@@ -4160,7 +4185,7 @@ class NetworkConfig
41604185 # @return [String]
41614186 attr_accessor :in_transit_encryption_config
41624187
4163- # Output only. The relative name of the Google Compute Engine network(https://
4188+ # Output only. The relative name of the Google Compute Engine [ network] (https://
41644189 # cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
41654190 # cluster is connected. Example: projects/my-project/global/networks/my-network
41664191 # Corresponds to the JSON property `network`
@@ -4464,7 +4489,7 @@ class NodeConfig
44644489 # @return [Fixnum]
44654490 attr_accessor :local_ssd_count
44664491
4467- # Specifies which method should be used for encrypting the Local SSDs attahced
4492+ # Specifies which method should be used for encrypting the Local SSDs attached
44684493 # to the node.
44694494 # Corresponds to the JSON property `localSsdEncryptionMode`
44704495 # @return [String]
@@ -4734,6 +4759,37 @@ def update!(**args)
47344759 class NodeKubeletConfig
47354760 include Google ::Apis ::Core ::Hashable
47364761
4762+ # Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl
4763+ # patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`
4764+ # , `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this
4765+ # allowlist empty means they cannot be set on Pods. To allow certain sysctls or
4766+ # sysctl patterns to be set on Pods, list them separated by commas. For example:
4767+ # `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/
4768+ # administer-cluster/sysctl-cluster/ for more details.
4769+ # Corresponds to the JSON property `allowedUnsafeSysctls`
4770+ # @return [Array<String>]
4771+ attr_accessor :allowed_unsafe_sysctls
4772+
4773+ # Optional. Defines the maximum number of container log files that can be
4774+ # present for a container. See https://kubernetes.io/docs/concepts/cluster-
4775+ # administration/logging/#log-rotation The value must be an integer between 2
4776+ # and 10, inclusive. The default value is 5 if unspecified.
4777+ # Corresponds to the JSON property `containerLogMaxFiles`
4778+ # @return [Fixnum]
4779+ attr_accessor :container_log_max_files
4780+
4781+ # Optional. Defines the maximum size of the container log file before it is
4782+ # rotated. See https://kubernetes.io/docs/concepts/cluster-administration/
4783+ # logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi.
4784+ # Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi,
4785+ # inclusive. Note that the total container log size (container_log_max_size *
4786+ # container_log_max_files) cannot exceed 1% of the total storage of the node, to
4787+ # avoid disk pressure caused by log files. The default value is 10Mi if
4788+ # unspecified.
4789+ # Corresponds to the JSON property `containerLogMaxSize`
4790+ # @return [String]
4791+ attr_accessor :container_log_max_size
4792+
47374793 # Enable CPU CFS quota enforcement for containers that specify CPU limits. This
47384794 # option is enabled by default which makes kubelet use CFS quota (https://www.
47394795 # kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU
@@ -4764,6 +4820,44 @@ class NodeKubeletConfig
47644820 # @return [String]
47654821 attr_accessor :cpu_manager_policy
47664822
4823+ # Optional. Defines the percent of disk usage after which image garbage
4824+ # collection is always run. The percent is calculated as this field value out of
4825+ # 100. The value must be between 10 and 85, inclusive and greater than
4826+ # image_gc_low_threshold_percent. The default value is 85 if unspecified.
4827+ # Corresponds to the JSON property `imageGcHighThresholdPercent`
4828+ # @return [Fixnum]
4829+ attr_accessor :image_gc_high_threshold_percent
4830+
4831+ # Optional. Defines the percent of disk usage before which image garbage
4832+ # collection is never run. Lowest disk usage to garbage collect to. The percent
4833+ # is calculated as this field value out of 100. The value must be between 10 and
4834+ # 85, inclusive and smaller than image_gc_high_threshold_percent. The default
4835+ # value is 80 if unspecified.
4836+ # Corresponds to the JSON property `imageGcLowThresholdPercent`
4837+ # @return [Fixnum]
4838+ attr_accessor :image_gc_low_threshold_percent
4839+
4840+ # Optional. Defines the maximum age an image can be unused before it is garbage
4841+ # collected. The string must be a sequence of decimal numbers, each with
4842+ # optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m".
4843+ # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must
4844+ # be a positive duration greater than image_minimum_gc_age or "0s". The default
4845+ # value is "0s" if unspecified, which disables this field, meaning images won't
4846+ # be garbage collected based on being unused for too long.
4847+ # Corresponds to the JSON property `imageMaximumGcAge`
4848+ # @return [String]
4849+ attr_accessor :image_maximum_gc_age
4850+
4851+ # Optional. Defines the minimum age for an unused image before it is garbage
4852+ # collected. The string must be a sequence of decimal numbers, each with
4853+ # optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m".
4854+ # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must
4855+ # be a positive duration less than or equal to 2 minutes. The default value is "
4856+ # 2m0s" if unspecified.
4857+ # Corresponds to the JSON property `imageMinimumGcAge`
4858+ # @return [String]
4859+ attr_accessor :image_minimum_gc_age
4860+
47674861 # Enable or disable Kubelet read only port.
47684862 # Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
47694863 # @return [Boolean]
@@ -4784,9 +4878,16 @@ def initialize(**args)
47844878
47854879 # Update properties of this object
47864880 def update! ( **args )
4881+ @allowed_unsafe_sysctls = args [ :allowed_unsafe_sysctls ] if args . key? ( :allowed_unsafe_sysctls )
4882+ @container_log_max_files = args [ :container_log_max_files ] if args . key? ( :container_log_max_files )
4883+ @container_log_max_size = args [ :container_log_max_size ] if args . key? ( :container_log_max_size )
47874884 @cpu_cfs_quota = args [ :cpu_cfs_quota ] if args . key? ( :cpu_cfs_quota )
47884885 @cpu_cfs_quota_period = args [ :cpu_cfs_quota_period ] if args . key? ( :cpu_cfs_quota_period )
47894886 @cpu_manager_policy = args [ :cpu_manager_policy ] if args . key? ( :cpu_manager_policy )
4887+ @image_gc_high_threshold_percent = args [ :image_gc_high_threshold_percent ] if args . key? ( :image_gc_high_threshold_percent )
4888+ @image_gc_low_threshold_percent = args [ :image_gc_low_threshold_percent ] if args . key? ( :image_gc_low_threshold_percent )
4889+ @image_maximum_gc_age = args [ :image_maximum_gc_age ] if args . key? ( :image_maximum_gc_age )
4890+ @image_minimum_gc_age = args [ :image_minimum_gc_age ] if args . key? ( :image_minimum_gc_age )
47904891 @insecure_kubelet_readonly_port_enabled = args [ :insecure_kubelet_readonly_port_enabled ] if args . key? ( :insecure_kubelet_readonly_port_enabled )
47914892 @pod_pids_limit = args [ :pod_pids_limit ] if args . key? ( :pod_pids_limit )
47924893 end
@@ -4951,6 +5052,11 @@ def update!(**args)
49515052 class NodePool
49525053 include Google ::Apis ::Core ::Hashable
49535054
5055+ # AutopilotConfig contains configuration of autopilot feature for this nodepool.
5056+ # Corresponds to the JSON property `autopilotConfig`
5057+ # @return [Google::Apis::ContainerV1::AutopilotConfig]
5058+ attr_accessor :autopilot_config
5059+
49545060 # NodePoolAutoscaling contains information required by cluster autoscaler to
49555061 # adjust the size of the node pool to the current cluster usage.
49565062 # Corresponds to the JSON property `autoscaling`
@@ -5113,6 +5219,7 @@ def initialize(**args)
51135219
51145220 # Update properties of this object
51155221 def update! ( **args )
5222+ @autopilot_config = args [ :autopilot_config ] if args . key? ( :autopilot_config )
51165223 @autoscaling = args [ :autoscaling ] if args . key? ( :autoscaling )
51175224 @best_effort_provisioning = args [ :best_effort_provisioning ] if args . key? ( :best_effort_provisioning )
51185225 @conditions = args [ :conditions ] if args . key? ( :conditions )
@@ -8384,13 +8491,20 @@ class WorkloadPolicyConfig
83848491 attr_accessor :allow_net_admin
83858492 alias_method :allow_net_admin? , :allow_net_admin
83868493
8494+ # If true, enables the GCW Auditor that audits workloads on standard clusters.
8495+ # Corresponds to the JSON property `autopilotCompatibilityAuditingEnabled`
8496+ # @return [Boolean]
8497+ attr_accessor :autopilot_compatibility_auditing_enabled
8498+ alias_method :autopilot_compatibility_auditing_enabled? , :autopilot_compatibility_auditing_enabled
8499+
83878500 def initialize ( **args )
83888501 update! ( **args )
83898502 end
83908503
83918504 # Update properties of this object
83928505 def update! ( **args )
83938506 @allow_net_admin = args [ :allow_net_admin ] if args . key? ( :allow_net_admin )
8507+ @autopilot_compatibility_auditing_enabled = args [ :autopilot_compatibility_auditing_enabled ] if args . key? ( :autopilot_compatibility_auditing_enabled )
83948508 end
83958509 end
83968510 end
0 commit comments