{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23750","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23750/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23750/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23750/events","html_url":"https://github.com/kubernetes/kubernetes/pull/23750","id":145245317,"number":23750,"title":"Prints message while kubectl run to reduce confusion","user":{"login":"janetkuo","id":4876867,"avatar_url":"https://avatars.githubusercontent.com/u/4876867?v=3","gravatar_id":"","url":"https://api.github.com/users/janetkuo","html_url":"https://github.com/janetkuo","followers_url":"https://api.github.com/users/janetkuo/followers","following_url":"https://api.github.com/users/janetkuo/following{/other_user}","gists_url":"https://api.github.com/users/janetkuo/gists{/gist_id}","starred_url":"https://api.github.com/users/janetkuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janetkuo/subscriptions","organizations_url":"https://api.github.com/users/janetkuo/orgs","repos_url":"https://api.github.com/users/janetkuo/repos","events_url":"https://api.github.com/users/janetkuo/events{/privacy}","received_events_url":"https://api.github.com/users/janetkuo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/app-config-deployment","name":"area/app-config-deployment","color":"fb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/kubectl","name":"component/kubectl","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/old-docs","name":"kind/old-docs","color":"c7def8"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-label-needed","name":"release-note-label-needed","color":"db5a64"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/S","name":"size/S","color":"77bb00"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-01T18:04:28Z","updated_at":"2016-04-01T18:08:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/23750","html_url":"https://github.com/kubernetes/kubernetes/pull/23750","diff_url":"https://github.com/kubernetes/kubernetes/pull/23750.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/23750.patch"},"body":"Add additional message to \"kubectl run\" default output; add a flag \"--hide-message\" so that users can hide it if they want to. \r\n\r\n```console\r\n$ kubectl run nginx --image=nginx\r\ndeployment \"nginx\" created\r\n\r\nYou have generated a deployments resource. You can feed the generated resource to a subsequent command, such as\r\n\"kubectl get deployments/nginx\", or \"kubectl expose deployments/nginx\".\r\nIf you want to write a script to do that automatically, use \"-o name\" flag while doing \"kubectl run\", and it\r\nwill generate short output \"deployments/nginx\" instead, which is perfect for script input.\r\n\"--generator\" flag can be used with \"kubectl run\" to generate other types of resources, for example, set it to\r\n\"run/v1\" creates a Replication Controller, and \"run-pod/v1\" creates a Pod.\r\nIf you wish to hide this message when running \"kubectl run\", set \"--hide-message=true\".\r\n\r\n$ kubectl run nginx --image=nginx -o name \r\ndeployment/nginx\r\n\r\n$ kubectl run nginx --image=nginx --hide-message\r\ndeployment \"nginx\" created\r\n```\r\n\r\n@kubernetes/sig-config @kubernetes/kubectl "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/204498323","html_url":"https://github.com/kubernetes/kubernetes/pull/23750#issuecomment-204498323","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23750","id":204498323,"user":{"login":"k8s-merge-robot","id":13653959,"avatar_url":"https://avatars.githubusercontent.com/u/13653959?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-merge-robot","html_url":"https://github.com/k8s-merge-robot","followers_url":"https://api.github.com/users/k8s-merge-robot/followers","following_url":"https://api.github.com/users/k8s-merge-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-merge-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-merge-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-merge-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-merge-robot/orgs","repos_url":"https://api.github.com/users/k8s-merge-robot/repos","events_url":"https://api.github.com/users/k8s-merge-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-merge-robot/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T18:08:36Z","updated_at":"2016-04-01T18:08:36Z","body":"Labelling this PR as size/S"}}