version: 1
kind: HwlabFakeModelProviderRuntime
metadata:
  id: fake-model-provider-runtime
  owner: UniDesk
  issue: 1190
provider:
  runtime:
    target:
      node: NC01
      lane: v03
      agentrunLane: nc01-v02
    namespace: agentrun-v02
    serviceAccountName: default
    deploymentName: hwlab-fake-model-provider
    serviceName: hwlab-fake-model-provider
    configMapName: hwlab-fake-model-provider-source
    secretName: hwlab-fake-model-provider-api-key
    containerName: fake-responses-provider
    listenHost: 0.0.0.0
    servicePort: 8080
    healthPath: /healthz
    modelsPath: /v1/models
    responsesPath: /v1/responses
    image:
      mode: configmap-bun-entrypoint
      imageRef: 127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1
      imagePullPolicy: IfNotPresent
      containerfile: deploy/container/fake-responses-provider.Containerfile
    source:
      entrypoint: scripts/fake-responses-provider-service.ts
      files:
        - scripts/fake-responses-provider-service.ts
        - scripts/src/fake-responses-provider-service.ts
    config:
      modelId: fake-echo
      mode: echo
      responseDelayMs: 0
      nonEchoPolicy: error
    resources:
      requests:
        cpu: 25m
        memory: 64Mi
      limits:
        cpu: 250m
        memory: 256Mi
    probes:
      initialDelaySeconds: 3
      periodSeconds: 10
      timeoutSeconds: 3
      failureThreshold: 3
