cyclops icon indicating copy to clipboard operation
cyclops copied to clipboard

Add restart button

Open petar-cvit opened this issue 1 year ago • 6 comments
trafficstars

Is your feature request related to a problem? Please describe. K8s resources like Deployments, Statefulsets and Daemonsets can be restarted and the scope of the issue is to implement a button that would call a restart endpoint for those resources.

Restart endpoint has already been implemented on the Cyclops backend as part of #342 (PR #406). When the button is cliked, it should call the following endpoint with the POST method:

resources/restart?group=apps&version=v1&kind=<Deployment, StatefulSet or DaemonSet>&name=<name>&namespace=<namespace>

petar-cvit avatar Jul 23 '24 13:07 petar-cvit

Will take this up!

RS-labhub avatar Jul 24 '24 03:07 RS-labhub

Sure @RS-labhub

petar-cvit avatar Jul 24 '24 07:07 petar-cvit

Hii, I won't be able to do it due to my exams. If you want, you can unassign me this issue. I'll ping you back.

RS-labhub avatar Jul 28 '24 07:07 RS-labhub

@petar-cvit can I work on this issue?

s-vamshi avatar Jul 28 '24 07:07 s-vamshi

@petar-cvit can I work on this issue?

s-vamshi avatar Jul 30 '24 13:07 s-vamshi

hi @petar-cvit , if i am not wrong this is the api /api/resources/restart?group=apps&version=v1&kind=${}&name=${}&namespace=${} with no post request body right?

s-vamshi avatar Aug 10 '24 14:08 s-vamshi