From f2e301b24d832c7e4b97fd0a5af9a0dc2f5c7726 Mon Sep 17 00:00:00 2001 From: UniDesk AgentRun Ops Date: Sat, 4 Jul 2026 01:59:33 +0000 Subject: [PATCH] deploy: render AgentRun jd01-v0.2-gitops from UniDesk YAML --- deploy/artifact-catalog.jd01-v02.json | 22 ++++++++++---------- deploy/gitops/node/jd01/runtime-v02/mgr.yaml | 2 +- source.json | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/deploy/artifact-catalog.jd01-v02.json b/deploy/artifact-catalog.jd01-v02.json index bee12ed..de4f6be 100644 --- a/deploy/artifact-catalog.jd01-v02.json +++ b/deploy/artifact-catalog.jd01-v02.json @@ -2,25 +2,25 @@ "lane": "v0.2", "sourceBranch": "v0.2", "gitopsBranch": "jd01-v0.2-gitops", - "sourceCommitId": "707abaf7bf3a8acc00a6609c278a3e675e7fc441", + "sourceCommitId": "d026f81be925f10ffe0ac160c35c83c9f5708b74", "summary": "build=1 reuse=0 placeholder=0", "services": [ { "serviceId": "agentrun-mgr", "artifactKind": "env-reuse", "status": "built", - "image": "127.0.0.1:5000/agentrun/agentrun-mgr-env:source-707abaf7bf3a", - "digest": "sha256:eae53350bd8f4b8a6138a54eb13815a797c93853f3c108a5de8bd71ef8478832", - "repositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:eae53350bd8f4b8a6138a54eb13815a797c93853f3c108a5de8bd71ef8478832", - "imageTag": "source-707abaf7bf3a", - "envIdentity": "source-707abaf7bf3a", - "envImage": "127.0.0.1:5000/agentrun/agentrun-mgr-env:source-707abaf7bf3a", - "envDigest": "sha256:eae53350bd8f4b8a6138a54eb13815a797c93853f3c108a5de8bd71ef8478832", - "envRepositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:eae53350bd8f4b8a6138a54eb13815a797c93853f3c108a5de8bd71ef8478832", - "bootCommit": "707abaf7bf3a8acc00a6609c278a3e675e7fc441", + "image": "127.0.0.1:5000/agentrun/agentrun-mgr-env:source-d026f81be925", + "digest": "sha256:5a473d9dd65e2f6a32602a981ebce79c27c13fbc57c329e2a1f3de110c1d20ca", + "repositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:5a473d9dd65e2f6a32602a981ebce79c27c13fbc57c329e2a1f3de110c1d20ca", + "imageTag": "source-d026f81be925", + "envIdentity": "source-d026f81be925", + "envImage": "127.0.0.1:5000/agentrun/agentrun-mgr-env:source-d026f81be925", + "envDigest": "sha256:5a473d9dd65e2f6a32602a981ebce79c27c13fbc57c329e2a1f3de110c1d20ca", + "envRepositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:5a473d9dd65e2f6a32602a981ebce79c27c13fbc57c329e2a1f3de110c1d20ca", + "bootCommit": "d026f81be925f10ffe0ac160c35c83c9f5708b74", "bootScript": "deploy/runtime/boot/agentrun-boot.sh", "provenance": { - "sourceCommitId": "707abaf7bf3a8acc00a6609c278a3e675e7fc441", + "sourceCommitId": "d026f81be925f10ffe0ac160c35c83c9f5708b74", "source": "unidesk-yaml-only", "configSource": "config/agentrun.yaml", "valuesPrinted": false diff --git a/deploy/gitops/node/jd01/runtime-v02/mgr.yaml b/deploy/gitops/node/jd01/runtime-v02/mgr.yaml index d827c7a..eb6f629 100644 --- a/deploy/gitops/node/jd01/runtime-v02/mgr.yaml +++ b/deploy/gitops/node/jd01/runtime-v02/mgr.yaml @@ -2,7 +2,7 @@ --- {apiVersion: v1,kind: Service,metadata: {name: agentrun-mgr,namespace: agentrun-v02,labels: {app.kubernetes.io/part-of: agentrun,agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/node: JD01}},spec: {selector: {app.kubernetes.io/name: agentrun-mgr},ports: [{name: http,port: 8080,targetPort: http}]}} --- -{apiVersion: apps/v1,kind: Deployment,metadata: {name: agentrun-mgr,namespace: agentrun-v02,labels: {app.kubernetes.io/part-of: agentrun,agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/node: JD01}},spec: {replicas: 1,selector: {matchLabels: {app.kubernetes.io/name: agentrun-mgr}},template: {metadata: {labels: {app.kubernetes.io/part-of: agentrun,agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/node: JD01,app.kubernetes.io/name: agentrun-mgr},annotations: {agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/source-commit: 707abaf7bf3a8acc00a6609c278a3e675e7fc441,agentrun.pikastech.local/env-identity: source-707abaf7bf3a}},spec: {serviceAccountName: agentrun-jd01-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:eae53350bd8f4b8a6138a54eb13815a797c93853f3c108a5de8bd71ef8478832,imagePullPolicy: IfNotPresent,ports: [{name: http,containerPort: 8080}],env: [{name: AGENTRUN_LANE,value: v0.2},{name: DATABASE_URL,valueFrom: {secretKeyRef: {name: agentrun-v02-mgr-db,key: DATABASE_URL}}},{name: AGENTRUN_SOURCE_COMMIT,value: 707abaf7bf3a8acc00a6609c278a3e675e7fc441},{name: AGENTRUN_BOOT_COMMIT,value: 707abaf7bf3a8acc00a6609c278a3e675e7fc441},{name: AGENTRUN_BOOT_MODE,value: mgr},{name: AGENTRUN_BOOT_REPO_URL,value: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/agentrun.git},{name: AGENTRUN_ENV_IDENTITY,value: source-707abaf7bf3a},{name: AGENTRUN_RUNTIME_NAMESPACE,value: agentrun-v02},{name: AGENTRUN_INTERNAL_MGR_URL,value: http://agentrun-mgr.agentrun-v02.svc.cluster.local:8080},{name: AGENTRUN_RUNNER_IMAGE,value: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:eae53350bd8f4b8a6138a54eb13815a797c93853f3c108a5de8bd71ef8478832},{name: AGENTRUN_RUNNER_SERVICE_ACCOUNT,value: agentrun-jd01-v02-runner},{name: AGENTRUN_RUNNER_JOB_NAME_PREFIX,value: agentrun-jd01-v02-runner},{name: AGENTRUN_RUNNER_IDLE_TIMEOUT_MS,value: "600000"},{name: AGENTRUN_BACKEND_RETRY_MAX_ATTEMPTS,value: "5"},{name: AGENTRUN_BACKEND_RETRY_INITIAL_BACKOFF_MS,value: "1000"},{name: AGENTRUN_BACKEND_RETRY_MAX_BACKOFF_MS,value: "30000"},{name: AGENTRUN_RUNNER_RETENTION_MAX_RUNNERS,value: "20"},{name: AGENTRUN_RUNNER_RETENTION_CLEANUP_ORDER,value: oldest-inactive-last-active-first},{name: AGENTRUN_RUNNER_RETENTION_ACTIVE_HEARTBEAT_MAX_AGE_MS,value: "900000"},{name: AGENTRUN_RUNNER_RETENTION_MATCH_LABELS_JSON,value: "{\"app.kubernetes.io/part-of\":\"agentrun\",\"app.kubernetes.io/name\":\"agentrun-runner\",\"app.kubernetes.io/component\":\"runner\"}"},{name: AGENTRUN_RUNNER_RETENTION_JOB_NAME_PREFIXES,value: "agentrun-jd01-v02-runner,agentrun-v02-runner,agentrun-v01-runner"},{name: AGENTRUN_RUNNER_RETENTION_AGE_BASED_CLEANUP_ENABLED,value: "false"},{name: AGENTRUN_RUNNER_RETENTION_AGE_BASED_MAX_AGE_HOURS,value: "48"},{name: AGENTRUN_CANCEL_DELIVERY_MODE,value: manager-epoch},{name: AGENTRUN_CANCEL_GRACEFUL_ABORT_MS,value: "15000"},{name: AGENTRUN_CANCEL_KILL_ESCALATION_MS,value: "30000"},{name: AGENTRUN_CANCEL_STALE_HEARTBEAT_FENCING_MS,value: "900000"},{name: AGENTRUN_CANCEL_LATE_WRITE_FENCING_ENABLED,value: "true"},{name: AGENTRUN_CANCEL_EVENT_STAGES,value: "accepted,persisted,delivered,aborting,terminalized,fenced,late-write-rejected"},{name: AGENTRUN_RUNNER_EGRESS_PROXY_URL,value: http://127.0.0.1:10808},{name: AGENTRUN_RUNNER_NO_PROXY_EXTRA,value: "localhost,127.0.0.1,::1,.svc,.svc.cluster.local,.cluster.local,hyueapi.com,.hyueapi.com"},{name: AGENTRUN_API_KEY,valueFrom: {secretKeyRef: {name: agentrun-v02-api-key,key: HWLAB_API_KEY}}},{name: AGENTRUN_MANAGER_RECONCILER_BATCH_SIZE,value: "20"},{name: AGENTRUN_MANAGER_RECONCILER_ENABLED,value: "true"},{name: AGENTRUN_MANAGER_RECONCILER_INTERVAL_MS,value: "30000"},{name: AGENTRUN_POSTGRES_POOL_MAX,value: "4"},{name: HWLAB_RUNTIME_LANE,value: v0.3},{name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces},{name: OTEL_SERVICE_NAME,value: agentrun-manager},{name: UNIDESK_NODE_ID,value: JD01},{name: UNIDESK_MAIN_SERVER_IP,value: 74.48.78.17}],readinessProbe: {httpGet: {path: /health/readiness,port: http}},livenessProbe: {httpGet: {path: /health/live,port: http}},resources: {requests: {cpu: 100m,memory: 256Mi},limits: {cpu: 800m,memory: 1Gi}}}]}}}} +{apiVersion: apps/v1,kind: Deployment,metadata: {name: agentrun-mgr,namespace: agentrun-v02,labels: {app.kubernetes.io/part-of: agentrun,agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/node: JD01}},spec: {replicas: 1,selector: {matchLabels: {app.kubernetes.io/name: agentrun-mgr}},template: {metadata: {labels: {app.kubernetes.io/part-of: agentrun,agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/node: JD01,app.kubernetes.io/name: agentrun-mgr},annotations: {agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/source-commit: d026f81be925f10ffe0ac160c35c83c9f5708b74,agentrun.pikastech.local/env-identity: source-d026f81be925}},spec: {serviceAccountName: agentrun-jd01-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:5a473d9dd65e2f6a32602a981ebce79c27c13fbc57c329e2a1f3de110c1d20ca,imagePullPolicy: IfNotPresent,ports: [{name: http,containerPort: 8080}],env: [{name: AGENTRUN_LANE,value: v0.2},{name: DATABASE_URL,valueFrom: {secretKeyRef: {name: agentrun-v02-mgr-db,key: DATABASE_URL}}},{name: AGENTRUN_SOURCE_COMMIT,value: d026f81be925f10ffe0ac160c35c83c9f5708b74},{name: AGENTRUN_BOOT_COMMIT,value: d026f81be925f10ffe0ac160c35c83c9f5708b74},{name: AGENTRUN_BOOT_MODE,value: mgr},{name: AGENTRUN_BOOT_REPO_URL,value: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/agentrun.git},{name: AGENTRUN_ENV_IDENTITY,value: source-d026f81be925},{name: AGENTRUN_RUNTIME_NAMESPACE,value: agentrun-v02},{name: AGENTRUN_INTERNAL_MGR_URL,value: http://agentrun-mgr.agentrun-v02.svc.cluster.local:8080},{name: AGENTRUN_RUNNER_IMAGE,value: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:5a473d9dd65e2f6a32602a981ebce79c27c13fbc57c329e2a1f3de110c1d20ca},{name: AGENTRUN_RUNNER_SERVICE_ACCOUNT,value: agentrun-jd01-v02-runner},{name: AGENTRUN_RUNNER_JOB_NAME_PREFIX,value: agentrun-jd01-v02-runner},{name: AGENTRUN_RUNNER_IDLE_TIMEOUT_MS,value: "600000"},{name: AGENTRUN_BACKEND_RETRY_MAX_ATTEMPTS,value: "5"},{name: AGENTRUN_BACKEND_RETRY_INITIAL_BACKOFF_MS,value: "1000"},{name: AGENTRUN_BACKEND_RETRY_MAX_BACKOFF_MS,value: "30000"},{name: AGENTRUN_RUNNER_RETENTION_MAX_RUNNERS,value: "20"},{name: AGENTRUN_RUNNER_RETENTION_CLEANUP_ORDER,value: oldest-inactive-last-active-first},{name: AGENTRUN_RUNNER_RETENTION_ACTIVE_HEARTBEAT_MAX_AGE_MS,value: "900000"},{name: AGENTRUN_RUNNER_RETENTION_MATCH_LABELS_JSON,value: "{\"app.kubernetes.io/part-of\":\"agentrun\",\"app.kubernetes.io/name\":\"agentrun-runner\",\"app.kubernetes.io/component\":\"runner\"}"},{name: AGENTRUN_RUNNER_RETENTION_JOB_NAME_PREFIXES,value: "agentrun-jd01-v02-runner,agentrun-v02-runner,agentrun-v01-runner"},{name: AGENTRUN_RUNNER_RETENTION_AGE_BASED_CLEANUP_ENABLED,value: "false"},{name: AGENTRUN_RUNNER_RETENTION_AGE_BASED_MAX_AGE_HOURS,value: "48"},{name: AGENTRUN_CANCEL_DELIVERY_MODE,value: manager-epoch},{name: AGENTRUN_CANCEL_GRACEFUL_ABORT_MS,value: "15000"},{name: AGENTRUN_CANCEL_KILL_ESCALATION_MS,value: "30000"},{name: AGENTRUN_CANCEL_STALE_HEARTBEAT_FENCING_MS,value: "900000"},{name: AGENTRUN_CANCEL_LATE_WRITE_FENCING_ENABLED,value: "true"},{name: AGENTRUN_CANCEL_EVENT_STAGES,value: "accepted,persisted,delivered,aborting,terminalized,fenced,late-write-rejected"},{name: AGENTRUN_RUNNER_EGRESS_PROXY_URL,value: http://127.0.0.1:10808},{name: AGENTRUN_RUNNER_NO_PROXY_EXTRA,value: "localhost,127.0.0.1,::1,.svc,.svc.cluster.local,.cluster.local,hyueapi.com,.hyueapi.com"},{name: AGENTRUN_API_KEY,valueFrom: {secretKeyRef: {name: agentrun-v02-api-key,key: HWLAB_API_KEY}}},{name: AGENTRUN_MANAGER_RECONCILER_BATCH_SIZE,value: "20"},{name: AGENTRUN_MANAGER_RECONCILER_ENABLED,value: "true"},{name: AGENTRUN_MANAGER_RECONCILER_INTERVAL_MS,value: "30000"},{name: AGENTRUN_POSTGRES_POOL_MAX,value: "4"},{name: HWLAB_RUNTIME_LANE,value: v0.3},{name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces},{name: OTEL_SERVICE_NAME,value: agentrun-manager},{name: UNIDESK_NODE_ID,value: JD01},{name: UNIDESK_MAIN_SERVER_IP,value: 74.48.78.17}],readinessProbe: {httpGet: {path: /health/readiness,port: http}},livenessProbe: {httpGet: {path: /health/live,port: http}},resources: {requests: {cpu: 100m,memory: 256Mi},limits: {cpu: 800m,memory: 1Gi}}}]}}}} --- {apiVersion: rbac.authorization.k8s.io/v1,kind: Role,metadata: {name: agentrun-jd01-v02-mgr-runner-job-controller,namespace: agentrun-v02,labels: {app.kubernetes.io/part-of: agentrun,agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/node: JD01}},rules: [{apiGroups: [batch],resources: [jobs],verbs: [create,delete,get,list,watch]},{apiGroups: [""],resources: [pods],verbs: [delete,get,list,watch]},{apiGroups: [""],resources: [persistentvolumeclaims],verbs: [create,get,list,watch,delete]}]} --- diff --git a/source.json b/source.json index accd69c..4dc32b3 100644 --- a/source.json +++ b/source.json @@ -1,6 +1,6 @@ { "lane": "v0.2", - "sourceCommit": "707abaf7bf3a8acc00a6609c278a3e675e7fc441", + "sourceCommit": "d026f81be925f10ffe0ac160c35c83c9f5708b74", "generatedBy": "unidesk config/agentrun.yaml", "configSource": "config/agentrun.yaml" }