[
  {
    "apiVersion": "unidesk.ai/k3s/v1",
    "kind": "ManagedKubernetesService",
    "metadata": {
      "name": "backend-core-dev",
      "namespace": "unidesk-dev"
    },
    "spec": {
      "adapterServiceId": "k3sctl-adapter",
      "controlPlane": {
        "type": "kubernetes",
        "cluster": "unidesk-k3s",
        "context": "unidesk-k3s"
      },
      "route": {
        "kind": "kubernetes-service",
        "serviceName": "backend-core-dev",
        "servicePort": 8080
      },
      "activeInstanceId": "D601-dev-backend",
      "singleWriter": true,
      "expectedNodeIds": [
        "D601"
      ],
      "instances": [
        {
          "id": "D601-dev-backend",
          "nodeId": "D601",
          "role": "primary",
          "baseUrl": "kubernetes://unidesk-dev/services/backend-core-dev:8080",
          "healthPath": "/health",
          "healthMode": "service-proxy"
        }
      ],
      "requireAllInstancesHealthy": true
    }
  },
  {
    "apiVersion": "unidesk.ai/k3s/v1",
    "kind": "ManagedKubernetesService",
    "metadata": {
      "name": "frontend-dev",
      "namespace": "unidesk-dev"
    },
    "spec": {
      "adapterServiceId": "k3sctl-adapter",
      "controlPlane": {
        "type": "kubernetes",
        "cluster": "unidesk-k3s",
        "context": "unidesk-k3s"
      },
      "route": {
        "kind": "kubernetes-service",
        "serviceName": "frontend-dev",
        "servicePort": 8080
      },
      "activeInstanceId": "D601-dev-frontend",
      "singleWriter": false,
      "expectedNodeIds": [
        "D601"
      ],
      "instances": [
        {
          "id": "D601-dev-frontend",
          "nodeId": "D601",
          "role": "primary",
          "baseUrl": "kubernetes://unidesk-dev/services/frontend-dev:8080",
          "healthPath": "/health",
          "healthMode": "service-proxy"
        }
      ],
      "requireAllInstancesHealthy": true
    }
  }
]
