how to check whether RBAC is enabled, using kubectl

You can check this by executing the command kubectl api-versions; if RBAC is enabled you should see the API version .rbac.authorization.k8s.io/v1. In AKS, the best way is to check the cluster’s resource details at resources.azure.com. If you can spot “enableRBAC”: true, your cluster has RBAC enabled. Please note that existing non-RBAC enabled AKS clusters cannot … Read more