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

Addon logging-elasticsearch does not work with RBAC enabled #3729

Closed
thoslin opened this issue Oct 30, 2017 · 3 comments
Closed

Addon logging-elasticsearch does not work with RBAC enabled #3729

thoslin opened this issue Oct 30, 2017 · 3 comments
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.

Comments

@thoslin
Copy link
Contributor

thoslin commented Oct 30, 2017

What kops version are you running? use kops version
1.7.1

What Kubernetes version are you running? use kubectl version

Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.1", GitCommit:"f38e43b221d08850172a9a4ea785a86a3ffa3b3a", GitTreeState:"clean", BuildDate:"2017-10-11T23:27:35Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.4", GitCommit:"793658f2d7ca7f064d2bdf606519f9fe1229c381", GitTreeState:"clean", BuildDate:"2017-08-17T08:30:51Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

What cloud provider are you using?
AWS

What went wrong?

F1030 06:32:57.828076       6 elasticsearch_logging_discovery.go:60] kube-system namespace doesn't exist: User "system:serviceaccount:kube-system:default" cannot get namespaces in the namespace "kube-system". (get namespaces kube-system)

It looks like the default service account is unable to access namespaces.

What do you expect?
RBAC is setup and EFK is working.

@chrislovecnm
Copy link
Contributor

We are missing the rbac roles for elk. Contributions are always appreciated!

k8s-github-robot pushed a commit that referenced this issue Nov 4, 2017
Automatic merge from submit-queue.

Add service account for elasticsearch and fluentd

Fix issue #3729
@robinpercy
Copy link
Contributor

@thoslin @chrislovecnm looks like this can be closed

@thoslin
Copy link
Contributor Author

thoslin commented Nov 5, 2017

Closing

@thoslin thoslin closed this as completed Nov 5, 2017
@rifelpet rifelpet added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. and removed good-starter-issue labels Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

4 participants