Catalog
ConfigDB component lookup enables you to query configs from the database to use as components.
kubernetes-cluster.ymlapiVersion: canaries.flanksource.com/v1
kind: Topology
metadata:
name: kubernetes-cluster
spec:
type: KubernetesCluster
icon: kubernetes
schedule: '@every 10m'
id:
javascript: properties.id
components:
- name: nodes
icon: server
type: KubernetesNode
lookup:
catalog:
- selector:
- types:
- Kubernetes::Node
Field | Description | Scheme | Required |
---|---|---|---|
display | Template to display query results in text (overrides default bar format for UI) | Template | |
selector | Query that needs to be executed on the server | Resource Selector | Yes |
transform | Template to transform results to | Template |
Results
The results
variable will be a list of [Config][/reference/config-db]