1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Jim Ehrismann 07c8177a97
Feature/port forward dashboard (#3922)
* Added ability to add custom port on pod and service port forwarding (#3295)

* Added ability to add custom port on pod and service port forwarding

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* Added ability to add custom port on pod and service port forwarding

- pod-container-port fixed init async and active port checking
- service-port-component fixed init async and active port checking
- port-forward-route promise and response fix

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* Added ability to add custom port on pod and service port forwarding

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

* - Added Custom Port Selection for port forwarding
- Implemented Random Port if custom port is not provided

Signed-off-by: rdeepc <12953177+rdeepc@users.noreply.github.com>

Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com>

* cherry-pick of hackweek work plus merge conflicts/build errors

    added a route to get all port forwards

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    Added Forwarded Ports to cluster dashboard

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    working port-forward page (open, edit, remove)

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    added local storage to the port-forward store

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    automatically restore port-forward after pod is restarted

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

    start port-forwards using random local port by default, rearranged pod and service port-forward UI

    Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* refactor

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* more refactoring, don't always open port-forwards in browser, refined reused port-forward dialog

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* removed unimplemented forwarded port details page,modified logging

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* addressed some review comments

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* made port and forwardPort query params and cleaned up port-forward routing paths

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* address more review comments and change dashboard tab name to 'Port Forwarding'

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* changed port and forwardPort fields to be Numbers

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* removed extraneous reset() call, reorder field declarations

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* port-forward now gets the bundled kubectl path without going through the 'ensureKubectl' hoops

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* more cleanup/tweaking

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

* fix bug where port-forward info did not update on pod details page when different pod (in same deployment?) is clicked

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>

Co-authored-by: Saumya Shovan Roy (Deep) <12953177+rdeepc@users.noreply.github.com>
Co-authored-by: Saumya Shovan Roy <saumyashovanroy@gmail.com>
2021-10-07 15:51:26 -04:00
__mocks__ Cleanup integration and unit tests (#3531) 2021-08-03 08:51:52 -04:00
.github use ubuntu 18.04 for builds (#3877) 2021-09-23 15:14:24 +03:00
.vscode VSCode launch configurations for debugging (#2281) 2021-03-09 17:57:55 +02:00
build Automatically check next pre-release channel (#3737) 2021-09-09 09:30:41 +03:00
docs Fix spelling (#3181) 2021-07-16 08:53:01 -04:00
extensions Update extension's package-lock.json files 2021-10-06 15:24:17 -04:00
integration Switch integration tests to get application menus by IDs (#3912) 2021-10-07 15:30:52 -04:00
jsonnet/lens Update jsonnet folder structure to default bundler format (#536) 2021-03-23 08:12:40 -04:00
mkdocs Re-enable strict mode in docs vlidation. Bump mkdocs-material version (#3073) 2021-06-16 15:51:36 +01:00
scripts Release v5.0.0-beta.10 (#3141) 2021-06-22 11:09:51 +03:00
src Feature/port forward dashboard (#3922) 2021-10-07 15:51:26 -04:00
static Extensible welcome page (#2637) 2021-04-27 11:24:39 +03:00
templates/create-resource YAML Templates in Create Resource dock tab (#2327) 2021-04-15 08:19:54 -04:00
test-data add cluster icon migration code (#673) 2020-08-25 16:42:30 +03:00
troubleshooting Update jsonnet folder structure to default bundler format (#536) 2021-03-23 08:12:40 -04:00
types Fix local cluster delete flow (#3473) 2021-09-08 15:06:14 +03:00
.azure-pipelines-k8s-matrix.yml use ubuntu 18.04 for builds (#3877) 2021-09-23 15:14:24 +03:00
.azure-pipelines.yml use ubuntu 18.04 for builds (#3877) 2021-09-23 15:14:24 +03:00
.bundled-extensions.json Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
.eslintrc.js Fix .eslintrc.js (#3648) 2021-08-19 14:29:18 -04:00
.gitignore VSCode launch configurations for debugging (#2281) 2021-03-09 17:57:55 +02:00
.npmrc Add engine to strict node version in package.json (#144) 2020-03-23 16:31:28 +02:00
.yarnrc Update electron to 13.5.1 to fix https://github.com/electron/electron/pull/31215 (#3925) 2021-10-01 11:13:56 +03:00
CODE_OF_CONDUCT.md Add contributing/development pages (#1480) 2020-11-23 11:37:30 +02:00
CONTRIBUTING.md Add contributing/development pages (#1480) 2020-11-23 11:37:30 +02:00
LICENSE Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
license-header Check license header using eslint (#2780) 2021-05-17 09:43:53 -04:00
Makefile Build and release amd64 & arm64 together (macOS) (#3700) 2021-08-31 11:00:27 +03:00
mkdocs.yml Add migration details for extension api docs (#3074) 2021-06-18 11:34:16 -04:00
package.json Bump @types/react-router-dom from 5.1.6 to 5.3.1 (#3976) 2021-10-07 10:09:50 -04:00
postcss.config.js Installing tailwindcss/nesting plugin (#3496) 2021-07-26 10:37:32 +03:00
README.md Don't bundle extension with eula on default build (#2542) 2021-04-20 09:35:37 -04:00
RELEASE_GUIDE.md added details for making a patch release (#3885) 2021-09-27 07:27:42 +03:00
SECURITY.md Add security policy (#2387) 2021-03-25 17:19:45 +02:00
tailwind.config.js Turn on tailwind JIT mode, and upgrade to 2.2.4 (#3297) 2021-07-21 10:08:29 -04:00
tsconfig.json Fix development on M1 (Apple Silicon) (#3759) 2021-09-09 09:31:27 +03:00
typedoc.json Upgrade typedoc (#2940) 2021-06-07 09:51:43 -04:00
webpack.extensions.ts Explicitly initialize registries 2021-06-10 09:34:13 -04:00
webpack.main.ts Fix node-fetch load on renderer (#3836) 2021-09-20 15:15:26 +03:00
webpack.renderer.ts Fix node-fetch load on renderer (#3836) 2021-09-20 15:15:26 +03:00
yarn.lock Bump @types/react-router-dom from 5.1.6 to 5.3.1 (#3976) 2021-10-07 10:09:50 -04:00

Lens Open Source Project (OpenLens)

Build Status Chat on Slack

The Repository

This repository ("OpenLens") is where Team Lens develops the Lens IDE product together with the community. It is backed by a number of Kubernetes and cloud native ecosystem pioneers. This source code is available to everyone under the MIT license.

Lens - The Kubernetes IDE

Lens - The Kubernetes IDE ("Lens IDE") is a distribution of the OpenLens repository with Team Lens specific customizations released under a traditional EULA.

Lens IDE provides the full situational awareness for everything that runs in Kubernetes. It's lowering the barrier of entry for people just getting started and radically improving productivity for people with more experience.

Lens IDE a standalone application for MacOS, Windows and Linux operating systems. You can download it free of charge for Windows, MacOS, and Linux from Lens IDE website.

Screenshot

Installation

See Getting Started page.

Development

See Development page.

Contributing

See Contributing page.