1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Go to file
Sebastian Malton 8db9251718 Fix pod loading under some more RBAC restrictions
- Correctly handle the case where `undefined` is returned by the fetch
  because of a 403: Unauthorized being returned from the Kube Api due to
  only having list permissions in some of the namespaces

- Fix rendering of Pod Secrets in the details view to handle correctly
  the case where the user doesn't have list or get secrets permissions

- Remove CancelablePromise<T> as it was only used in one place and the
  return types where wrong causing a crash while debugging the above.

- Move HelmChartDetails to create its own AbortController for cancelling
  its request itself as that was the only instance of the cancel()
  method being called

- Significantly improve the typing of `isJsonApiData` and
  `isJsonApiDataList` so that they actually make sure that the form of
  the data matches the assertion they make. This also removes a crash
  from incorrectly assuming that `any` could not be `undefined`.

- Add tests for the above two functions

- Significantly improve the readability of the isKubeJson* functions

- add doc comments for `ItemStore.prototype.sortItems`

- add many more helper functions for type narrowing

- Add some more handling of error cases with RBAC

- Add notifications when errors occur (which leave lists in the loading
  state)

- properly set response codes when an error occurs for listing helm
  releases

- support kube API 1.20 with now optional selfLink

- fix KubeObjectStore.subscribe not waiting for the corisponding load to occur

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-02-26 10:38:17 -05:00
__mocks__ enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
.dependabot add custom configuration for dependabot (#1973) 2021-02-04 13:16:06 -05:00
.github Fix snap packaging (#2081) 2021-02-04 10:29:35 +02:00
build Make macOs app icon a bit smaller (#2094) 2021-02-08 20:02:05 +02:00
docs Add lens:// protocol handling with a routing mechanism (#1949) 2021-02-25 09:32:40 -05:00
extensions Activate survey extension only on main renderer (#2145) 2021-02-12 19:04:12 +02:00
integration Fix snap packaging (#2081) 2021-02-04 10:29:35 +02:00
jsonnet Fix serviceMonitorKubelet's metricRelabelings (#225) 2020-04-10 11:05:18 +03:00
mkdocs Documentation (MKDOCS) (#1230) 2020-11-05 16:38:56 +02:00
scripts Add lens:// protocol handling with a routing mechanism (#1949) 2021-02-25 09:32:40 -05:00
src Fix pod loading under some more RBAC restrictions 2021-02-26 10:38:17 -05:00
static Release v4.1.0 (#2162) 2021-02-16 19:25:38 +02:00
test-data add cluster icon migration code (#673) 2020-08-25 16:42:30 +03:00
troubleshooting Fix typo in documentation (#316) 2020-04-29 18:27:32 +03:00
types enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
.azure-pipelines-k8s-matrix.yml Test different kube versions (#1806) 2020-12-18 12:41:17 +02:00
.azure-pipelines.yml Fix azure pipeline integration test exit code (#1980) 2021-01-25 09:33:08 +02:00
.eslintrc.js enfore unix line endings and always ending files with line endings (#1997) 2021-01-21 08:09:41 -05:00
.gitignore gitignore .vscode (#1599) 2021-01-08 22:20:44 -05:00
.npmrc Add engine to strict node version in package.json (#144) 2020-03-23 16:31:28 +02:00
.yarnrc Migrating Vue components to React and stores refactoring (#585) 2020-08-20 08:53:07 +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 update license: cover docs under creative commons (#1154) 2020-10-27 15:45:15 +02:00
Makefile Add lens:// protocol handling with a routing mechanism (#1949) 2021-02-25 09:32:40 -05:00
mkdocs.yml Rework extensions guides (#1802) 2021-01-15 12:41:03 -05:00
package.json Add lens:// protocol handling with a routing mechanism (#1949) 2021-02-25 09:32:40 -05:00
README.md Update intro video links (#1842) 2020-12-22 19:58:57 +02:00
RELEASE_GUIDE.md Document release process (#532) 2020-06-30 15:22:20 +03:00
tsconfig.json set "allowJs" to false in tsconfig (#1377) 2020-11-16 10:43:22 -05:00
webpack.extensions.ts Fix: export Dialog to extensions-api (#2105) 2021-02-09 17:33:27 +02:00
webpack.main.ts Fix getExtensionPageUrl on Windows (#1609) 2020-12-02 13:09:47 +02:00
webpack.renderer.ts Remove lingui (#1874) 2020-12-29 14:53:34 +02:00
yarn.lock Add lens:// protocol handling with a routing mechanism (#1949) 2021-02-25 09:32:40 -05:00

Lens | The Kubernetes IDE

Build Status Releases Chat on Slack

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

The Lens open source project is backed by a number of Kubernetes and cloud native ecosystem pioneers. It's a standalone application for MacOS, Windows and Linux operating systems. Lens is 100% open source and free of charge for any purpose.

Screenshot

What makes Lens special?

  • Amazing usability and end-user experience
  • Unified, secure, multi-cluster management on any platform: support for hundreds of clusters
  • Standalone application: no need to install anything in-cluster
  • Lens installs anywhere, elimanting the need to wrangle credentials
  • Real-time cluster state visualization
  • Resource utilization charts and trends with history powered by built-in Prometheus
  • Smart terminal access to nodes and containers
  • Clusters can be local (e.g. minikube) or external (e.g. EKS, GKE, AKS)
  • Performance optimized to handle massive clusters (tested with a cluster running 25k pods)
  • RBAC security is preserved, as Lens uses the standard Kubernetes API
  • Lens Extensions are used to add custom visualizations and functionality to accelerate development workflows for all the technologies and services that integrate with Kubernetes
  • Port forwarding
  • Helm package deployment: Browse and deploy Helm charts with one click-Install
  • Extensions via Lens Extensions API

Installation

See Getting Started page.

Development

See Development page.

Contributing

See Contributing page.