/lens

Lens - The Kubernetes IDE

Primary LanguageTypeScriptOtherNOASSERTION

Lens | The Kubernetes IDE

Build Status Releases Chat on Slack

Lens is the only IDE you’ll 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 for faster separate re-runs of some of the more involved processes:

  1. yarn dev:main compiles electron's main process app part
  2. yarn dev:renderer compiles electron's renderer app part
  3. yarn dev:extension-types compile declaration types for @k8slens/extensions
  4. yarn dev-run runs app in dev-mode and auto-restart when main process file has changed

Development (documentation)

Run a local instance of mkdocs serve in a docker container for developing the Lens Documentation.

Prerequisites: docker, yarn

  • yarn mkdocs-serve-local - local build and serve of mkdocs with auto update enabled

Go to localhost:8000

Developer's RTFM recommended list:

Contributing

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