kubeedge / kubeedge

Kubernetes Native Edge Computing Framework (project under CNCF)
https://kubeedge.io
Apache License 2.0
6.52k stars 1.68k forks source link

Switch the keadm ctl client to client go and add the restful interface for restart pod. #5572

Open luomengY opened 1 month ago

luomengY commented 1 month ago

…e for restart pod.

What type of PR is this? /kind feature

What this PR does / why we need it: 1.switch the keadm ctl client to client go. 2.add the restful interface for restart pod. POST:/api/v1/namespaces/{namespace}/pods/restart body: ["pod-1","pod-2","pod-3"] response: {"errMessages":[],"containerIds":[]} image

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

kubeedge-bot commented 1 month ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please assign skdwriting after the PR has been reviewed. You can assign the PR to them by writing /assign @skdwriting in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/kubeedge/kubeedge/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
WillardHu commented 3 weeks ago

/lgtm

luomengY commented 3 weeks ago

@fisherxu