Merge pull request #16081 from spowelljr/solutionMessage

Add solution message for cpu controller delegation
pull/16108/head
Steven Powell 2023-03-20 14:03:47 -07:00 committed by GitHub
commit 86778e3b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -222,6 +222,22 @@ var hostIssues = []match{
Kind: HostHomePermission,
Regexp: re(`/.minikube/.*: permission denied`),
},
{
Kind: Kind{
ID: "HOST_CPU_DELEGATION",
ExitCode: ExHostUnsupported,
Advice: `Run the following:
$ sudo mkdir -p /etc/systemd/system/user@.service.d
$ cat <<EOF | sudo tee /etc/systemd/system/user@.service.d/delegate.conf
[Service]
Delegate=cpu cpuset io memory pids
EOF
$ sudo systemctl daemon-reload`,
Issues: []int{14871},
},
Regexp: re(`UserNS: cpu controller needs to be delegated`),
GOOS: []string{"linux"},
},
}
// providerIssues are failures relating to a driver provider