1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Alexis Deruelle 6412d73a5a
Fix port availability test (#333)
* Let OS allocate port number

Port availability might be tricky if some port is already in use on the
'all' interface '0.0.0.0'.

The proposed solution is to let the OS allocate the port for us using 0
as port specifier :

- first create a server instance to allocate a port number
- save port number
- close the server
- return the port number to the caller

This should be safe granted the OS doesn't reuse the port numbers on
consecutive port allocations.

see :
- about Node.js Net module : https://nodejs.org/docs/latest-v12.x/api/net.html#net_server_listen_port_host_backlog_callback
- about safety around reusing port number : https://unix.stackexchange.com/a/132524

Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2020-05-05 07:31:58 +03:00
__mocks__ Fix use of bundled kubectl (#241) 2020-04-11 17:48:29 +03:00
.github/ISSUE_TEMPLATE Clean up legacy references to Kontena (#216) 2020-04-11 14:38:53 +03:00
build Bundle helm3 binary (#220) 2020-04-06 18:18:18 +03:00
dashboard Fix EndpointSubset.toString() to work without ports (#336) 2020-05-05 07:31:08 +03:00
images Update readme (#30) 2019-08-08 10:59:26 +03:00
jsonnet Fix serviceMonitorKubelet's metricRelabelings (#225) 2020-04-10 11:05:18 +03:00
spec/src Fix port availability test (#333) 2020-05-05 07:31:58 +03:00
src Fix port availability test (#333) 2020-05-05 07:31:58 +03:00
static Release v3.4.0-beta.2 (#330) 2020-04-30 18:14:23 +03:00
troubleshooting Fix typo in documentation (#316) 2020-04-29 18:27:32 +03:00
types Lens app source code (#119) 2020-03-15 09:52:02 +02:00
.azure-pipelines.yml Release v3.1.0-beta.1 (#153) 2020-03-25 07:40:37 +02:00
.eslintrc.js Bundle helm3 binary (#220) 2020-04-06 18:18:18 +03:00
.gitignore Lens app source code (#119) 2020-03-15 09:52:02 +02:00
.npmrc Add engine to strict node version in package.json (#144) 2020-03-23 16:31:28 +02:00
.yarnrc Electron 6.1.10 (#263) 2020-04-16 17:13:51 +03:00
LICENSE Lens app source code (#119) 2020-03-15 09:52:02 +02:00
Makefile Windows build fix (#159) 2020-03-26 20:40:36 +02:00
package.json Release v3.4.0-beta.2 (#330) 2020-04-30 18:14:23 +03:00
README.md README: remove excess bracket (#206) 2020-04-02 20:04:55 +03:00
tsconfig.json Lens app source code (#119) 2020-03-15 09:52:02 +02:00
yarn.lock Update @kubernetes/client-node to 0.11.1 (#278) 2020-04-20 16:17:59 +03:00

Lens | The Kubernetes IDE

Build Status

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).

Development

Prerequisities: Nodejs v12, make, yarn

  • make dev - builds and starts the app
  • make test - run tests

Contributing

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