Closed bencooper222 closed 1 year ago
Hi @bencooper222 ! Sorry for the delay in the reply. This is a good idea indeed. If you want to submit a patch, you are very welcome to do so. If you don't have the time, we'll pick it up from here, but this feature is indeed something we want to have.
Also, if you have other things you'd like to see in Headlamp, let us know. We cannot promise to take them all in as we try to make it broad enough for most people, but it's worth knowing what users want.
Hi @bencooper222 . Do you want to work on this feature? (just planning things here, so let me know if we should assign this to you)
You can assign it to me but I likely won't get to it till November. Lmk!
This is done now.
Current situation
This is what the buttons on the Deployment page currently look like.
Impact
This would bring Headlamp closer to parity with Lens. It's also a fairly basic feature that teams managing Kubernetes' services need as a first thing to try when encountering an issue.
Ideal future situation
I would like there to be a button to the left of the buttons in the above picture that restarts the deployment.
The second from the left button in the below picture in Lens does that.
Implementation options
Should be a simple button on the frontend and a straightforward call to the "patch deployment" API to change the
kubectl.kubernetes.io/restartedAt
field (i.e. this) on the backend.Additional information
If I wrote this PR, would it be accepted?