Differences Between CCE Node mountPath Configurations and Community Native Configurations

To maintain the stability of nodes, CCE stores Kubernetes and container runtime components on separate data disks. Kubernetes uses the /mnt/paas/kubernetes directory, and the container runtime uses the /mnt/paas/runtime directory. The paths to these directories are the same as the default paths used in the community through soft links.

Configuration Differences Between CCE and Community Native

Item

Kubernetes Native Path

CCE Path

kubelet root-dir

/var/lib/kubelet

/mnt/paas/kubernetes/kubelet

kubelet

/var/lib/kubelet

/mnt/paas/kubernetes/kubelet

The soft link from /var/lib/kubelet to /mnt/paas/kubernetes/kubelet is also available.

Container runtime (Docker)

/var/lib/docker

Container runtime (containerd)

/var/lib/containerd

containerd logs

/var/log/pods

/var/lib/containerd/container_logs

The soft link from /var/log/pods to /var/lib/containerd/container_logs is also available.

In clusters of v1.23.16-r0, v1.25.11-r0, v1.27.8-r0, v1.28.6-r0, v1.29.2-r0, or later versions, modified soft links will be mounted in both Kubernetes and CCE paths.

Possible Impact of Differences