Is there a way to restart a kubernetes deployment using go-client .I have no idea how to achieve this ,help me!
Using Go client you can use Kubernetes API and perform operation like Create, Delete & Update the deployment.
here go client - https://github.com/kubernetes/client-go/tree/master/examples/create-update-delete-deployment
Example code file : https://github.com/kubernetes/client-go/blob/master/examples/create-update-delete-deployment/main.go