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
Jari Kolehmainen
8d2e8bbe62
Delay webview create on cluster page ( #332 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-03 10:29:32 +03:00
Jari Kolehmainen
03aab714d8
Fix no-drag css ( #331 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-01 10:39:53 +03:00
Lauri Nevala
724cf0c687
Allow to select Prometheus query style ( #312 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-05-01 09:37:05 +03:00
Jari Kolehmainen
b371e8e9f8
Fix node shell session regression ( #326 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-30 17:05:45 +03:00
Jari Kolehmainen
0f708c7fc5
improve dashboard reload ( #327 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-30 16:52:04 +03:00
Jari Kolehmainen
260de08c72
Update metrics feature components ( #301 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:41:04 +03:00
Jari Kolehmainen
b8fd4040a1
Terminal tab auto-close fixes ( #314 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:31:22 +03:00
Jari Kolehmainen
105021509c
Cleanup cluster webview loading ( #313 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-28 08:26:27 +03:00
Jari Kolehmainen
81c7590732
Cache terminall shell env ( #274 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-21 19:49:23 +03:00
Lauri Nevala
01e2ef50b1
Update @kubernetes/client-node to 0.11.1 ( #278 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-20 16:17:59 +03:00
Lauri Nevala
ac552087d5
Do not timeout watch requests ( #273 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-19 17:48:14 +03:00
Jari Kolehmainen
298636b8f1
Fix default workspace remove ( #242 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-13 18:21:25 +03:00
Jari Kolehmainen
d80e956870
Fix use of bundled kubectl ( #241 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-11 17:48:29 +03:00
Miska Kaipiainen
758034f61a
Clean up legacy references to Kontena ( #216 )
...
Signed-off-by: Miska Kaipiainen <miska.kaipiainen@gmail.com>
2020-04-11 14:38:53 +03:00
Jari Kolehmainen
806d8c6716
Initial port-forward implementation for services ( #231 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-10 11:05:37 +03:00
Jari Kolehmainen
8c348f076e
Fix bundled helm3 binary on windows ( #233 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-09 17:58:12 +03:00
Jari Kolehmainen
f23da9ccad
Bundle helm3 binary ( #220 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-06 18:18:18 +03:00
Jari Kolehmainen
2593f70184
Always end watch stream if connection to kube-api ends ( #217 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-04 18:26:42 +03:00
Lauri Nevala
b95e45b75b
Catch ipc errors on proxy exit ( #214 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-03 19:50:41 +03:00
Christopher Biggs
70abf73176
SelfSubjectAccessReview use 'pods' resource ( #204 )
...
Signed-off-by: Christopher biggs <christopher.l.biggs@gmail.com>
2020-04-03 19:44:50 +03:00
Lauri Nevala
eab8231f92
Send Content-Type header on response for asset request ( #190 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-01 07:20:40 +03:00
Jari Kolehmainen
5c2e64b487
Add kubectl/helm download mirror select to preferences ( #185 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-04-01 07:19:10 +03:00
Lauri Nevala
f432d7e2c0
Unlink binary download on error properly ( #162 )
...
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-03-27 07:40:31 +02:00
Jari Kolehmainen
39fdcdb54a
Don't retry metrics on 404 status code ( #152 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-24 19:06:56 +02:00
Jari Kolehmainen
1aaa695cfe
Refactor dashboard server logic to electron main ( #146 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-24 07:37:47 +02:00
Krakaw
a35eedd17c
Updated manifest metric preview url
...
Signed-off-by: Krakaw <41575888+Krakaw@users.noreply.github.com>
2020-03-17 14:57:43 +02:00
Jari Kolehmainen
1d0815abd2
Lens app source code ( #119 )
...
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00