{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12186","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12186/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12186/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12186/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/12186","id":98885420,"number":12186,"title":"how to use a heapster?","user":{"login":"fzu-huang","id":5361248,"avatar_url":"https://avatars.githubusercontent.com/u/5361248?v=3","gravatar_id":"","url":"https://api.github.com/users/fzu-huang","html_url":"https://github.com/fzu-huang","followers_url":"https://api.github.com/users/fzu-huang/followers","following_url":"https://api.github.com/users/fzu-huang/following{/other_user}","gists_url":"https://api.github.com/users/fzu-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/fzu-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzu-huang/subscriptions","organizations_url":"https://api.github.com/users/fzu-huang/orgs","repos_url":"https://api.github.com/users/fzu-huang/repos","events_url":"https://api.github.com/users/fzu-huang/events{/privacy}","received_events_url":"https://api.github.com/users/fzu-huang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-04T04:13:49Z","updated_at":"2015-08-04T07:06:55Z","closed_at":null,"body":"i have tried to create a heapster rc on kubernetes.but it failed.\r\ni checked the log and it showed:\r\n open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory\r\n\r\nthere are only a 'default' serviceaccount running in my kubernetes master. and it has no secret. \r\nwhat should i do in kubernetes?create a secret in the default serviceaccount? if so, how to do?"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/127503610","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/12186#issuecomment-127503610","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/12186","id":127503610,"user":{"login":"fzu-huang","id":5361248,"avatar_url":"https://avatars.githubusercontent.com/u/5361248?v=3","gravatar_id":"","url":"https://api.github.com/users/fzu-huang","html_url":"https://github.com/fzu-huang","followers_url":"https://api.github.com/users/fzu-huang/followers","following_url":"https://api.github.com/users/fzu-huang/following{/other_user}","gists_url":"https://api.github.com/users/fzu-huang/gists{/gist_id}","starred_url":"https://api.github.com/users/fzu-huang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzu-huang/subscriptions","organizations_url":"https://api.github.com/users/fzu-huang/orgs","repos_url":"https://api.github.com/users/fzu-huang/repos","events_url":"https://api.github.com/users/fzu-huang/events{/privacy}","received_events_url":"https://api.github.com/users/fzu-huang/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T07:06:55Z","updated_at":"2015-08-04T07:06:55Z","body":"at  first  i start apiserver   without --admission-control   and  all is ok (but still no secret in default servcieaccount) .  then  i  want to start a heapster replication-controller. it failed with log(in container):\r\n 1 heapster.go:59] open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory\r\n\r\nit must because heapster  need to get token from kubernetes Master.right??\r\n\r\nso i restart kubernetes apiserver with flag --admission-control=serviceAccount . but this time i cant' even create a  normal pod : \r\n\r\nError from server: error when creating \"imgpod.json\": Pod \"imgpod\" is forbidden: no API token found for service account default/default, retry after the token is automatically created and added to the service account\r\n\r\n\r\nbut  i  have not  idea  how  to solve it...\r\nhave you successfully start a heapster by kubernetes? or start kuber-apiserver  with    --admission-control=serviceAccount  and create pod?  "}}