1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Jakub Štiller ec67289fb1 Fix CPU/Memory usage metrics when using prometheus operator.
Cluster CPU and Memory usage cannot be sum by node as it is rendered as single cluster metrics. Without this changes, the cluster graphs (standard and pie) shows data only from first (or latest) nodes.

For pod specific metrics, when we use prometheus operator the `container_` metics are doubled. Restric search to get those have image tag.

Signed-off-by: Jakub Štiller <stiller@2n.cz>
2020-08-18 11:54:53 +02:00
__mocks__ Lens restructure (#540) 2020-06-30 14:35:16 +03:00
.github Lens restructure (#540) 2020-06-30 14:35:16 +03:00
build Lens restructure (#540) 2020-06-30 14:35:16 +03:00
integration Lens restructure (#540) 2020-06-30 14:35:16 +03:00
jsonnet Fix serviceMonitorKubelet's metricRelabelings (#225) 2020-04-10 11:05:18 +03:00
locales Lens restructure (#540) 2020-06-30 14:35:16 +03:00
src Fix CPU/Memory usage metrics when using prometheus operator. 2020-08-18 11:54:53 +02:00
static Release notes for v3.5.1 (#517) 2020-06-24 14:05:02 +03:00
troubleshooting Fix typo in documentation (#316) 2020-04-29 18:27:32 +03:00
types use common vars in router, minor clean up (#551) 2020-07-02 17:21:38 +03:00
.azure-pipelines.yml Lens restructure (#540) 2020-06-30 14:35:16 +03:00
.babelrc Lens restructure (#540) 2020-06-30 14:35:16 +03:00
.eslintrc.js Lens restructure (#540) 2020-06-30 14:35:16 +03:00
.gitignore Lens restructure (#540) 2020-06-30 14:35:16 +03:00
.npmrc Add engine to strict node version in package.json (#144) 2020-03-23 16:31:28 +02:00
.yarnrc Lens restructure (#540) 2020-06-30 14:35:16 +03:00
LICENSE Lens app source code (#119) 2020-03-15 09:52:02 +02:00
Makefile Lens restructure (#540) 2020-06-30 14:35:16 +03:00
package.json Lens restructure (#540) 2020-06-30 14:35:16 +03:00
README.md Add brew cask in README (#548) 2020-07-01 19:50:21 +03:00
RELEASE_GUIDE.md Document release process (#532) 2020-06-30 15:22:20 +03:00
tsconfig.json fix format duration rounding days error (#582) 2020-07-15 09:45:52 -04:00
webpack.dll.ts Lens restructure (#540) 2020-06-30 14:35:16 +03:00
webpack.main.ts Lens restructure (#540) 2020-06-30 14:35:16 +03:00
webpack.renderer.ts Lens restructure (#540) 2020-06-30 14:35:16 +03:00
yarn.lock Lens restructure (#540) 2020-06-30 14:35:16 +03:00

Lens | The Kubernetes IDE

Build Status Releases Chat on Slack

Lens is the only IDE youll ever need to take control of your Kubernetes clusters. It is a standalone application for MacOS, Windows and Linux operating systems. It is open source and free.

Screenshot

What makes Lens special?

  • Amazing usability and end user experience
  • Multi cluster management; Support for hundreds of clusters
  • Standalone application; No need to install anything in-cluster
  • Real-time cluster state visualization
  • Resource utilization charts and trends with history powered by built-in Prometheus
  • Terminal access to nodes and containers
  • Performance optimized to handle massive clusters (tested with a cluster running 25k pods)
  • Full support for Kubernetes RBAC

Installation

Download a pre-built package from the releases page. Lens can be also installed via snapcraft (Linux only).

Alternatively on Mac:

brew cask install lens

Development

Prerequisites: Nodejs v12, make, yarn

  • make init - initial compilation, installing deps, etc.
  • make dev - builds and starts the app
  • make test - run tests

Development (advanced)

Allows faster separately re-run some of involved processes:

  1. yarn dev:main compiles electron's main process and watch files
  2. yarn dev:renderer:vue compiles electron's renderer vue-part
  3. yarn dev:renderer:react compiles electron's renderer react-part
  4. yarn dev-run runs app in dev-mode and restarts when electron's main process file has changed

Alternatively to compile both render parts in single command use yarn dev:renderer

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/lensapp/lens.