Oracle Linux: Kubernetes Setup Incomplete If Root File System Is Full

(Doc ID 2404134.1)

Last updated on JUNE 14, 2018

Applies to:

Linux OS - Version Oracle Linux 7.2 with Unbreakable Enterprise Kerne [4.1.12] and later
Linux x86-64

Symptoms

Kubernetes cluster setup will not be completed and gives following error by "kubeadm-setup up" script is giving followig output.

[root@XXX-XXXX ~]# kubeadm-setup.sh up

Starting to initialize master node ...
Checking if env is ready ...
Checking whether docker can pull busybox image ...
Checking access to container-registry.oracle.com/kubernetes ...
v1.9.1: Pulling from kubernetes/kube-proxy-amd64
Digest: sha256:852fbdc6be8b357356c047bd9649e1c62f572c0e61a0526cd048c0d0dc675e4d
Status: Image is up to date for container-registry.oracle.com/kubernetes/kube-proxy-amd64:v1.9.1
Checking whether docker can run container ...
Checking iptables default rule ...
Checking br_netfilter module ...
Checking sysctl variables ...
Check successful, ready to run 'up' command ...
Waiting for kubeadm to setup master cluster...
Please wait ...
- - 75% completed
Waiting for the control plane to become ready ...
......................................................................................................................................................
100% completed The connection to the server XX.XX.XX.XXX:6443 was refused - did you specify the right host or port?

kubernetes cluster was brought down and brought up but the setup will not proceed further.

Changes

Unistalled/aborted previous versions of kubernetes and tried to start kubenetes cluster of new version with "kubeadm-setup up" command.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms