Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing kubed fails due to missing service account #121

Closed
smifun opened this issue Sep 13, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@smifun
Copy link

commented Sep 13, 2017

I follow install instructions using version 0.2.0 with rbac. (https://raw.githubusercontent.com/appscode/kubed/0.2.0/hack/deploy/with-rbac.yaml)
ReplicaSets events shows error

Error creating: pods "kubed-operator-3023504165-" is forbidden: service account kube-system/kubed was not found, retry after the service account is created

Yaml file has resource description for kubed-operator serviceaccount which is created succesfully but apparently deployment is expecting service account to be named:
serviceAccountName: kubed

I'm using kubernetes

kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T19:32:12Z", GoVersion:"go1.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.2", GitCommit:"477efc3cbe6a7effca06bd1452fa356e2201e1ee", GitTreeState:"clean", BuildDate:"2017-04-19T20:22:08Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
@sadlil

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2017

This is probably a doc update issue. Can you change the deployment spec to use kubed-operator service account with kubectl edit deployment, see that works.

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Sep 15, 2017

Thanks @smifun ! It should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.