{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63645","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63645/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63645/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63645/events","html_url":"https://github.com/kubernetes/kubernetes/issues/63645","id":321836861,"number":63645,"title":"Pod restartPolicy is Never","user":{"login":"yph152","id":20721597,"avatar_url":"https://avatars1.githubusercontent.com/u/20721597?v=4","gravatar_id":"","url":"https://api.github.com/users/yph152","html_url":"https://github.com/yph152","followers_url":"https://api.github.com/users/yph152/followers","following_url":"https://api.github.com/users/yph152/following{/other_user}","gists_url":"https://api.github.com/users/yph152/gists{/gist_id}","starred_url":"https://api.github.com/users/yph152/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yph152/subscriptions","organizations_url":"https://api.github.com/users/yph152/orgs","repos_url":"https://api.github.com/users/yph152/repos","events_url":"https://api.github.com/users/yph152/events{/privacy}","received_events_url":"https://api.github.com/users/yph152/received_events","type":"User","site_admin":false},"labels":[{"id":617149945,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-sig","name":"needs-sig","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-10T07:28:13Z","updated_at":"2018-05-10T13:34:37Z","closed_at":null,"author_association":"NONE","body":"<!-- This form is for bug reports and feature requests ONLY!\r\n\r\nIf you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes) and the [troubleshooting guide](https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/).\r\n\r\nIf this may be security issue, please disclose it privately via https://kubernetes.io/security/.\r\n-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n> Uncomment only one, leave it on its own line:\r\n>\r\n\r\n\r\n**What happened**:\r\n\r\nMy configuration file is as follows：\r\n```\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: kubeflow-watch\r\n  namespace: kube-system\r\nspec:\r\n  restartPolicy: Never\r\n  containers:\r\n  - image: kubeflow-admin:watch\r\n    name: kubeflow-admin\r\n    command:\r\n    - /bin/sh\r\n    - -c\r\n    - /kubeflow-ad\r\n    env:\r\n    - name: STORAGE_MANAGER\r\n      value: \"http://192.168.21.165:30301\"\r\n    resources:\r\n       limits:\r\n         cpu: \"1\"\r\n         memory: \"1024Mi\"\r\n       requests:\r\n         cpu: \"0.1\"\r\n         memory: \"100Mi\"\r\n```\r\nThe restartPolicy I set is Never, but when it's done failed, use kubectl to display：\r\n```\r\nkubeflow-watch                                                    0/1       Error      0          41m\r\n```\r\nWhen I use 1.8, it is invisible\r\n```\r\n[root@c720v197]:~# kubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.1\", GitCommit:\"d4ab47518836c750f9949b9e0d387f20fb92260b\", GitTreeState:\"clean\", BuildDate:\"2018-04-12T14:26:04Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.1\", GitCommit:\"d4ab47518836c750f9949b9e0d387f20fb92260b\", GitTreeState:\"clean\", BuildDate:\"2018-04-12T14:14:26Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n\r\n```\r\n**What you expected to happen**:\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`):\r\n- Cloud provider or hardware configuration:\r\n- OS (e.g. from /etc/os-release):\r\n- Kernel (e.g. `uname -a`):\r\n- Install tools:\r\n- Others:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/388054655","html_url":"https://github.com/kubernetes/kubernetes/issues/63645#issuecomment-388054655","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63645","id":388054655,"user":{"login":"dims","id":23304,"avatar_url":"https://avatars2.githubusercontent.com/u/23304?v=4","gravatar_id":"","url":"https://api.github.com/users/dims","html_url":"https://github.com/dims","followers_url":"https://api.github.com/users/dims/followers","following_url":"https://api.github.com/users/dims/following{/other_user}","gists_url":"https://api.github.com/users/dims/gists{/gist_id}","starred_url":"https://api.github.com/users/dims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dims/subscriptions","organizations_url":"https://api.github.com/users/dims/orgs","repos_url":"https://api.github.com/users/dims/repos","events_url":"https://api.github.com/users/dims/events{/privacy}","received_events_url":"https://api.github.com/users/dims/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T13:34:37Z","updated_at":"2018-05-10T13:34:37Z","author_association":"MEMBER","body":"/sig cli"}}
{"actor":{"display_login":"dims"}}