ERROR minimum kernel version required for CoreDNS is 4.14.35 (UEKR5)

6/6/2019

I'm trying to setup High available Kubernetes cluster on ORL7 with kernel version as "3.10.0-514.10.2.el7.x86_64". All the pre requisites have been performed as per the link "https://docs.oracle.com/cd/E52668_01/E88884/html/kube_ha_install_master.html".

Now when bringing up the cluster with the below command: $ kubeadm-ha-setup up ~/ha.yaml

I'm getting below error: [ERROR] minimum kernel version required for CoreDNS is 4.14.35 (UEKR5)

It worked for kubeadm (below command) but i want to know how to acheive the same in kubeadm-ha-setup. $ kubeadm-ha-setup up ~/ha.yaml --feature-gates=CoreDNS=false

I can't upgade kernel version and using latest supported by our organization.

-- Ankit Chitransh
coredns
kubernetes
kubernetes-pod
linux

2 Answers

1/24/2020
kubeadm-ha-setup up ~/ha.yaml --feature-gates=CoreDNS=false
-- Mani MN
Source: StackOverflow

6/7/2019

It seems that you can't. As per documentation "Requirements to Use Oracle Container Services for use with Kubernetes" and "Replacement of KubeDNS with CoreDNS"

Note:

A future version of Oracle Linux Container Services for use with Kubernetes will migrate existing single master clusters from KubeDNS to CoreDNS. CoreDNS requires an Oracle Linux 7 Update 5 image or later with the Unbreakable Enterprise Kernel Release 5 (UEK R5).

Existing Oracle Linux Container Services for use with Kubernetes 1.1.9 installations may already run on an Oracle Linux 7 Update 3 image, with Unbreakable Enterprise Kernel Release 4 (UEK R4), but you must upgrade your environment to permit future product upgrades.

-- Hanx
Source: StackOverflow