fix: Drop host: localhost in probes to better fulfill PSA#1037
fix: Drop host: localhost in probes to better fulfill PSA#1037mkilchhofer wants to merge 1 commit into
host: localhost in probes to better fulfill PSA#1037Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mkilchhofer The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @mkilchhofer! |
|
Hi @mkilchhofer. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
214e70e to
ce11234
Compare
|
latest chart config has changed, pls run "helm package charts/latest/csi-driver-nfs -d charts/latest/" to update tgz file |
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
ce11234 to
aa230ef
Compare
|
Hi @andyzhangx Thanks for your review. Sure, I added the requested change :) |
|
I noticed that binding the livenessProbes containers to $ kubectl get events
...
2m46s Warning Unhealthy pod/csi-nfs-controller-56dd6b6bdc-brdp9 Liveness probe failed: Get "http://192.168.92.34:29652/healthz": dial tcp 192.168.92.34:29652: connect: connection refused
8m Warning Unhealthy pod/csi-nfs-node-4gchq Liveness probe failed: Get "http://192.168.92.33:29653/healthz": dial tcp 192.168.92.33:29653: connect: connection refused
3m3s Warning Unhealthy pod/csi-nfs-node-8xwqj Liveness probe failed: Get "http://192.168.92.34:29653/healthz": dial tcp 192.168.92.34:29653: connect: connection refused
115s Warning Unhealthy pod/csi-nfs-node-dwbjw Liveness probe failed: Get "http://192.168.92.32:29653/healthz": dial tcp 192.168.92.32:29653: connect: connection refused
55s Warning Unhealthy pod/csi-nfs-node-wrx86 Liveness probe failed: Get "http://192.168.92.31:29653/healthz": dial tcp 192.168.92.31:29653: connect: connection refused
...Not sure how other drivers implement this (do they bind on 0.0.0.0 ?) core@k3s-node3 ~ $ sudo netstat -tulpn | egrep '29652|29653'
tcp 0 0 127.0.0.1:29653 0.0.0.0:* LISTEN 1717676/livenesspro
tcp 0 0 127.0.0.1:29652 0.0.0.0:* LISTEN 1718505/livenesspro |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
In the PSS (pod security standards), starting for Kubernetes >=1.34, it is advised not to use the
hostfield.The CSI driver periphery from the CSI ecosystem runs perfectly without these fields (I use AWS EBS CSI and AWS EFS CSI).
Which issue(s) this PR fixes:
n/a
Special notes for your reviewer:
Looks kinda like a regression introduced by:
/cc: @ajhetherington (since you implemented the mentioned PR)
Does this PR introduce a user-facing change?: