lensapp / lens

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

Operational Readiness Check warning on Digital Ocean cluster #6447

Open DanRStevens opened 2 years ago

DanRStevens commented 2 years ago

Installing Lens Metrics on a Digital Ocean hosted Kubernetes cluster results in Operational Readiness Check warnings in the Digital Ocean web interface for the cluster.

To Reproduce Steps to reproduce the behavior:

  1. Install Lens Metrics on a cluster
    • Right-click on cluster -> Settings -> Lens Metrics
      • Enable bundled Prometheus metrics stack
      • Enable bundled kube-state-metrics stack
    • Apply
  2. Visit the Digital Ocean web interface for the cluster
    • Kubernetes -> Cluster name -> Scroll to Operational Readiness Checks -> Run Check
  3. Wait for report, click View Issue Details, see error

Expected behavior Expect Prometheus to be installed without cluster warnings.

Screenshots image

Environment (please complete the following information):

Additional context According to the Digital Ocean documentation, the Operational Readiness checks works using clusterlint

I believe the error shown above relates to Issue #5594.

Nokel81 commented 2 years ago

5.0.0-latest-20210629.3 is a very old version of Lens, If you use the latest version from k8slens.dev does this still happen?

DanRStevens commented 2 years ago

Looks like my installation was a little over a year old. I updated to Lens 6 (Lens-2022.10.181357-latest). I uninstalled the Lens Metrics options, checked they were removed, then re-installed them, and checked that new pods were created with a new creation time. The problem persists, the same as before.

Set resource requests and limits for container chown to prevent resource contention Resources pod: prometheus-0 (prometheus)

zafai commented 1 year ago

We are facing the same problem