{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13210","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13210/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13210/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13210/events","html_url":"https://github.com/kubernetes/kubernetes/issues/13210","id":103294466,"number":13210,"title":"Pods doesn't run on another node after its node down ","user":{"login":"JackChen255","id":12280750,"avatar_url":"https://avatars.githubusercontent.com/u/12280750?v=3","gravatar_id":"","url":"https://api.github.com/users/JackChen255","html_url":"https://github.com/JackChen255","followers_url":"https://api.github.com/users/JackChen255/followers","following_url":"https://api.github.com/users/JackChen255/following{/other_user}","gists_url":"https://api.github.com/users/JackChen255/gists{/gist_id}","starred_url":"https://api.github.com/users/JackChen255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackChen255/subscriptions","organizations_url":"https://api.github.com/users/JackChen255/orgs","repos_url":"https://api.github.com/users/JackChen255/repos","events_url":"https://api.github.com/users/JackChen255/events{/privacy}","received_events_url":"https://api.github.com/users/JackChen255/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-26T15:17:41Z","updated_at":"2015-08-26T16:45:16Z","closed_at":null,"body":"I create a mysql pods which is running in Node3 172.24.18.125. But after I stop all kubernetes services in Node3, this pods disappears instead of running in Node1 or Node2. Why the kubernetes master doesn't reschedule the pods in another node?\r\n\r\n[root@localhost pods]# kubectl get nodes\r\nNAME            LABELS                                                STATUS\r\n127.0.0.1       kubernetes.io/hostname=127.0.0.1                      Ready\r\n172.24.18.123   database=mysql,kubernetes.io/hostname=172.24.18.123   Ready\r\n172.24.18.124   kubernetes.io/hostname=172.24.18.124                  Ready\r\n172.24.18.125   kubernetes.io/hostname=172.24.18.125                  Ready\r\n\r\nYAML file to create mysql pod:\r\napiVersion: v1\r\nkind: Pod\r\nmetadata:\r\n  name: mysql2\r\n  labels:\r\n    name: mysql2\r\nspec:\r\n  containers:\r\n    - resources:\r\n        limits :\r\n          cpu: 1\r\n      image: mysql\r\n      name: mysql\r\n      env:\r\n        - name: MYSQL_ROOT_PASSWORD\r\n          value: welcome\r\n      ports:\r\n        - containerPort: 3306\r\n          name: mysql2\r\n  nodeSelector:"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/135104204","html_url":"https://github.com/kubernetes/kubernetes/issues/13210#issuecomment-135104204","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13210","id":135104204,"user":{"login":"yujuhong","id":10524058,"avatar_url":"https://avatars.githubusercontent.com/u/10524058?v=3","gravatar_id":"","url":"https://api.github.com/users/yujuhong","html_url":"https://github.com/yujuhong","followers_url":"https://api.github.com/users/yujuhong/followers","following_url":"https://api.github.com/users/yujuhong/following{/other_user}","gists_url":"https://api.github.com/users/yujuhong/gists{/gist_id}","starred_url":"https://api.github.com/users/yujuhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujuhong/subscriptions","organizations_url":"https://api.github.com/users/yujuhong/orgs","repos_url":"https://api.github.com/users/yujuhong/repos","events_url":"https://api.github.com/users/yujuhong/events{/privacy}","received_events_url":"https://api.github.com/users/yujuhong/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T16:45:16Z","updated_at":"2015-08-26T16:45:16Z","body":"You need to a replication controller to manage your pod. See https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/replication-controller.md"}}