Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::NodeKubeletConfig.
Configuration for node pool kubelet options.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#cpu_cfs_quota
defcpu_cfs_quota()->::Boolean
Returns
(::Boolean) — Optional. Enable CPU CFS quota enforcement for containers that specify CPU
limits.
This option is enabled by default which makes kubelet use CFS quota
(https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
enforce container CPU limits. Otherwise, CPU limits will not be enforced at
all.
Disable this option to mitigate CPU throttling problems while still having
your pods to be in Guaranteed QoS class by specifying the CPU limits.
The default value is 'true' if unspecified.
#cpu_cfs_quota=
defcpu_cfs_quota=(value)->::Boolean
Parameter
value (::Boolean) — Optional. Enable CPU CFS quota enforcement for containers that specify CPU
limits.
This option is enabled by default which makes kubelet use CFS quota
(https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
enforce container CPU limits. Otherwise, CPU limits will not be enforced at
all.
Disable this option to mitigate CPU throttling problems while still having
your pods to be in Guaranteed QoS class by specifying the CPU limits.
The default value is 'true' if unspecified.
Returns
(::Boolean) — Optional. Enable CPU CFS quota enforcement for containers that specify CPU
limits.
This option is enabled by default which makes kubelet use CFS quota
(https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
enforce container CPU limits. Otherwise, CPU limits will not be enforced at
all.
Disable this option to mitigate CPU throttling problems while still having
your pods to be in Guaranteed QoS class by specifying the CPU limits.
The default value is 'true' if unspecified.
#cpu_cfs_quota_period
defcpu_cfs_quota_period()->::String
Returns
(::String) — Optional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.
The string must be a sequence of decimal numbers, each with optional
fraction and a unit suffix, such as "300ms".
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
The value must be a positive duration.
The default value is '100ms' if unspecified.
#cpu_cfs_quota_period=
defcpu_cfs_quota_period=(value)->::String
Parameter
value (::String) — Optional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.
The string must be a sequence of decimal numbers, each with optional
fraction and a unit suffix, such as "300ms".
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
The value must be a positive duration.
The default value is '100ms' if unspecified.
Returns
(::String) — Optional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.
The string must be a sequence of decimal numbers, each with optional
fraction and a unit suffix, such as "300ms".
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
The value must be a positive duration.
The default value is '100ms' if unspecified.
#cpu_manager_policy
defcpu_manager_policy()->::String
Returns
(::String) —
Optional. Control the CPU management policy on the node.
See
https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
The following values are allowed.
"none": the default, which represents the existing scheduling behavior.
"static": allows pods with certain resource characteristics to be granted
increased CPU affinity and exclusivity on the node.
The default value is 'none' if unspecified.
#cpu_manager_policy=
defcpu_manager_policy=(value)->::String
Parameter
value (::String) —
Optional. Control the CPU management policy on the node.
See
https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
The following values are allowed.
"none": the default, which represents the existing scheduling behavior.
"static": allows pods with certain resource characteristics to be granted
increased CPU affinity and exclusivity on the node.
The default value is 'none' if unspecified.
Returns
(::String) —
Optional. Control the CPU management policy on the node.
See
https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
The following values are allowed.
"none": the default, which represents the existing scheduling behavior.
"static": allows pods with certain resource characteristics to be granted
increased CPU affinity and exclusivity on the node.
The default value is 'none' if unspecified.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::NodeKubeletConfig (v0.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.15.0 (latest)](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.14.1](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.14.1/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.13.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.13.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.12.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.12.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.11.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.11.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.10.1](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.10.1/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.9.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.9.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.8.2](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.8.2/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.7.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.7.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.6.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.5.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.4.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.4.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.3.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.2.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.2.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig)\n- [0.1.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.1.0/Google-Cloud-GkeMultiCloud-V1-NodeKubeletConfig) \nReference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::NodeKubeletConfig.\n\nConfiguration for node pool kubelet options. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #cpu_cfs_quota\n\n def cpu_cfs_quota() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Enable CPU CFS quota enforcement for containers that specify CPU limits.\n\n This option is enabled by default which makes kubelet use CFS quota\n (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to\n enforce container CPU limits. Otherwise, CPU limits will not be enforced at\n all.\n\n Disable this option to mitigate CPU throttling problems while still having\n your pods to be in Guaranteed QoS class by specifying the CPU limits.\n\n The default value is 'true' if unspecified.\n\n### #cpu_cfs_quota=\n\n def cpu_cfs_quota=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Enable CPU CFS quota enforcement for containers that specify CPU limits.\n\n\n This option is enabled by default which makes kubelet use CFS quota\n (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to\n enforce container CPU limits. Otherwise, CPU limits will not be enforced at\n all.\n\n Disable this option to mitigate CPU throttling problems while still having\n your pods to be in Guaranteed QoS class by specifying the CPU limits.\n\nThe default value is 'true' if unspecified. \n**Returns**\n\n- (::Boolean) --- Optional. Enable CPU CFS quota enforcement for containers that specify CPU limits.\n\n This option is enabled by default which makes kubelet use CFS quota\n (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to\n enforce container CPU limits. Otherwise, CPU limits will not be enforced at\n all.\n\n Disable this option to mitigate CPU throttling problems while still having\n your pods to be in Guaranteed QoS class by specifying the CPU limits.\n\n The default value is 'true' if unspecified.\n\n### #cpu_cfs_quota_period\n\n def cpu_cfs_quota_period() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.\n\n The string must be a sequence of decimal numbers, each with optional\n fraction and a unit suffix, such as \"300ms\".\n Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n The value must be a positive duration.\n\n The default value is '100ms' if unspecified.\n\n### #cpu_cfs_quota_period=\n\n def cpu_cfs_quota_period=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.\n\n\n The string must be a sequence of decimal numbers, each with optional\n fraction and a unit suffix, such as \"300ms\".\n Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n The value must be a positive duration.\n\nThe default value is '100ms' if unspecified. \n**Returns**\n\n- (::String) --- Optional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.\n\n The string must be a sequence of decimal numbers, each with optional\n fraction and a unit suffix, such as \"300ms\".\n Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n The value must be a positive duration.\n\n The default value is '100ms' if unspecified.\n\n### #cpu_manager_policy\n\n def cpu_manager_policy() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Control the CPU management policy on the node.\n See\n https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/\n\n The following values are allowed.\n - \"none\": the default, which represents the existing scheduling behavior.\n - \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.\n\n### #cpu_manager_policy=\n\n def cpu_manager_policy=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Optional. Control the CPU management policy on the node.\n See\n https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/\n\n The following values are allowed.\n - \"none\": the default, which represents the existing scheduling behavior.\n- \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified. \n**Returns**\n\n- (::String) --- Optional. Control the CPU management policy on the node.\n See\n https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/\n\n The following values are allowed.\n - \"none\": the default, which represents the existing scheduling behavior.\n - \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.\n\n### #insecure_kubelet_readonly_port_enabled\n\n def insecure_kubelet_readonly_port_enabled() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Enable the insecure kubelet read only port.\n\n### #insecure_kubelet_readonly_port_enabled=\n\n def insecure_kubelet_readonly_port_enabled=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Enable the insecure kubelet read only port. \n**Returns**\n\n- (::Boolean) --- Optional. Enable the insecure kubelet read only port.\n\n### #pod_pids_limit\n\n def pod_pids_limit() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits\n\n Controls the maximum number of processes allowed to run in a pod. The value\n must be greater than or equal to 1024 and less than 4194304.\n\n### #pod_pids_limit=\n\n def pod_pids_limit=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits\n\n\n Controls the maximum number of processes allowed to run in a pod. The value\nmust be greater than or equal to 1024 and less than 4194304. \n**Returns**\n\n- (::Integer) --- Optional. Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits\n\n Controls the maximum number of processes allowed to run in a pod. The value\n must be greater than or equal to 1024 and less than 4194304."]]