Create a Kubernetes role¶
You create Kubernetes roles either through the CLI using Kubernetes kubectl tool or through the MKE web UI.
To create a Kubernetes role using the MKE web UI:
Log in to the the MKE web UI.
In the navigation menu at the left, click Access Control to display the available options.
Click Roles.
At the top of the details pane, click the Kubernetes tab.
Click Create to open the Create Kubernetes Object page.
Click Namespace to select a namespace for the role from one of the available options.
Provide the YAML file for the role. To do this, either enter it in the Object YAML editor, or upload an existing .yml file using the Click to upload a .yml file selection link at the right.
Click Create to complete role creation.
See also