Skip to content

Feature Spec

Jorge Padilla edited this page May 13, 2022 · 8 revisions

Overview

Open Cluster Management makes it easy for users to create and manage a large number of Kubernetes clusters. The search feature helps users easily find, access, and edit resources in the managed clusters from a central place.

Architecture Diagram



TODO: Add updated architecture diagram here.


Components

Search Operator (repo)

  • Deploys, configures, and monitors the components.

Database (repo)

Collector (repo)

  • Deployed on each managed cluster.
  • Discovers Kubernetes resources dynamically and watches for updates.
    • CLI equivalent: oc api-resources
    • CLI equivalent: oc get <resource> --all-namespaces --watch
  • Collects and sends data to the indexer every 5 seconds.
  • Computes relationships for resources within the cluster.

Indexer (repo)

  • Receives data from the collectors and writes to the database.
  • Watches resources in the hub cluster (e.g. clusters, applications, policies).
  • Computes multi-cluster relationships (ie. Applications).
  • Keeps track of activity from connected collectors (heartbeat).

Query API (repo)

  • Provides an API to query the data.
  • Enforces RBAC, each user will only see resources they have been authorized to access.