kubernetes / kubectl

Issue tracker and mirror of kubectl code
Apache License 2.0
2.85k stars 921 forks source link

Feature: kubectl command for toggling cronjob suspension #771

Closed Yoni-Mantzur closed 4 years ago

Yoni-Mantzur commented 4 years ago

Abstract the patch command for toggling the suspension of a cronjob with a kubectl command. For example: kubectl suspend/unsuspend cronjob/<job-name>

WDYT?

seans3 commented 4 years ago

/sig cli /area kubectl /kind feature

ricochet commented 4 years ago

A krew plugin may be a better fit for this.

soltysh commented 4 years ago

Yeah, plugin is the right direction. /close

k8s-ci-robot commented 4 years ago

@soltysh: Closing this issue.

In response to [this](https://github.com/kubernetes/kubectl/issues/771#issuecomment-588353826): >Yeah, plugin is the right direction. >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
rikatz commented 3 years ago

/triage needs-plugin-prototype