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

FAQ: 403 when querying master node #146

Closed
Banchio opened this issue Nov 5, 2018 · 4 comments
Closed

FAQ: 403 when querying master node #146

Banchio opened this issue Nov 5, 2018 · 4 comments
Assignees

Comments

@Banchio
Copy link

Banchio commented Nov 5, 2018

hi all, using this sdk in our ACS engine deployed cluster (we are planning migration to AKS) we are noticing a lot of request to the master node (generated by the sdk in the pods itself) that ends up with 403.
Cluster has RBAC with AAD integration enabled so I guess that this is to be expected. How can I make it work?
Thanks!

added: I guess this is the same in AKS when enabling RBAC integration with AAD

@xiaomi7732
Copy link
Member

@Banchio Thanks for the asking. You will need to making sure the pod can access the root node by providing proper service account binding.

Please reference the following example for how to do the role bindings:

Give it a shoot and let us know if that solves your problem or not.

@xiaomi7732 xiaomi7732 self-assigned this Nov 5, 2018
@Banchio
Copy link
Author

Banchio commented Nov 6, 2018

Thanks @xiaomi7732, we are going to test this out on new cluster in a week, if you prefer we can close the issue and reopen it after tests. Thanks again for the prompt answer!

@xiaomi7732
Copy link
Member

Sure. Feel free to reactive this or open a new issue.

@xiaomi7732 xiaomi7732 pinned this issue Jun 7, 2019
@xiaomi7732 xiaomi7732 added the FAQ label Jun 7, 2019
@xiaomi7732 xiaomi7732 changed the title 403 when querying master node FAQ: 403 when querying master node Jun 12, 2019
@xiaomi7732
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants