cyclops
cyclops copied to clipboard
Add restart button
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>
Will take this up!
Sure @RS-labhub
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.
@petar-cvit can I work on this issue?
@petar-cvit can I work on this issue?
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?