{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/2763","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/2763/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/2763/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/2763/events","html_url":"https://github.com/kubernetes/kubernetes/issues/2763","id":51085108,"number":2763,"title":"Can't create pods from yaml template","user":{"login":"josselin-c","id":2820724,"avatar_url":"https://avatars.githubusercontent.com/u/2820724?v=3","gravatar_id":"","url":"https://api.github.com/users/josselin-c","html_url":"https://github.com/josselin-c","followers_url":"https://api.github.com/users/josselin-c/followers","following_url":"https://api.github.com/users/josselin-c/following{/other_user}","gists_url":"https://api.github.com/users/josselin-c/gists{/gist_id}","starred_url":"https://api.github.com/users/josselin-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josselin-c/subscriptions","organizations_url":"https://api.github.com/users/josselin-c/orgs","repos_url":"https://api.github.com/users/josselin-c/repos","events_url":"https://api.github.com/users/josselin-c/events{/privacy}","received_events_url":"https://api.github.com/users/josselin-c/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/support","name":"kind/support","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P0","name":"priority/P0","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-12-05T10:42:55Z","updated_at":"2015-09-04T06:58:28Z","closed_at":"2014-12-11T18:40:00Z","body":"With apiserver HEAD, creating pod from this yml template fails:\r\n```yml\r\nid: rqueue_test_cluster\r\napiVersion: v1beta1\r\nkind: ReplicationController\r\ndesiredState:\r\n  replicas: 1\r\n  replicaSelector:\r\n    name: rqueue_test\r\n    env: dev\r\n    test-machine: a1\r\n  podTemplate:\r\n    desiredState:\r\n      manifest:\r\n        version: v1beta1\r\n        id: rqueue_test\r\n        containers:\r\n          - name: test\r\n            image: b8.dev.g8teway.com/test\r\n            imagePullPolicy: PullAlways\r\n            env:\r\n              - name: TEST_SERVICE_TARGET\r\n                value: 11.111.1.111:11111\r\n              - name: TEST_SERVICE_LISTEN_PORT\r\n                value: 1234\r\n              - name: TEST_SERVICE_NAME\r\n                value: test-a1.dev.g8teway.com\r\n\r\n    labels:\r\n      name: rqueue_test\r\n      env: dev\r\n      test-machine: a1\r\n```\r\n```\r\n[joss@~/projects/kubernetes_cluster/kubernetes/rqueue-test]$ kubectl --server=\"https://b7.dev.g8teway.com:6443\" create -f rqueue-test-a1.yml\r\nF1205 11:37:09.060948   21864 create.go:59] error unmarshaling JSON: json: cannot unmarshal number into Go value of type string\r\n\r\n[root@b7 ~]# kube-apiserver -version=true\r\nKubernetes v0.6.0-94-g39bf3d2950e394-dirty\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/137661351","html_url":"https://github.com/kubernetes/kubernetes/issues/2763#issuecomment-137661351","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/2763","id":137661351,"user":{"login":"pencilcheck","id":116532,"avatar_url":"https://avatars.githubusercontent.com/u/116532?v=3","gravatar_id":"","url":"https://api.github.com/users/pencilcheck","html_url":"https://github.com/pencilcheck","followers_url":"https://api.github.com/users/pencilcheck/followers","following_url":"https://api.github.com/users/pencilcheck/following{/other_user}","gists_url":"https://api.github.com/users/pencilcheck/gists{/gist_id}","starred_url":"https://api.github.com/users/pencilcheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pencilcheck/subscriptions","organizations_url":"https://api.github.com/users/pencilcheck/orgs","repos_url":"https://api.github.com/users/pencilcheck/repos","events_url":"https://api.github.com/users/pencilcheck/events{/privacy}","received_events_url":"https://api.github.com/users/pencilcheck/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T06:58:28Z","updated_at":"2015-09-04T06:58:28Z","body":"Still happening, boolean will also not work if it is not quoted."}}