Host paths used by Calico Enterprise components
Several Calico Enterprise components mount directories or files from the host node. Admission policies that limit host paths, such as Kyverno or OPA Gatekeeper policies, reject pods that use a path the policy doesn't allow. This page lists the host path volumes that the operator adds to Calico Enterprise workloads, one table for each component.
Every table has the same columns:
- Host path is the path on the node.
- Volume is the volume name in the pod spec.
- Access is read-only or read-write. "Bidirectional" and "HostToContainer" name the mount propagation mode, where one is set. Bidirectional propagation requires a privileged container. "Not mounted" means the volume is declared in the pod spec but no container mounts it. Policies that inspect pod volumes still see it.
- When present says whether the path is always there or depends on your configuration.
Tigera Operator
The tigera-operator Deployment runs in the tigera-operator namespace.
The operator manifest and the Helm chart add this path, not the Installation resource.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/lib/calico | var-lib-calico | Read-only | Always |
calico-node
The calico-node DaemonSet runs on every Linux node, in the calico-system namespace.
| Host path | Volume | Access | When present |
|---|---|---|---|
/lib/modules | lib-modules | Read-only | Always |
/run/xtables.lock | xtables-lock | Read-write | Always |
/var/run/nodeagent | policysync | Read-write | Always |
/var/run/calico | var-run-calico | Read-write, Bidirectional in the init container | Always |
/var/lib/calico | var-lib-calico | Read-write | Always |
/var/log/calico | var-log-calico | Read-write | Always |
/sys/fs | sys-fs | Read-write, Bidirectional | Always, for the init container |
/sys/fs/bpf | bpffs | Read-write | Always |
/proc | nodeproc | Read-only | Always, for the init container |
/sys/kernel/security | sys-kernel-security | Read-only | Always |
| CNI binary directory | cni-bin-dir | Read-write | When the CNI plugin is Calico |
| CNI configuration directory | cni-net-dir | Read-write | When the CNI plugin is Calico |
/var/log/calico/cni | cni-log-dir | Not mounted | When the CNI plugin is Calico |
FlexVolume directory, plus nodeagent~uds | flexvol-driver-host | Read-write | Always, for the init container. When flexVolumePath is None, the path is the FlexVolume root directory instead. |
/var/lib/calico/felix-plugins | felix-plugins | Read-only | When the Linux data plane is VPP |
The CNI and FlexVolume directories depend on your platform. See Default CNI and FlexVolume directories.
calico-node for Windows
The calico-node-windows DaemonSet runs on Windows nodes, in the calico-system namespace, when the Windows data plane is enabled.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/run/calico | var-run-calico | Read-write | Always |
/var/lib/calico | var-lib-calico | Read-write | Always |
/var/log/calico | var-log-calico | Read-write | Always |
| Windows CNI binary directory | cni-bin-dir | Read-write | When the CNI plugin is Calico |
| Windows CNI configuration directory | cni-net-dir | Read-write | When the CNI plugin is Calico |
| Windows CNI log directory | cni-log-dir | Not mounted | When the CNI plugin is Calico |
/lib/modules | lib-modules | Not mounted | Always |
/run/xtables.lock | xtables-lock | Not mounted | Always |
/var/run/nodeagent | policysync | Not mounted | Always |
CSI node driver
The csi-node-driver DaemonSet runs on every Linux node, in the calico-system namespace, unless kubeletVolumePluginPath is None.
The kubelet directory defaults to /var/lib/kubelet, and you can change it with kubeletVolumePluginPath in the Installation resource.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/run | varrun | Read-write | Always |
| The kubelet directory | kubelet-dir | Read-write, Bidirectional | Always |
The kubelet directory, plus /plugins/csi.tigera.io | socket-dir | Read-write | Always |
The kubelet directory, plus /plugins_registry | registration-dir | Read-write | Always |
Log collector
The fluentd-node DaemonSet runs in the tigera-fluentd namespace when the LogCollector resource exists.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/log/calico | var-log-calico | Read-write | Always |
c:/TigeraCalico | var-log-calico | Read-write | On fluentd-node-windows, when the cluster has Windows nodes |
L7 log collector
The l7-log-collector DaemonSet runs in the calico-system namespace when the ApplicationLayer resource exists.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/run/l7-collector | l7-collector-socks | Read-write | When L7 log collection or sidecar injection is enabled |
/var/run/dikastes | dikastes-sync | Read-write | When the web application firewall, application layer policy, or sidecar injection is enabled |
/var/log/calico | var-log-calico | Read-write | When the web application firewall or sidecar injection is enabled |
Deep packet inspection
The tigera-dpi DaemonSet runs in the tigera-dpi namespace when at least one DeepPacketInspection resource exists.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/log/calico/snort-alerts | log-snort-alters | Read-write | Always |
Intrusion detection
The intrusion-detection-controller Deployment runs in the tigera-intrusion-detection namespace.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/log/calico | var-log-calico | Read-write | When the LogCollector forwards IDS events to syslog |
API server audit logs
One of these workloads runs in the calico-system namespace, depending on how the Calico Enterprise API is served.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/log/calico/audit | calico-audit-logs | Read-write | On calico-apiserver, when the cluster uses the aggregation API server, which is the default |
/var/log/calico/audit | audit-logs | Read-write | On calico-webhooks, when the cluster uses native projectcalico.org/v3 CRDs |
Compliance
The compliance workloads run in the tigera-compliance namespace when the Compliance resource exists.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/lib/etcd | var-lib-etcd | Read-only | On compliance-benchmarker |
/var/lib/kubelet | var-lib-kubelet | Read-only | On compliance-benchmarker |
/etc/systemd | etc-systemd | Read-only | On compliance-benchmarker |
/etc/kubernetes | etc-kubernetes | Read-only | On compliance-benchmarker |
/usr/bin | usr-bin | Read-only | On compliance-benchmarker |
/home/kubernetes | home-kubernetes | Read-only | On compliance-benchmarker, on GKE |
/var/log/calico | var-log-calico | Read-write | On compliance reporter pods |
Calico Ingress Gateway
Envoy proxy pods for Calico Ingress Gateway run in the tigera-gateway namespace.
They mount a host path when the proxy runs as a Deployment, which is the default.
Proxies that run as a DaemonSet do not.
| Host path | Volume | Access | When present |
|---|---|---|---|
/var/log/calico | var-log-calico | Read-write | For the waf-http-filter init container, when the proxy runs as a Deployment |
Istio ambient mode
The istio-cni-node and ztunnel DaemonSets run in the calico-system namespace when the Istio resource exists.
Their host paths come from the upstream Istio charts, not from the Installation resource.
| Host path | Volume | Access | When present |
|---|---|---|---|
/opt/cni/bin | cni-bin-dir | Read-write | On istio-cni-node |
/etc/cni/net.d | cni-net-dir | Read-write | On istio-cni-node |
/proc | cni-host-procfs | Read-only | On istio-cni-node |
/var/run/istio-cni | cni-socket-dir | Read-write | On istio-cni-node |
/var/run/netns | cni-netns-dir | Read-write, HostToContainer | On istio-cni-node |
/var/run/ztunnel | cni-ztunnel-sock-dir | Read-write | On istio-cni-node and ztunnel |
Default CNI and FlexVolume directories
The operator sets these directories when the Installation resource does not.
You can set the CNI directories with cni.binDir and cni.confDir, the Windows CNI directories with windowsNodes, and the FlexVolume directory with flexVolumePath.
The FlexVolume root directory is the path that calico-node mounts when flexVolumePath is None.
For details, see the Installation resource reference.
| Platform | CNI binary directory | CNI configuration directory | FlexVolume directory | FlexVolume root directory |
|---|---|---|---|---|
| OpenShift | /var/lib/cni/bin | /var/run/multus/cni/net.d | /etc/kubernetes/kubelet-plugins/volume/exec/ | /etc/kubernetes |
| GKE | /home/kubernetes/bin | /etc/cni/net.d | /home/kubernetes/flexvolume/ | /home/kubernetes |
| AKS | /opt/cni/bin | /etc/cni/net.d | /etc/kubernetes/volumeplugins/ | /etc/kubernetes |
| RKE2 | /opt/cni/bin | /etc/cni/net.d | /var/lib/kubelet/volumeplugins/ | /var/lib/kubelet |
| All others | /opt/cni/bin | /etc/cni/net.d | /usr/libexec/kubernetes/kubelet-plugins/volume/exec/ | /usr |
On Windows nodes, the CNI binary and configuration directories default to /k/azurecni/bin and /k/azurecni/netconf on AKS, /Program Files/Amazon/EKS/cni and /Program Files/Amazon/EKS/cni/config on EKS, and /opt/cni/bin and /etc/cni/net.d elsewhere.
The Windows CNI log directory is /var/log/calico/cni.