From 148b222d97e1ef8b1cc45bc2dbcb04014c0783c0 Mon Sep 17 00:00:00 2001 From: Martynas Pumputis Date: Thu, 21 Feb 2019 17:31:15 +0100 Subject: [PATCH] kubeadm: Support >= 5.0 Linux Kernel Signed-off-by: Martynas Pumputis --- cmd/kubeadm/app/util/system/types_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeadm/app/util/system/types_unix.go b/cmd/kubeadm/app/util/system/types_unix.go index 3f45d957e5..a401bbac11 100644 --- a/cmd/kubeadm/app/util/system/types_unix.go +++ b/cmd/kubeadm/app/util/system/types_unix.go @@ -30,7 +30,7 @@ const dockerEndpoint = "unix:///var/run/docker.sock" var DefaultSysSpec = SysSpec{ OS: "Linux", KernelSpec: KernelSpec{ - Versions: []string{`3\.[1-9][0-9].*`, `4\..*`}, // Requires 3.10+ or 4+ + Versions: []string{`3\.[1-9][0-9].*`, `4\..*`, `5\..*`}, // Requires 3.10+, 4+ or 5+ // TODO(random-liu): Add more config // TODO(random-liu): Add description for each kernel configuration: Required: []KernelConfig{