Granted per role, per namespace, per cluster (or all clusters) under Admin → Roles. Admins hold all of them. A user's permission is checked on every request, in the namespace of the request.
Safe read-only marks the grants of the API access mode of the same name and of the API key template: list, get and logs, except on ConfigMaps and Secrets, whose data can hold credentials.
Endpoints come from the API description (/api/openapi.json); an endpoint that needs two permissions is listed under both. The Kubernetes rights behind each one are on Kubernetes permissions.
Pods
| Permission | Opens | Safe read-only | Endpoints |
|---|
pods:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/metrics/pods
GET /api/namespaces/{namespace}/metrics/pods/{name}
GET /api/namespaces/{namespace}/pods |
pods:get | The pod drawer: status, containers, events, restart history, CPU / memory; the YAML view. | yes | GET /api/namespaces/{namespace}/pods/{name}
GET /api/namespaces/{namespace}/pods/{name}/events
GET /api/namespaces/{namespace}/pods/{name}/restarts
GET /api/namespaces/{namespace}/pods/{name}/yaml |
pods:logs | Pod logs: live, previous container, download, the REST log snapshot. With deployments:get / jobs:get, the logs of every pod of a Deployment or Job. | yes | GET /api/namespaces/{namespace}/pods/{name}/logs
GET /ws/namespaces/{namespace}/deployments/{name}/logs (with deployments:get)
GET /ws/namespaces/{namespace}/jobs/{name}/logs (with jobs:get)
GET /ws/namespaces/{namespace}/pods/{name}/logs |
pods:exec | A shell in a container, and one command over the API. Every session is audited; sessions opened with an API key are always recorded. | | POST /api/namespaces/{namespace}/pods/{name}/exec
GET /ws/namespaces/{namespace}/pods/{name}/exec |
pods:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
Deployments
| Permission | Opens | Safe read-only | Endpoints |
|---|
deployments:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/deployments |
deployments:get | The Deployment drawer (revisions read only, pods, usage); the YAML view. | yes | GET /api/namespaces/{namespace}/deployments/{name}
GET /api/namespaces/{namespace}/deployments/{name}/events
GET /api/namespaces/{namespace}/deployments/{name}/replicasets
GET /api/namespaces/{namespace}/deployments/{name}/restarts
GET /api/namespaces/{namespace}/deployments/{name}/yaml
GET /api/namespaces/{namespace}/metrics/deployments/{name}
GET /ws/namespaces/{namespace}/deployments/{name}/logs (with pods:logs) |
deployments:restart | Rolling restart: patches the pod template's restartedAt annotation. | | POST /api/namespaces/{namespace}/deployments/{name}/restart |
deployments:scale | Change the replica count (0 to MAX_REPLICAS). | | POST /api/namespaces/{namespace}/deployments/{name}/scale |
deployments:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
DaemonSets
| Permission | Opens | Safe read-only | Endpoints |
|---|
daemonsets:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/daemonsets |
daemonsets:get | The DaemonSet drawer and the YAML view. | yes | GET /api/namespaces/{namespace}/daemonsets/{name}
GET /api/namespaces/{namespace}/daemonsets/{name}/events
GET /api/namespaces/{namespace}/daemonsets/{name}/restarts
GET /api/namespaces/{namespace}/daemonsets/{name}/yaml
GET /api/namespaces/{namespace}/metrics/daemonsets/{name} |
daemonsets:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
StatefulSets
| Permission | Opens | Safe read-only | Endpoints |
|---|
statefulsets:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/statefulsets |
statefulsets:get | The StatefulSet drawer and the YAML view. | yes | GET /api/namespaces/{namespace}/metrics/statefulsets/{name}
GET /api/namespaces/{namespace}/statefulsets/{name}
GET /api/namespaces/{namespace}/statefulsets/{name}/events
GET /api/namespaces/{namespace}/statefulsets/{name}/restarts
GET /api/namespaces/{namespace}/statefulsets/{name}/yaml |
statefulsets:scale | Change the replica count (0 to MAX_REPLICAS). | | POST /api/namespaces/{namespace}/statefulsets/{name}/scale |
statefulsets:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
HorizontalPodAutoscalers
| Permission | Opens | Safe read-only | Endpoints |
|---|
hpas:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/hpas |
hpas:get | One object: its detail and the YAML view. | yes | GET /api/namespaces/{namespace}/hpas/{name}
GET /api/namespaces/{namespace}/hpas/{name}/yaml |
hpas:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
Services
| Permission | Opens | Safe read-only | Endpoints |
|---|
services:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/services |
services:get | One object: its detail and the YAML view. | yes | GET /api/namespaces/{namespace}/services/{name}
GET /api/namespaces/{namespace}/services/{name}/yaml |
services:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
ConfigMaps
| Permission | Opens | Safe read-only | Endpoints |
|---|
configmaps:list | The resource's Dashboard tab and its list endpoint. | | GET /api/namespaces/{namespace}/configmaps |
configmaps:get | One ConfigMap with its data; the YAML view. | | GET /api/namespaces/{namespace}/configmaps/{name}
GET /api/namespaces/{namespace}/configmaps/{name}/data
GET /api/namespaces/{namespace}/configmaps/{name}/yaml |
configmaps:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
Secrets
| Permission | Opens | Safe read-only | Endpoints |
|---|
secrets:list | The Secrets tab: names, types and key names. Never the values. | | GET /api/namespaces/{namespace}/secrets |
secrets:get | One Secret's metadata, key names and value sizes. Never the values. | | GET /api/namespaces/{namespace}/secrets/{name} |
secrets:reveal | Show one value of a Secret per request. Each reveal is audited with the key name. | | POST /api/namespaces/{namespace}/secrets/{name}/reveal |
secrets:edit | The Secret YAML editor, which shows every value, and apply. Opening it is audited as secret.view_yaml. | | GET /api/namespaces/{namespace}/secrets/{name}/yaml
POST /api/namespaces/{namespace}/{resource}/{name}/apply |
Ingresses
| Permission | Opens | Safe read-only | Endpoints |
|---|
ingresses:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/ingresses |
ingresses:get | One object: its detail and the YAML view. | yes | GET /api/namespaces/{namespace}/ingresses/{name}/yaml |
ingresses:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
CronJobs
| Permission | Opens | Safe read-only | Endpoints |
|---|
cronjobs:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/cronjobs |
cronjobs:get | One object: its detail and the YAML view. | yes | GET /api/namespaces/{namespace}/cronjobs/{name}/yaml |
cronjobs:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |
Jobs
| Permission | Opens | Safe read-only | Endpoints |
|---|
jobs:list | The resource's Dashboard tab and its list endpoint. | yes | GET /api/namespaces/{namespace}/jobs |
jobs:get | One object: its detail and the YAML view. | yes | GET /api/namespaces/{namespace}/jobs/{name}/yaml
GET /ws/namespaces/{namespace}/jobs/{name}/logs (with pods:logs) |
jobs:edit | Edit and apply the YAML, with a server-side dry run first. | | POST /api/namespaces/{namespace}/{resource}/{name}/apply |