Skip to main content

Custom Resource Definitions

Mission Control uses several Custom Resource Definitions (CRDs) to provide extended functionality in Kubernetes. These CRDs allow you to define various resources that Mission Control can manage, monitor, and interact with.

Available CRDs

CRDKindDescription
CanaryCanaryDefine health checks to monitor the availability of services
ComponentComponentDefine components for organizing and visualizing your infrastructure
TopologyTopologyDefine relationships and hierarchies between components
ConnectionConnectionDefine connections to external systems and services
IncidentRuleIncidentRuleDefine rules for incident detection and management
NotificationNotificationDefine notification channels and rules
NotificationSilenceNotificationSilenceDefine periods when notifications should be silenced
PermissionGroupPermissionGroupDefine groups of permissions for RBAC
PermissionPermissionDefine individual permissions for RBAC
PlaybookPlaybookDefine automated workflows for operations
ScrapeConfigScrapeConfigDefine configurations for scraping metrics
ScrapePluginScrapePluginDefine plugins for scraping custom data sources

Installation

These CRDs are automatically installed when you deploy Mission Control using the Helm chart. If you need to install them manually, you can use:

kubectl apply -f https://github.com/flanksource/mission-control-chart/tree/main/crd-chart/templates

Validation

Mission Control uses OpenAPI validation schemas to ensure that the resources you create are valid. You can find the full schemas in the duty repository.