Roman
4de50d6083
Merge branch 'fix-1898/watch-api-streaming' into fix/store.loadAll
...
# Conflicts:
# src/renderer/api/kube-watch-api.ts
2021-01-28 17:47:26 +02:00
Roman
bbf9b7af32
kubeWatchApi refactoring / fine-tuning
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-28 17:45:48 +02:00
Roman
70daac0074
detach namespace-store from kube-watch-api.ts, preload all namespaces by default with store.loadAll
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-27 18:48:38 +02:00
Roman
78260278c0
Merge remote-tracking branch 'origin/master' into fix-1898/watch-api-streaming
...
# Conflicts:
# src/renderer/components/app.tsx
2021-01-27 18:23:20 +02:00
Alex Andreev
a157eb03e6
Generic logs view with Pod selector ( #1984 )
...
* Adding LogTabStore
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding Pod selector in logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refresh containers on pod change
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding <LogResourceSelector /> tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding LogTabStore tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Clearn getPodsByOwnerId method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Extracting dummy pods into mock file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Eliminating containers and initContainers from store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Refreshing tab pods if pod amount is changed in store
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* A bit of cleaning up, fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fix lint newline errors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Return getPodsByOwner() method
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Rename log tab when pod changes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-27 17:20:02 +03:00
Jari Kolehmainen
724c6c3265
Fix extension cluster submenu re-render ( #1996 ) ( #2027 )
...
* fix extension cluster pages re-render when they are registered as a sub-menu item
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* lint fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-27 16:15:13 +02:00
Roman
99afe46a5e
added explicit preload: true when subscribing stores
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-26 16:07:25 +02:00
Alex Andreev
9191d6bfd9
Always shows .menu table column ( #2024 )
...
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-26 16:30:26 +03:00
Roman
5bc3eab366
lint fix
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-26 15:27:12 +02:00
Roman
b1fac0d727
use plimit + delay for k8s watch requests
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-26 15:26:07 +02:00
Roman
03794e6c38
refactoring / clean up
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-26 14:51:35 +02:00
Roman
4ddd32b05f
Merge remote-tracking branch 'origin/master' into fix-1898/watch-api-streaming
2021-01-26 14:10:47 +02:00
Roman
8f80c0ca45
split concurrent watch-api requests by 10 at a time + 150ms delay before next call
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-25 18:33:43 +02:00
Roman
acd8940e0d
check connection every 5m
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-25 15:08:04 +02:00
Roman
14a0c9cdca
auto-reconnect on online/offline status change, interval connection check
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-25 14:52:22 +02:00
Roman
632e77b263
store subscribing refactoring -- part 4
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-25 13:34:57 +02:00
Roman
b690a27ebe
store subscribing refactoring -- part 3
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-23 20:31:11 +02:00
Alex
9da349ce42
Display CPU usage percentage with 2 decimal points ( #2000 )
...
Signed-off-by: Alex Culliere <alozhkin@mirantis.com >
2021-01-22 16:51:42 +02:00
Roman
7b4e060067
Merge branch 'master' into fix-1898/watch-api-streaming
...
# Conflicts:
# src/renderer/api/kube-watch-api.ts
# src/renderer/components/+namespaces/namespace.store.ts
# src/renderer/components/+workloads-overview/overview.tsx
# src/renderer/components/item-object-list/item-list-layout.tsx
2021-01-22 14:32:17 +02:00
Roman
1f4599ee50
store subscribing refactoring -- part 2
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-22 14:08:42 +02:00
Roman
f8c111ddd8
Load k8s resources only for selected namespaces ( #1918 )
...
* loading k8s resources into stores per selected namespaces -- part 1
Signed-off-by: Roman <ixrock@gmail.com >
* loading k8s resources into stores per selected namespaces -- part 2
- fix: generating helm chart id
Signed-off-by: Roman <ixrock@gmail.com >
* loading k8s resources into stores per selected namespaces -- part 3
Signed-off-by: Roman <ixrock@gmail.com >
* fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes / responding to comments
Signed-off-by: Roman <ixrock@gmail.com >
* chore / small fixes
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
* make lint happy
Signed-off-by: Roman <ixrock@gmail.com >
* reset store on loading error
Signed-off-by: Roman <ixrock@gmail.com >
* added new cluster method: cluster.isAllowedResource
Signed-off-by: Roman <ixrock@gmail.com >
* fix: loading namespaces optimizations
Signed-off-by: Roman <ixrock@gmail.com >
* fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-22 13:18:46 +02:00
Alex Andreev
a92ed46f0d
Fixing tolerations list layout ( #2002 )
...
* Expanding tolerations div width
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding tolerations table
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing tolerations table styles
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Adding <PodTolerations/> tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Add new line at the end of the file for linter
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-22 10:27:54 +03:00
Roman
3e005fc611
store subscribing refactoring -- part 1
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-21 18:48:17 +02:00
Sebastian Malton
2e2283bcc9
enfore unix line endings and always ending files with line endings ( #1997 )
...
Signed-off-by: Sebastian Malton <sebastian@malton.name >
2021-01-21 08:09:41 -05:00
Alex Andreev
64be4ee948
Fixing log tab layout colors ( #1995 )
...
* Making "since" date visible as bolded text
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing colors in log tab elements
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-21 10:38:49 +03:00
Alex
55759fb3b8
Add age column to cluster overview ( #1970 )
...
Signed-off-by: Alex Culliere <alozhkin@mirantis.com >
2021-01-20 14:31:20 +02:00
Roman
139ea14a31
Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming
2021-01-19 17:49:02 +02:00
Roman
5403717107
Merge remote-tracking branch 'origin/master' into load_resources_per_namespaces
2021-01-19 17:47:42 +02:00
Roman
6b7678a7a1
Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming
2021-01-19 17:45:53 +02:00
Roman
9b031b7c68
fix: parse json stream chunks at client-side (might be partial, depends on network speed)
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-19 17:29:03 +02:00
Roman
d8e088f352
fix: chart.digest is the same for all charts and not suited as unique id ( #1964 )
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-19 14:15:37 +02:00
Jari Kolehmainen
31aa3cb571
Enable default workspace on first boot ( #1965 )
...
* enable default workspace on first boot
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* refactor
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
* use get/set
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com >
2021-01-19 06:30:05 +02:00
Roman
3a3bd26fbe
fine-tuning
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-18 17:25:22 +02:00
Roman
1a3a215118
fix: mobx issue with accessing empty observable array by index (removes warning), use common logger
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-18 16:25:57 +02:00
Roman
de4226a24a
fix: parse multiple kube-events from stream's chunk
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-18 15:15:04 +02:00
Roman
34d8fa4c69
Merge branch 'master' into fix-1898/watch-api-streaming
2021-01-18 14:22:36 +02:00
Roman
6cdf21e44b
fixes & refactoring
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-15 16:35:47 +02:00
Lauri Nevala
0117cecc33
Prevent initializing clusters multiple times ( #1950 )
...
* Prevent initializing clusters multiple times
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Do not expose intializing to cluster state
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
* Convert initializing to observable and ensure it is set to false after init
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com >
2021-01-15 16:11:41 +02:00
Alex Andreev
83ed44f670
Adding logs tab bottom toolbar ( #1951 )
...
* Adding bottom toolbar to logs tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Making bottom toolbar responsive
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Using generic search input clear button
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
* Fixing log test selectors
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com >
2021-01-15 11:34:11 +03:00
Roman
4086b8d603
Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming
2021-01-14 20:52:18 +02:00
Roman
31f1ebca61
fix: loading namespaces optimizations
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-14 20:43:17 +02:00
Roman
a93d6ee123
Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming
2021-01-14 15:48:59 +02:00
Roman
cc8897e6e7
added new cluster method: cluster.isAllowedResource
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-14 15:19:06 +02:00
Roman
da3aa618d7
reset store on loading error
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-14 14:51:56 +02:00
Roman
76ee3656a2
Merge remote-tracking branch 'origin/master' into load_resources_per_namespaces
...
# Conflicts:
# src/common/rbac.ts
2021-01-14 14:06:26 +02:00
Violetta
c48816ca5c
Add support for LimitRange ( #1796 )
...
Signed-off-by: vshakirova <vshakirova@mirantis.com >
2021-01-14 11:49:39 +03:00
Roman
195f911342
Merge branch 'load_resources_per_namespaces' into fix-1898/watch-api-streaming
2021-01-13 18:33:13 +02:00
Roman
0b1ceb9c0b
make lint happy
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-13 18:31:32 +02:00
Roman
ff89638787
Merge remote-tracking branch 'origin/master' into load_resources_per_namespaces
...
# Conflicts:
# src/renderer/components/item-object-list/item-list-layout.tsx
2021-01-13 18:24:58 +02:00
Roman
5a76c2f331
fixes & refactoring
...
Signed-off-by: Roman <ixrock@gmail.com >
2021-01-13 18:23:15 +02:00