tuned
Values and chart documentation for components/dependencies/tuned in the Superphenix repository. Defaults are the chart defaults.
Deploys the tuned daemon as a DaemonSet on every node. Profiles are provided via a ConfigMap and the active profile is selected per-node through a configurable node label.
How it works
The chart deploys a privileged DaemonSet that runs on every node in the cluster (including control-plane nodes). At startup, each pod:
- Reads the profiles provided via the
profilesConfigMap and installs them into/etc/tuned/. - Queries the Kubernetes API to read the profile label on its own node.
- Calls
tuned-adm profile <name>to activate the selected profile. - Starts the
tuneddaemon in the foreground so the profile stays active.
If the node has no profile label, the daemon falls back to tuned.defaultProfile.
Selecting a profile per node
Profiles are selected through a Kubernetes node label. The label key is controlled by tuned.profileLabelKey (default: performance.superphenix.net/profile).
To assign a profile to a node:
Note
The label value must match one of the profile names defined in .Values.profiles or a profile already present on the node image.
If the label is absent or the value does not match any installed profile, the pod falls back to the default profile.
To remove an explicit profile assignment and revert to the default:
Configuring profiles
Profiles are declared under the profiles key. Each key becomes a profile name; the value is the raw content of tuned.conf for that profile.
profiles:
my-custom-profile: |
[main]
summary=My custom tuning profile
[cpu]
governor=performance
[sysctl]
vm.swappiness=10
Warning
Profile names must be unique within the profiles map.
If two entries share the same name, only one will be installed and the result is undefined.
Note
Profile names must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores.
Values
Image
| Key | Type | Default | Description |
|---|---|---|---|
| image.pullPolicy | string |
"IfNotPresent"
|
Image pull policy. |
| image.repository | string |
"ghcr.io/super-phenix/tuned"
|
Container image repository for the tuned daemon. |
| image.tag | string |
"latest"
|
Container image tag. |
Scheduling
| Key | Type | Default | Description |
|---|---|---|---|
| priorityClassName | string |
"system-node-critical"
|
Priority class for the DaemonSet pods. Ensures the tuned pods are not evicted under node pressure. |
| tolerations | list |
[
{
"effect": "NoSchedule",
"operator": "Exists"
},
{
"effect": "NoExecute",
"operator": "Exists"
},
{
"key": "CriticalAddonsOnly",
"operator": "Exists"
}
]
|
Tolerations applied to the DaemonSet pods. Defaults tolerate all taints so the daemon runs on every node, including tainted control-plane and infra nodes. |
Profiles
| Key | Type | Default | Description |
|---|---|---|---|
| profiles | string |
null
|
Additional tuned profiles provided as a ConfigMap. Each key becomes a profile name; the value is the content of `tuned.conf` for that profile. Those profiles are complementing the default tuned profiles. See https://tuned-project.org/docs/manual.html#tuned-profiles_getting-started-with-tuned |
Resources
| Key | Type | Default | Description |
|---|---|---|---|
| resources.limits.cpu | string |
"100m"
|
CPU limit for the tuned container |
| resources.limits.memory | string |
"64Mi"
|
Memory limit for the tuned container |
| resources.requests.cpu | string |
"10m"
|
CPU request for the tuned container |
| resources.requests.memory | string |
"8Mi"
|
Memory request for the tuned container |
Service Account
| Key | Type | Default | Description |
|---|---|---|---|
| serviceAccount.annotations | object |
{}
|
Annotations to add to the ServiceAccount |
| serviceAccount.create | bool |
true
|
Create a ServiceAccount for the DaemonSet pods |
| serviceAccount.name | string |
""
|
Override the ServiceAccount name. Defaults to the chart fullname when empty. |
Tuned configuration
| Key | Type | Default | Description |
|---|---|---|---|
| tuned.defaultProfile | string |
"throughput-performance latency-performance network-latency"
|
Profile applied when the node has no profile label. Profiles can be separated by spaces to aggregate them into a single profile. |
| tuned.profileLabelKey | string |
"performance.superphenix.net/profile"
|
Node label key whose value determines the active tuned profile. Example: `kubectl label node |