{
  "id": "7d5f7e3a-8e2b-4a91-b5c7-21d9e6f04a11",
  "name": "Cloud-Native Distributed Job Scheduler",
  "schemaVersion": "designs.meshery.io/v1beta1",
  "version": "0.0.6",
  "metadata": {
    "resolvedAliases": {}
  },
  "components": [
    {
      "id": "10000000-0000-0000-0000-000000000001",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "API Gateway",
      "description": "Highly available API entry point for submitting, querying, cancelling and managing distributed jobs.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "body-text": "",
        "body-text-color": "#808080",
        "body-text-font-size": 12,
        "body-text-font-weight": "400",
        "body-text-horizontal-align": "center",
        "body-text-vertical-align": "center",
        "border-width": 2,
        "height": 24,
        "opacity": 1,
        "padding": 6,
        "position": {
          "x": 150,
          "y": 300
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 170,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "api-gateway",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 2,
          "selector": {
            "matchLabels": {
              "app": "api-gateway"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "api-gateway"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "nginx:1.27",
                  "name": "api-gateway",
                  "ports": [
                    {
                      "containerPort": 8080
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "500m",
                      "memory": "512Mi"
                    },
                    "requests": {
                      "cpu": "100m",
                      "memory": "128Mi"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000002",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Distributed Scheduler",
      "description": "Stateless scheduler replicas coordinate job assignment using distributed leader election and persistent job state.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "body-text": "",
        "body-text-color": "#808080",
        "body-text-font-size": 12,
        "body-text-font-weight": "400",
        "body-text-horizontal-align": "center",
        "body-text-vertical-align": "center",
        "border-width": 2,
        "height": 24,
        "opacity": 1,
        "padding": 6,
        "position": {
          "x": 420,
          "y": 300
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "scheduler",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 3,
          "selector": {
            "matchLabels": {
              "app": "scheduler"
            }
          },
          "strategy": {
            "type": "RollingUpdate"
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "scheduler"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "nginx:1.27",
                  "name": "scheduler",
                  "ports": [
                    {
                      "containerPort": 8080
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "1",
                      "memory": "1Gi"
                    },
                    "requests": {
                      "cpu": "250m",
                      "memory": "256Mi"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000003",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Scheduler Service",
      "description": "Stable internal endpoint distributing API requests across scheduler replicas.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 420,
          "y": 390
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "scheduler-service",
          "namespace": "scheduler-system"
        },
        "spec": {
          "ports": [
            {
              "port": 8080,
              "targetPort": 8080
            }
          ],
          "selector": {
            "app": "scheduler"
          },
          "type": "ClusterIP"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Service",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000004",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Redis Coordination",
      "description": "Coordination layer for distributed locks, leader election, lease state and short-lived scheduler coordination data.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 700,
          "y": 250
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "redis",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 3,
          "selector": {
            "matchLabels": {
              "app": "redis"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "redis"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "redis:7.4",
                  "name": "redis",
                  "ports": [
                    {
                      "containerPort": 6379
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "500m",
                      "memory": "512Mi"
                    },
                    "requests": {
                      "cpu": "100m",
                      "memory": "128Mi"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000005",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Redis Service",
      "description": "Internal service endpoint for scheduler coordination traffic.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 700,
          "y": 340
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "redis-service",
          "namespace": "scheduler-system"
        },
        "spec": {
          "ports": [
            {
              "port": 6379,
              "targetPort": 6379
            }
          ],
          "selector": {
            "app": "redis"
          },
          "type": "ClusterIP"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Service",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000006",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Kafka Job Queue",
      "description": "Durable asynchronous job queue that decouples scheduling from execution and absorbs workload spikes.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 700,
          "y": 520
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "kafka",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 3,
          "selector": {
            "matchLabels": {
              "app": "kafka"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "kafka"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "bitnami/kafka:3.9",
                  "name": "kafka",
                  "ports": [
                    {
                      "containerPort": 9092
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "2",
                      "memory": "2Gi"
                    },
                    "requests": {
                      "cpu": "500m",
                      "memory": "512Mi"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "StatefulSet",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000007",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Kafka Service",
      "description": "Stable endpoint for Kafka broker communication.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 700,
          "y": 610
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "kafka-service",
          "namespace": "scheduler-system"
        },
        "spec": {
          "ports": [
            {
              "port": 9092,
              "targetPort": 9092
            }
          ],
          "selector": {
            "app": "kafka"
          },
          "type": "ClusterIP"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Service",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000008",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Job Worker Pool",
      "description": "Horizontally scalable execution workers consuming jobs from the durable queue.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 980,
          "y": 520
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "job-workers",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 3,
          "selector": {
            "matchLabels": {
              "app": "job-worker"
            }
          },
          "strategy": {
            "type": "RollingUpdate"
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "job-worker"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "nginx:1.27",
                  "name": "worker",
                  "ports": [
                    {
                      "containerPort": 8080
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "2",
                      "memory": "2Gi"
                    },
                    "requests": {
                      "cpu": "250m",
                      "memory": "256Mi"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000009",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Worker Autoscaler",
      "description": "Automatically scales worker capacity based on CPU utilization to handle workload bursts.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 980,
          "y": 630
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "job-workers-hpa",
          "namespace": "scheduler-system"
        },
        "spec": {
          "maxReplicas": 20,
          "metrics": [
            {
              "resource": {
                "name": "cpu",
                "target": {
                  "averageUtilization": 70,
                  "type": "Utilization"
                }
              },
              "type": "Resource"
            }
          ],
          "minReplicas": 3,
          "scaleTargetRef": {
            "apiVersion": "apps/v1",
            "kind": "Deployment",
            "name": "job-workers"
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "HorizontalPodAutoscaler",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000010",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Worker Service",
      "description": "Internal endpoint for worker health checks and controlled worker communication.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 980,
          "y": 430
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "worker-service",
          "namespace": "scheduler-system"
        },
        "spec": {
          "ports": [
            {
              "port": 8080,
              "targetPort": 8080
            }
          ],
          "selector": {
            "app": "job-worker"
          },
          "type": "ClusterIP"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Service",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000011",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "PostgreSQL Job Store",
      "description": "Persistent source of truth for job definitions, schedules, state transitions, retry metadata and execution history.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 700,
          "y": 780
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 200,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "postgresql",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 2,
          "selector": {
            "matchLabels": {
              "app": "postgresql"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "postgresql"
              }
            },
            "spec": {
              "containers": [
                {
                  "env": [
                    {
                      "name": "POSTGRES_DB",
                      "value": "jobs"
                    },
                    {
                      "name": "POSTGRES_USER",
                      "value": "scheduler"
                    }
                  ],
                  "image": "postgres:17",
                  "name": "postgresql",
                  "ports": [
                    {
                      "containerPort": 5432
                    }
                  ],
                  "resources": {
                    "limits": {
                      "cpu": "1",
                      "memory": "1Gi"
                    },
                    "requests": {
                      "cpu": "250m",
                      "memory": "256Mi"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "StatefulSet",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000012",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "PostgreSQL Service",
      "description": "Stable internal database endpoint used by scheduler and workers.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 700,
          "y": 870
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 200,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "postgresql-service",
          "namespace": "scheduler-system"
        },
        "spec": {
          "ports": [
            {
              "port": 5432,
              "targetPort": 5432
            }
          ],
          "selector": {
            "app": "postgresql"
          },
          "type": "ClusterIP"
        }
      },
      "component": {
        "version": "v1",
        "kind": "Service",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000013",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Retry Manager",
      "description": "Coordinates retry attempts using exponential backoff and moves exhausted jobs toward dead-letter processing.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 1230,
          "y": 520
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "retry-manager",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 2,
          "selector": {
            "matchLabels": {
              "app": "retry-manager"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "retry-manager"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "nginx:1.27",
                  "name": "retry-manager",
                  "resources": {
                    "limits": {
                      "cpu": "500m",
                      "memory": "512Mi"
                    },
                    "requests": {
                      "cpu": "100m",
                      "memory": "128Mi"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000014",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Dead Letter Queue",
      "description": "Isolates jobs that permanently fail after retry exhaustion for later inspection or replay.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 1230,
          "y": 650
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "dead-letter-queue",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 2,
          "selector": {
            "matchLabels": {
              "app": "dead-letter-queue"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "dead-letter-queue"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "nginx:1.27",
                  "name": "dead-letter"
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000015",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Prometheus",
      "description": "Collects scheduler throughput, queue depth, execution latency, retries, failures and worker metrics.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 420,
          "y": 1000
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "prometheus",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 1,
          "selector": {
            "matchLabels": {
              "app": "prometheus"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "prometheus"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "prom/prometheus:v3.5.0",
                  "name": "prometheus",
                  "ports": [
                    {
                      "containerPort": 9090
                    }
                  ]
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    },
    {
      "id": "10000000-0000-0000-0000-000000000016",
      "schemaVersion": "components.meshery.io/v1beta1",
      "version": "v1.0.0",
      "displayName": "Grafana",
      "description": "Operational dashboards for queue depth, scheduling latency, worker utilization, retries and job failures.",
      "format": "JSON",
      "model": null,
      "modelReference": {
        "displayName": "Kubernetes",
        "id": "00000000-0000-0000-0000-000000000000",
        "model": {
          "version": "v1.32.0-alpha.3"
        },
        "name": "kubernetes",
        "registrant": {
          "kind": "github"
        },
        "version": "v1.0.0"
      },
      "styles": {
        "background-opacity": 0.5,
        "height": 24,
        "opacity": 1,
        "position": {
          "x": 700,
          "y": 1000
        },
        "primaryColor": "#326CE5",
        "secondaryColor": "#7aa1f0",
        "shape": "round-rectangle",
        "svgColor": "",
        "svgComplete": "",
        "svgWhite": "",
        "width": 180,
        "z-index": 2
      },
      "capabilities": null,
      "status": "enabled",
      "metadata": {
        "configurationUISchema": "",
        "genealogy": "parent",
        "instanceDetails": null,
        "isAnnotation": false,
        "isNamespaced": true,
        "published": false
      },
      "configuration": {
        "metadata": {
          "name": "grafana",
          "namespace": "scheduler-system"
        },
        "spec": {
          "replicas": 1,
          "selector": {
            "matchLabels": {
              "app": "grafana"
            }
          },
          "template": {
            "metadata": {
              "labels": {
                "app": "grafana"
              }
            },
            "spec": {
              "containers": [
                {
                  "image": "grafana/grafana:12.1.1",
                  "name": "grafana",
                  "ports": [
                    {
                      "containerPort": 3000
                    }
                  ]
                }
              ]
            }
          }
        }
      },
      "component": {
        "version": "v1",
        "kind": "Deployment",
        "schema": ""
      },
      "created_at": "0001-01-01T00:00:00Z",
      "updated_at": "0001-01-01T00:00:00Z"
    }
  ],
  "preferences": {
    "layers": {
      "expandedComponents": {},
      "relationships": {
        "hierarchical-parent-inventory": false,
        "hierarchical-sibling-matchlabels": false
      }
    }
  },
  "relationships": []
}