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.
"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."],[[["\u003cp\u003eThe \u003ccode\u003eNodeKubeletConfig\u003c/code\u003e class provides configuration options for node pool kubelet settings within the Anthos Multi-Cloud v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for customization of CPU management policies, including setting CPU CFS quota enforcement and its period, with default values of \u003ccode\u003etrue\u003c/code\u003e and \u003ccode\u003e100ms\u003c/code\u003e, respectively, and an option of \u003ccode\u003enone\u003c/code\u003e or \u003ccode\u003estatic\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers control over the maximum number of processes allowed to run in a pod via the \u003ccode\u003ePodPidsLimit\u003c/code\u003e property, which must be between 1024 and 4194304.\u003c/p\u003e\n"],["\u003cp\u003eThe class has the option to enable or disable the insecure kubelet read only port, and also provides a number of \u003ccode\u003eHas\u003c/code\u003e properties that allow users to check if the field has been set or not.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the class provided is \u003ccode\u003e2.8.0\u003c/code\u003e, and a list of versions are included, going as far back as \u003ccode\u003e1.0.0-beta01\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class NodeKubeletConfig (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig) \n\n public sealed class NodeKubeletConfig : IMessage\u003cNodeKubeletConfig\u003e, IEquatable\u003cNodeKubeletConfig\u003e, IDeepCloneable\u003cNodeKubeletConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class NodeKubeletConfig.\n\nConfiguration for node pool kubelet options. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NodeKubeletConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NodeKubeletConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NodeKubeletConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NodeKubeletConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.NodeKubeletConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.GkeMultiCloud.V1](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeMultiCloud.V1.dll\n\nConstructors\n------------\n\n### NodeKubeletConfig()\n\n public NodeKubeletConfig()\n\n### NodeKubeletConfig(NodeKubeletConfig)\n\n public NodeKubeletConfig(NodeKubeletConfig other)\n\nProperties\n----------\n\n### CpuCfsQuota\n\n public bool CpuCfsQuota { get; set; }\n\nOptional. Enable CPU CFS quota enforcement for containers that specify CPU\nlimits.\n\nThis option is enabled by default which makes kubelet use CFS quota\n(\u003chttps://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt\u003e) to\nenforce container CPU limits. Otherwise, CPU limits will not be enforced at\nall.\n\nDisable this option to mitigate CPU throttling problems while still having\nyour pods to be in Guaranteed QoS class by specifying the CPU limits.\n\nThe default value is 'true' if unspecified.\n\n### CpuCfsQuotaPeriod\n\n public string CpuCfsQuotaPeriod { get; set; }\n\nOptional. Set the CPU CFS quota period value 'cpu.cfs_period_us'.\n\nThe string must be a sequence of decimal numbers, each with optional\nfraction and a unit suffix, such as \"300ms\".\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\nThe value must be a positive duration.\n\nThe default value is '100ms' if unspecified.\n\n### CpuManagerPolicy\n\n public string CpuManagerPolicy { get; set; }\n\nOptional. Control the CPU management policy on the node.\nSee\n\u003chttps://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/\u003e\n\nThe following values are allowed.\n\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### HasCpuCfsQuota\n\n public bool HasCpuCfsQuota { get; }\n\nGets whether the \"cpu_cfs_quota\" field is set\n\n### HasCpuCfsQuotaPeriod\n\n public bool HasCpuCfsQuotaPeriod { get; }\n\nGets whether the \"cpu_cfs_quota_period\" field is set\n\n### HasCpuManagerPolicy\n\n public bool HasCpuManagerPolicy { get; }\n\nGets whether the \"cpu_manager_policy\" field is set\n\n### HasPodPidsLimit\n\n public bool HasPodPidsLimit { get; }\n\nGets whether the \"pod_pids_limit\" field is set\n\n### InsecureKubeletReadonlyPortEnabled\n\n public bool InsecureKubeletReadonlyPortEnabled { get; set; }\n\nOptional. Enable the insecure kubelet read only port.\n\n### PodPidsLimit\n\n public long PodPidsLimit { get; set; }\n\nOptional. Set the Pod PID limits. See\n\u003chttps://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits\u003e\n\nControls 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."]]