Colleen Murphy
ada5b33d98
Return websocket error and add logging for watches
...
Add debug logs and send websocket messages when the watch is closed
unexpectedly.
In addition to being helpful for debugging, the dashboard specifically
looks for a `resource.error` event containing the string "too old" in
order to trigger the watch to be resynced with a refreshed revision
number. Without this error returned, the dashboard will only see
`resource.stop` events and never change its behavior, continuing to try
to restart the watch with an incorrect resource version.
2022-06-13 15:54:40 -07:00
Ricardo Weir
e9472ecc34
Add metrics
2022-02-14 17:39:37 -07:00
michelia
42c575a009
Fixed errors in obtaining object relationships
...
Issue: https://github.com/harvester/harvester/issues/1857
2022-01-26 19:31:03 +08:00
CMC
fea67065db
feat: support k8s version less than 1.16
2021-11-25 16:16:20 +08:00
Darren Shepherd
0414d4acf5
If the user doesn't specify a resourceVersion default to "" not latest
2021-08-10 10:43:34 -07:00
Darren Shepherd
9f5d802708
Cleanup schema change reporting
2021-08-09 16:47:09 -07:00
Darren Shepherd
eba8358f2a
Fix issues when creating clusterrolebindings to namespaces objects
2021-07-23 23:46:03 -07:00
Darren Shepherd
3df58506a2
Add ability to get dynamic client
2020-10-30 16:08:28 -07:00
Darren Shepherd
a8ce2f5ec8
Ensure we send an error when the resource version is too old.
2020-09-27 17:51:52 -07:00
Darren Shepherd
9b7fcc9a01
Use local scheme for parameter decoding
2020-09-09 15:19:21 -07:00
Darren Shepherd
a3fbe499d1
testing
2020-07-24 01:42:00 -07:00
Darren Shepherd
4e81175966
Reenabled events
2020-07-20 09:21:18 -07:00
Darren Shepherd
34e6de07fb
Make notifier optional
2020-07-14 13:28:21 -07:00
Darren Shepherd
a9c39ef89b
Support watching names and selector
2020-06-22 09:42:18 -07:00
Darren Shepherd
d796ed60a7
Show resource relationships
2020-06-22 08:49:49 -07:00
Darren Shepherd
5c768508bb
Fix broken create.
2020-06-12 14:18:13 -07:00
Darren Shepherd
d1a7dbb0b9
Shuffle around code and use rancher/apiserver
2020-06-11 21:51:19 -07:00