Relationships
Relationships define the nature of interaction between interconnected components in MeshModel. They represent various types of connections and dependencies between components, such as hierarchical, network, or default relationships. Relationships have selectors, metadata, and optional parameters.
Semantic and Non-Semantic Relationships
Shapes (all styles) convertable to Components
The isAnnotation
attribute of a Component determines whether the give Component reflects an infrastructure concern - is sematically meaningful, and whose lifecycle is managed by Meshery.
Core Constructs of Relationships
- Kinds
- Subtypes
Kind - Subtypes of Relationships
- Edge - Network
Example
Service β> Deployment Service β> Pod Ingress Controller β> Ingress β> Service
- Edge - Mount
Example
Assignment of Pods to Persistent Volumes via PVC.
Pod β> Persisten Volume Claim β> Persistent Volume
- Edge - Permission
Example
The set of Service Accounts that are entitled with the one or more Cluster Roles bound via Cluster Role Binding.
Cluster Role β> Cluser Role Binding β> Service Account
- Edge - Firewall
Example
Kubernetes Network Policy for controlling ingress and egress traffic from Pod-to-Pod
- Heirarchical - Inventory
Example
WASM Filter (binary and configuration) β> Istio WASM Plugin WASM Filter (Binary and Configuration) β> Istio Envoy Filter
- Heirarchical - Parent
Example
Any namespaced Kubernetes component β> Kubernetes Namespace
Meshery Registry
You can reference and search the full set of registered relationships in Meshery UI β> Setttings β> Registry
Future Feature
mesheryctl model import -f [ oci:// | file:// ]`