Skip to content

Commit 10c650a

Browse files
authored
Add notes about kubeletDirs for Tanzu/Huawei/IBM (#287)
* Add notes about kubeletDirs for Tanzu/Huawei/IBM Fixes #286 Copied over from secret-operator * Ignore RUSTSEC-2025-0012 for now
1 parent 922273d commit 10c650a

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

deny.toml

+9
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ ignore = [
2929
#
3030
# TODO: Remove after https://github.com/kube-rs/kube/pull/1652 is merged
3131
"RUSTSEC-2024-0384",
32+
33+
# https://rustsec.org/advisories/RUSTSEC-2025-0012
34+
# "backoff" is unmainted.
35+
#
36+
# Upstream (kube) has switched to backon in 0.99.0, and an upgrade is scheduled on our end. In the meantime,
37+
# this is a very low-severity problem.
38+
#
39+
# TODO: Remove after upgrading to kube 0.99.
40+
"RUSTSEC-2025-0012",
3241
]
3342

3443
[bans]

docs/modules/listener-operator/pages/installation.adoc

+21
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,24 @@ You're now ready to expose services!
4141
Microk8s uses a non-standard Kubelet state directory.
4242
Installing listener-operator on Microk8s requires the argument
4343
`--set kubeletDir=/var/snap/microk8s/common/var/lib/kubelet` to be added to the `helm install` command.
44+
45+
=== HUAWEI cloud
46+
47+
In some cases HUAWEI cloud has the kubelet directory located at `/mnt/paas/kubernetes/kubelet`, resulting in the following error:
48+
49+
`failed to publish volume error=status: Unavailable, message: "failed to create secret parent dir /mnt/paas/kubernetes/kubelet/pods/<POD_ID>/volumes/kubernetes.io~csi/pvc-<PVC_ID>/mount: No such file or directory (os error 2)"`
50+
51+
In case you are encountering the mentioned error (or listener-operator does not work on your HUAWEI cloud at all), you need to add the argument `--set kubeletDir=/mnt/paas/kubernetes/kubelet` to the `helm install` command.
52+
53+
=== IBM cloud
54+
55+
In some cases IBM cloud has the kubelet directory located at `/var/data/kubelet/`, resulting in the following error:
56+
57+
`failed to publish volume error=status: Unavailable, message: "failed to create secret parent dir /var/data/kubelet/pods/<POD_ID>/volumes/kubernetes.io~csi/pvc-<PVC_ID>/mount: No such file or directory (os error 2)"`
58+
59+
In case you are encountering the mentioned error (or listener-operator does not work on your IBM cloud at all), you need to add the argument `--set kubeletDir=/var/data/kubelet` to the `helm install` command.
60+
61+
=== VMware Tanzu
62+
63+
VMware Tanzu uses a non-standard Kubelet state directory. Installing listener-operator on Tanzu requires the argument
64+
`--set kubeletDir=/var/vcap/data/kubelet` to be added to the `helm install` command.

0 commit comments

Comments
 (0)