Skip to content

Architecture#

High-level#

From a high-level perspective, KOF consists of three layers:

  • the Collection layer, where the statistics and events are gathered,
  • the Regional layer, which includes storage to keep track of those statistics and events,
  • and the Management layer, where you interact through the UI.
flowchart TD
    A[Management UI, promxy] 
    A --> C[Storage Region 1]
    A --> D[Storage Region 2]
    C --> E[Collect Child 1]
    C --> F[Collect Child 2]
    D ==> G[...]

Mid-level#

Getting a little bit more detailed, it's important to understand that data flows upwards, from observed objects to centralized Grafana (if installed and enabled) on the Management layer:

Management Cluster
kof-mothership chart
Optional grafana-operator
victoria-metrics-operator
cluster-api-visualizer
sveltos-dashboard
kof-operator
Mirantis k0rdent Enterprise service templates
promxy
kof-operators chart
opentelemetry-operator
prometheus-operator-crds
kof-collectors chart
opencost
kube-state-metrics
prometheus-node-exporter
Either kof-istio
Certificates
ClusterProfiles
Or kof-regional and kof-child
MultiClusterServices
Cloud 1..N
Region 1..M
Regional Cluster
kof-storage chart
Optional grafana-operator
victoria-metrics-operator
victoria-logs-single
jaeger-operator
external-dns
kof-operators chart
opentelemetry-operator
prometheus-operator-crds
kof-collectors chart
opencost
kube-state-metrics
prometheus-node-exporter
cert-manager
ingress-nginx or kof-istio
Child Cluster 1
cert-manager
Optional kof-istio
kof-operators chart
opentelemetry-operator
prometheus-operator-crds
kof-collectors chart
opencost
kube-state-metrics
prometheus-node-exporter
observed objects

Grafana#

  • Effective immediately, Mirantis will no longer distribute Grafana as part of its products or services. This change is being made to proactively avoid potential licensing, redistribution, or compliance considerations related to third-party software. For more information, please contact Mirantis.
  • Review the Using KOF and Grafana in KOF guides in the latest Mirantis k0rdent Enterprise version for instruction on how to install Grafana and Mirantis-provided Grafana dashboards, and to optionally install and integrate with grafana-operator for Grafana lifecycle management.

Low-level#

At a low level, you can see how metrics, logs, and traces work their way around the system.

kof-architecture

Helm Charts#

KOF is deployed as a series of Helm charts at various levels.

kof-mothership#

kof-regional#

  • MultiClusterService which configures and installs kof-storage and other charts to regional clusters

kof-child#

  • MultiClusterService which configures and installs kof-collectors and other charts to child clusters

kof-storage#

kof-istio#

  • Optional Istio support for secure connectivity between clusters without external DNS

kof-operators#

kof-collectors#