Skip to main content
GET
Global Cluster Status
Role mínima: viewer. Não recebe parâmetros. O endpoint lista todos os ClusterRegistrations de todos os namespaces e conta:
  • totalClusters: todos os registros
  • healthyClusters: registros conectados (status.connected: true) cuja condição Degraded não é True
  • degradedClusters: registros conectados cuja condição Degraded é True (alguns nós não estão Ready)
  • offlineClusters: registros que não estão conectados
clusters traz cada registro com os campos descritos em Listar Clusters; vem null quando não há registros. Não há agregados de nós, recursos, SLOs ou incidentes aqui; para totais de issues, use Status da federação.

Autorizações

X-API-Key
string
header
obrigatório

API key sent in the X-API-Key header. Keys are read from the Secret chatcli-operator-secrets, key api-keys (fallback: ConfigMap chatcli-operator-config, key api-keys) in the operator namespace, as a YAML list of {key, role, name, description} (name is the identity recorded on approval decisions); the operator chart creates it only with apiKeys.create: true. Roles: viewer < operator < admin — any other role string is denied everywhere. Changes are picked up within about 30 seconds; deleting both the Secret and the ConfigMap revokes every key. With no keys configured every /api/ call returns 401, unless CHATCLI_OPERATOR_DEV_MODE=true, which grants admin without a key (development only).

Resposta

Global status

apiVersion
string
Exemplo:

"v1"

kind
string
Exemplo:

"GlobalClusterStatus"

spec
object