1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

173 Commits

Author SHA1 Message Date
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
Lauri Nevala
7f65f1ea06
Fix CRD api parsing (#622)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-31 09:50:57 -04:00
Sebastian Malton
4bd29a6d88
fix format duration rounding days error (#582)
* fix format duration rounding days error
* added tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-07-15 09:45:52 -04:00
Jussi Nummelin
55687b7d35
Kubeconfigs as file references (#466)
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com>
Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 16:53:23 +03:00
Lauri Nevala
c15aa7972c
Remove redundant applyHeaders method (#469)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-07-03 11:22:58 +03:00
Jari Kolehmainen
69778d5dcc
Show devtools always in menu (#559)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 11:13:53 +03:00
Jari Kolehmainen
097776411f
Use LensDev on development environment (#557)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-07-03 08:32:12 +03:00
Roman
5f4e1253a9
Replace webview tag to iframe (#554)
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-02 17:31:59 +03:00
Roman
d90be46a1f
use common vars in router, minor clean up (#551)
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-02 17:21:38 +03:00
makocchi
336daea333
Add brew cask in README (#548)
Signed-off-by: makocchi-git <makocchi@gmail.com>
2020-07-01 19:50:21 +03:00
Lauri Nevala
9456a696af
Document release process (#532)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-30 15:22:20 +03:00
Roman
b7974827d2
Lens restructure (#540)
Signed-off-by: Roman <ixrock@gmail.com>
2020-06-30 14:35:16 +03:00
makocchi
e810eab39f
Add brew cask in README (#511)
Signed-off-by: makocchi-git <makocchi@gmail.com>
2020-06-26 17:21:33 +03:00
Jari Kolehmainen
c91f608346
Lint dashboard app automatically (#529)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-26 12:05:41 +03:00
Lauri Nevala
e468105143
Release notes for v3.5.1 (#517)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-24 14:05:02 +03:00
Lauri Nevala
907e96c7a0
Fix lint issue (#516) 2020-06-24 13:43:12 +03:00
Jim Ehrismann
cd66a985cc
modified Kubectl.checkBinary() to test the binary for the right version instead of using the eTag (#510)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-06-23 15:54:18 +03:00
Sebastian Malton
6770f05dc8
special case */namespace/* in parseApi, add test (#509) 2020-06-23 15:48:20 +03:00
Sebastian Malton
f620b3198f
Fix pasting unicode into terminal sometimes not working (#492)
* add LANG env with UTF-8 specified

* fix precedence of union of env objects

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-23 08:37:35 -04:00
Lauri Nevala
b8c1d78157
Open external links in web browser (#506) 2020-06-22 23:27:49 +03:00
Sebastian Malton
d821b18346
fix parseApi to not throw and to match apiVersion more specifically (#496)
* remove the explicit throw is new parseApi

* fix parseApi to be more consitent with the older version

- Add many more unit tests (these are exact copies of the old behaviour
  so that any changes do not change behaviour)

- Make explicit, with documentation, why certain actions are being taken
  with the parsing of the api URL parts

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-22 11:55:03 -04:00
Jussi Nummelin
d55803d0c7
Bump master to 3.6.0-dev (#470)
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
2020-06-18 10:38:21 +03:00
Lauri Nevala
f597afb72e
Revert select component (#488)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-17 23:18:39 +03:00
Lauri Nevala
8c471daab6
Update Helm to 3.2.4 (#487)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-17 20:58:10 +03:00
Lauri Nevala
56422983ee
Add pod creation integration test (#449) 2020-06-17 14:20:37 +03:00
Sebastian Malton
1752b8d3d9
Handle invalid metric response properly (#464)
* catch undefined and return default empty in normalizeMetrics

* fix crash on drilldown

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 13:47:01 -04:00
Sebastian Malton
b9ddb503ee
make sure that secret is defined before trying to decode (#479)
Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 13:46:02 -04:00
Jim Ehrismann
d48b463ea7
Merge pull request #453 from jim-docker/issue-393-job-remove-pods-too
Remove related pods when removing Job resource
2020-06-16 11:18:54 -04:00
Sebastian Malton
bce7aec87d
Fix parseAPI not working with non-"namespaces" pathnames. (#450)
* fix parseApi not accepting versions that don't start with 'v'
* add unit tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-16 10:51:39 -04:00
Lauri Nevala
0661954a27
Display namespace defined in kubeconfig always in the namespace selector (#472)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-16 17:46:37 +03:00
Jari Kolehmainen
a608918dce
Add downloads & slack badges (#474)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-16 16:27:28 +03:00
Jari Kolehmainen
bc91df6192
Release v3.5.0 (#463)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-15 20:33:01 +03:00
Jari Kolehmainen
47082adecd
Fix shell env cache (#461)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-15 14:02:44 +03:00
Jim Ehrismann
7479f4eb7d override KubeObject's delete() method in Job class
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
2020-06-12 15:23:19 -04:00
Sebastian Malton
8f0c785f58
Revert "Fix parseApi not accepting versions that don't start with 'v' (#441)" (#448)
This reverts commit 00557c9940.
2020-06-12 07:34:07 +03:00
Sebastian Malton
00557c9940
Fix parseApi not accepting versions that don't start with 'v' (#441)
* fix parseApi not accepting versions that don't start with 'v'

Signed-off-by: Sebastian Malton <smalton@mirantis.com>

Co-authored-by: Sebastian Malton <smalton@mirantis.com>
2020-06-11 13:19:01 -04:00
Jari Kolehmainen
5c5454166f
Release v3.5.0-rc.1 (#446)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 16:59:21 +03:00
Lauri Nevala
1fbca3fcd3
Fix resource lists auto-refresh (#447)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-11 16:22:09 +03:00
Jari Kolehmainen
8e514df70e
Track telemetry pref changed event (#445)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 13:50:43 +03:00
Lauri Nevala
0888ad8c5d
Enable win integration tests (#424)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-11 10:56:43 +03:00
Jari Kolehmainen
5106a4eec1
Fix icon.ico (#440)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-11 07:34:26 +03:00
Lauri Nevala
879186999f
Improve Helm release version detection (#422)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-10 17:07:56 +03:00
Lauri Nevala
78eeef2805
Close proxy server on app quit (#413)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-10 17:00:17 +03:00
Jari Kolehmainen
e8fcff0037
New logo (#423)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-10 12:40:04 +03:00
dependabot[bot]
a36a279bce
Bump websocket-extensions from 0.1.3 to 0.1.4 (#409)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 14:35:03 +03:00
dependabot[bot]
f9e669bc45
Bump websocket-extensions from 0.1.3 to 0.1.4 in /dashboard (#408)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-09 14:34:29 +03:00
Lauri Nevala
247677b740
Remove Helm release update checker (#420)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-09 14:33:46 +03:00
Jari Kolehmainen
deb4bf2f7b
Integration tests using spectron (#410)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-09 13:18:24 +03:00
Lauri Nevala
af24da976b
Kill shell process by pid on Windows (#411)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-06-09 13:16:39 +03:00
Jari Kolehmainen
5af12bdbbd
Add download-bins target to make (#406)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-05 22:47:30 +03:00