Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for labels to "kubectl stop". #5237

Merged
merged 1 commit into from
Mar 11, 2015

Conversation

jszczepkowski
Copy link
Contributor

Added support for filtering resources by labels and --all to "kubectl stop". Fixes #5178.

@piosz piosz added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 10, 2015
@@ -46,7 +49,7 @@ func (f *Factory) NewCmdStop(out io.Writer) *cobra.Command {
Filenames util.StringList
}{}
cmd := &cobra.Command{
Use: "stop (<resource> <id>|-f filename)",
Use: "stop (<resource> (<id> | -l <label> | --all) | -f filename)",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@bgrant0607 bgrant0607 removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 10, 2015
@bgrant0607 bgrant0607 self-assigned this Mar 10, 2015
Added support for labels and --all to "kubectl stop". Fixes kubernetes#5178.
@jszczepkowski
Copy link
Contributor Author

Use string for stop made consistent with delete; use string for delete set straight. PTAL

@bgrant0607
Copy link
Member

LGTM.

bgrant0607 added a commit that referenced this pull request Mar 11, 2015
Added support for labels to "kubectl stop".
@bgrant0607 bgrant0607 merged commit e32d0db into kubernetes:master Mar 11, 2015
@jszczepkowski jszczepkowski deleted the stop-labels branch August 10, 2015 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"kubectl stop" doesn't support specifying resources by label
4 participants