Kind: How to enable RBAC in kind?

Created on 8 Aug 2019  路  4Comments  路  Source: kubernetes-sigs/kind


Hi,

I know how to manage the RBAC authorization in a K8s cluster, like:

$ kubectl start apiserver --authorization-mode=RBAC

How can accomplish the same thing with kind?
Thanks in advance!

kinsupport

Most helpful comment

hi, kind uses kubeadm for cluster creation and kubeadm adds --authorization-mode=Node,RBAC to the default flags of the kube-apiserver.

RBAC is already enabled for you.
for using RBAC see here:
https://kubernetes.io/docs/reference/access-authn-authz/rbac/

/close

All 4 comments

cc @neolit123 , I think RBAC is enabled by default, isn麓t it?

hi, kind uses kubeadm for cluster creation and kubeadm adds --authorization-mode=Node,RBAC to the default flags of the kube-apiserver.

RBAC is already enabled for you.
for using RBAC see here:
https://kubernetes.io/docs/reference/access-authn-authz/rbac/

/close

@neolit123: Closing this issue.

In response to this:

hi, kind uses kubeadm for cluster creation and kubeadm adds --authorization-mode=Node,RBAC to the default flags of the kube-apiserver.

RBAC is already enabled for you.
for using RBAC see here:
https://kubernetes.io/docs/reference/access-authn-authz/rbac/

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Thank you!

Was this page helpful?
0 / 5 - 0 ratings