Back to Talos

SysctlConfig

website/content/v1.14/reference/configuration/runtime/sysctlconfig.md

1.14.0995 B
Original Source
<!-- markdownlint-disable -->

{{< highlight yaml >}} apiVersion: v1alpha1 kind: SysctlConfig

Used to configure the machine's sysctls (kernel parameters under /proc/sys).

params: fs.inotify.max_user_watches: "12288" kernel.domainname: talos.dev net.ipv4.ip_forward: "0" net/ipv6/conf/eth0.100/disable_ipv6: "1" {{< /highlight >}}

FieldTypeDescriptionValue(s)
paramsmap[string]stringUsed to configure the machine's sysctls (kernel parameters under /proc/sys).
Values from this document are merged with the deprecated v1alpha1 machine.sysctls values (if set),
with this document taking precedence on key conflicts. <details><summary>Show example(s)</summary>SysctlConfig usage example.:{{< highlight yaml >}}
params:
fs.inotify.max_user_watches: "12288"
kernel.domainname: talos.dev
net.ipv4.ip_forward: "0"
net/ipv6/conf/eth0.100/disable_ipv6: "1"

{{< /highlight >}}</details> | |