Ana içeriğe geç

Uygulama izinleri

not

Başlıklar ve tablolar Türkçe; açıklamalar koddan üretildiği için İngilizce.

Yönetim → Roller ekranında rol, namespace ve cluster başına (ya da tüm cluster'lar için) verilir. Adminlerde hepsi vardır. Kullanıcının izni her istekte, isteğin namespace'inde kontrol edilir.

Güvenli salt okuma, aynı adlı API erişim modunun ve API anahtarı şablonunun verdiği izinleri işaretler: list, get ve logs; ConfigMap ve Secret hariç, çünkü verileri kimlik bilgisi taşıyabilir.

Uçlar API tanımından (/api/openapi.json) gelir; iki izin isteyen bir uç ikisinin altında da yer alır. Her birinin arkasındaki Kubernetes yetkileri Kubernetes izinleri sayfasında.

Pods​

İzinNe açarGüvenli salt okumaUçlar
pods:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/metrics/pods
GET /api/namespaces/{namespace}/metrics/pods/{name}
GET /api/namespaces/{namespace}/pods
pods:getThe pod drawer: status, containers, events, restart history, CPU / memory; the YAML view.evetGET /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:logsPod logs: live, previous container, download, the REST log snapshot. With deployments:get / jobs:get, the logs of every pod of a Deployment or Job.evetGET /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:execA 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:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

Deployments​

İzinNe açarGüvenli salt okumaUçlar
deployments:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/deployments
deployments:getThe Deployment drawer (revisions read only, pods, usage); the YAML view.evetGET /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:restartRolling restart: patches the pod template's restartedAt annotation.POST /api/namespaces/{namespace}/deployments/{name}/restart
deployments:scaleChange the replica count (0 to MAX_REPLICAS).POST /api/namespaces/{namespace}/deployments/{name}/scale
deployments:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

DaemonSets​

İzinNe açarGüvenli salt okumaUçlar
daemonsets:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/daemonsets
daemonsets:getThe DaemonSet drawer and the YAML view.evetGET /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:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

StatefulSets​

İzinNe açarGüvenli salt okumaUçlar
statefulsets:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/statefulsets
statefulsets:getThe StatefulSet drawer and the YAML view.evetGET /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:scaleChange the replica count (0 to MAX_REPLICAS).POST /api/namespaces/{namespace}/statefulsets/{name}/scale
statefulsets:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

HorizontalPodAutoscalers​

İzinNe açarGüvenli salt okumaUçlar
hpas:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/hpas
hpas:getOne object: its detail and the YAML view.evetGET /api/namespaces/{namespace}/hpas/{name}
GET /api/namespaces/{namespace}/hpas/{name}/yaml
hpas:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

Services​

İzinNe açarGüvenli salt okumaUçlar
services:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/services
services:getOne object: its detail and the YAML view.evetGET /api/namespaces/{namespace}/services/{name}
GET /api/namespaces/{namespace}/services/{name}/yaml
services:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

ConfigMaps​

İzinNe açarGüvenli salt okumaUçlar
configmaps:listThe resource's Dashboard tab and its list endpoint.GET /api/namespaces/{namespace}/configmaps
configmaps:getOne 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:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

Secrets​

İzinNe açarGüvenli salt okumaUçlar
secrets:listThe Secrets tab: names, types and key names. Never the values.GET /api/namespaces/{namespace}/secrets
secrets:getOne Secret's metadata, key names and value sizes. Never the values.GET /api/namespaces/{namespace}/secrets/{name}
secrets:revealShow one value of a Secret per request. Each reveal is audited with the key name.POST /api/namespaces/{namespace}/secrets/{name}/reveal
secrets:editThe 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​

İzinNe açarGüvenli salt okumaUçlar
ingresses:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/ingresses
ingresses:getOne object: its detail and the YAML view.evetGET /api/namespaces/{namespace}/ingresses/{name}/yaml
ingresses:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

CronJobs​

İzinNe açarGüvenli salt okumaUçlar
cronjobs:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/cronjobs
cronjobs:getOne object: its detail and the YAML view.evetGET /api/namespaces/{namespace}/cronjobs/{name}/yaml
cronjobs:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply

Jobs​

İzinNe açarGüvenli salt okumaUçlar
jobs:listThe resource's Dashboard tab and its list endpoint.evetGET /api/namespaces/{namespace}/jobs
jobs:getOne object: its detail and the YAML view.evetGET /api/namespaces/{namespace}/jobs/{name}/yaml
GET /ws/namespaces/{namespace}/jobs/{name}/logs (with pods:logs)
jobs:editEdit and apply the YAML, with a server-side dry run first.POST /api/namespaces/{namespace}/{resource}/{name}/apply