Prerequisites
UserNamespacesSupport is enabled by default in the Kubernetes versions Talos supports, so no feature gates need to be set. The only configuration needed is raising the kernel’s limit on the number of user namespaces.
Add the following to your Talos machine configuration using the SysctlConfig document:
Using User Namespaces
After applying the configuration, sethostUsers: false on your pod spec to opt in. Refer to the Kubernetes User Namespaces task guide for workload configuration details.