Kubernetes service accounts and permissions
This document describes the service accounts used in Mission Control and their associated permissions. Each service account is granted the minimum permissions required to perform its specific tasks.
Service accounts
The following sections describe the service accounts used in Mission Control and their associated permissions.
Agent
Name: mission-control-agent
Namespace: mission-control
Purpose: Collects host-level metrics and logs
Cluster Roles: mission-control-agent
Aggregator
Name: mission-control-aggregator
Namespace: mission-control
Purpose: Aggregates metrics and logs from all deployed and managed resources
Cass operator
Name: mission-control-cass-operator
Namespace: mission-control
Purpose: Handles the lifecycle of all Apache Cassandra®, DataStax Enterprise (DSE), and Hyper-Converged Database (HCD) logical datacenters
Cluster Roles: mission-control-cass-operator
Roles: mission-control-cass-operator-leader
CRD upgrader
Name: mission-control-crd-upgrader
Namespace: mission-control
Purpose: Handles the upgrade of Mission Control Custom Resource Definitions (CRDs)
Cluster Roles: mission-control-crd-upgrader
Dex
Name: mission-control-dex
Namespace: mission-control
Purpose: Handles the routing of authentication requests to the appropriate identity provider
Cluster Roles: mission-control-dex
Roles: mission-control-dex
K8ssandra operator
Name: mission-control-k8ssandra-operator
Namespace: mission-control
Purpose: Handles the lifecycle of all K8ssandra resources including cluster definitions, Reaper, and Medusa components
Cluster Roles: mission-control-k8ssandra-operator
Roles: mission-control-k8ssandra-operator-leader-election-role
Kube state metrics
Name: mission-control-kube-state-metrics
Namespace: mission-control
Purpose: Collects metrics from the Kubernetes API server and Kubelet
Cluster Roles: mission-control-kube-state-metrics
Loki
Name: loki
Namespace: mission-control
Purpose: Stores and indexes log data
Cluster Roles: mission-control-loki-clusterrole
Mimir
Name: mission-control-mimir
Namespace: mission-control
Purpose: Stores and indexes metrics data
Mission Control
Name: mission-control
Namespace: mission-control
Purpose: Core platform management and orchestration of all Mission Control components
Cluster Roles: mission-control-manager-role
Roles: mission-control-leader-election-role
Replicated
Name: replicated
Namespace: mission-control
Purpose: Installation management and reporting
Roles: replicated-role
Cluster roles
The following sections describe the permissions associated with each cluster role.
Agent cluster role
The agent cluster role has the following permissions:
API groups |
Resources |
Verbs |
core |
|
|
Cass operator cluster role
The Cass operator cluster role has the following permissions:
API groups |
Resources |
Verbs |
core |
|
|
core |
|
|
core |
|
|
storage.k8s.io |
|
|
apps |
|
|
apps |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
policy |
|
|
CRD upgrader cluster role
The CRD upgrader cluster role has the following permissions:
API groups |
Resources |
Verbs |
|
|
|
Dex cluster role
The Dex cluster role has the following permissions:
API groups |
Resources |
Verbs |
|
|
|
K8ssandra operator cluster role
The K8ssandra operator cluster role has the following permissions:
API groups |
Resources |
Verbs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Kube state metrics cluster role
The Kube state metrics cluster role has the following permissions:
API groups |
Resources |
Verbs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Loki cluster role
The Loki cluster role has the following permissions:
API groups |
Resources |
Verbs |
|
|
|
Manager cluster role
The mission-control-manager-role
is used by the mission-control
service account to manage the core platform functionality.
This cluster role has the following permissions:
API groups |
Resources |
Verbs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|