lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.5k stars 1.46k forks source link

Metric: Don't use hostPath-volumes with path "/" #501

Open sebschlue opened 4 years ago

sebschlue commented 4 years ago

In my test environment consisting of three nodes running k3s 1.18.3 on top of CentOS 7.8 having Pods use something like

      volumes:
        - name: proc
          hostPath:
            path: /proc
        - name: sys
          hostPath:
            path: /sys
        - name: root
          hostPath:
            path: /

causes severe problems at all Pods being stuck in state "Terminating" forever due to "device or resource busy" errors.

This has been discussed in other projects as well, for instance, there have been similar tickets at rook-ceph project, where this has been fixed since then.

Nokel81 commented 3 years ago

Is this something related to how we spin up the metrics feature?