#Pods page problems with api and missing stop button

1 messages · Page 1 of 1 (latest)

fair pivot
#

Hi, the pods page is having some problems - it keeps hammering an api that seems to be defunct (hapi) [image]
It seems to be attempting to load updated status of individual pods and it always fails, only gets updated in some aggregate full update, idk. seems a bit of a mess with the apis.

Also a [Stop] button for running pods would be nice, idk if it's overlooked or by design but it's annoying having to go to cli every time to stop a pod (instead of terminating it)

I've made a script (using the graphql api) to augment this but would be nice to have it built-in

#

script: https://0bin.net/paste/pxD77Bly#1rjp0+kbmQXCH1lyLg49r3EOl1eMgSqaWXGSOXVnmtT

adds a stop button to pods that are running/starting while dynamically reacting to list changes - though hackarounding and monkey patching the dom of react apps is never an ideal solution (not to mention reliance on layout and css classnames)

dapper stirrup
#

you should be able to stop pod from ui. Note if you use network storage it will be terminate only

fair pivot
#

I use Network Storage and I use stop via api/cli and it works .o0

dawn sedge
#

The API allows it but its not in the UI purposefully by design

fair pivot
#

I see. can I keep using the stop method then or is there an important reason to use terminate?

dawn sedge
fair pivot
#

I see. works for me so far 🙂

#

the hapi issue still stands but probably not very important

strange saffron
dawn sedge
#

Just because it doesn't affect website functionality doesn't mean its right, if hundreds/thousands of browsers are doing that, it will cause a DDoS attack on the API.

strange saffron
#

whats right?