From 9992fdfc472d0cb3c5e47e9cba78eee3222233df Mon Sep 17 00:00:00 2001 From: UniDesk AgentRun Ops Date: Fri, 3 Jul 2026 20:45:16 +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 b979436..fdf2dfc 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": "4deeda31f25bd10696d2b2f66c83b7786ba84af5", + "sourceCommitId": "bc677fa1441acff54f619c904a84512aea79e190", "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-4deeda31f25b", - "digest": "sha256:7939d78023b002c6e63869cab9073a09c20d7c54512d48fd451c08b3f9fc2c27", - "repositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:7939d78023b002c6e63869cab9073a09c20d7c54512d48fd451c08b3f9fc2c27", - "imageTag": "source-4deeda31f25b", - "envIdentity": "source-4deeda31f25b", - "envImage": "127.0.0.1:5000/agentrun/agentrun-mgr-env:source-4deeda31f25b", - "envDigest": "sha256:7939d78023b002c6e63869cab9073a09c20d7c54512d48fd451c08b3f9fc2c27", - "envRepositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:7939d78023b002c6e63869cab9073a09c20d7c54512d48fd451c08b3f9fc2c27", - "bootCommit": "4deeda31f25bd10696d2b2f66c83b7786ba84af5", + "image": "127.0.0.1:5000/agentrun/agentrun-mgr-env:source-bc677fa1441a", + "digest": "sha256:78d3e68e076614b3ec5cff5aa62951a6c58d8a786aaac2ad5813578c2b542d2d", + "repositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:78d3e68e076614b3ec5cff5aa62951a6c58d8a786aaac2ad5813578c2b542d2d", + "imageTag": "source-bc677fa1441a", + "envIdentity": "source-bc677fa1441a", + "envImage": "127.0.0.1:5000/agentrun/agentrun-mgr-env:source-bc677fa1441a", + "envDigest": "sha256:78d3e68e076614b3ec5cff5aa62951a6c58d8a786aaac2ad5813578c2b542d2d", + "envRepositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:78d3e68e076614b3ec5cff5aa62951a6c58d8a786aaac2ad5813578c2b542d2d", + "bootCommit": "bc677fa1441acff54f619c904a84512aea79e190", "bootScript": "deploy/runtime/boot/agentrun-boot.sh", "provenance": { - "sourceCommitId": "4deeda31f25bd10696d2b2f66c83b7786ba84af5", + "sourceCommitId": "bc677fa1441acff54f619c904a84512aea79e190", "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 85b8659..ce57e2c 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: 4deeda31f25bd10696d2b2f66c83b7786ba84af5,agentrun.pikastech.local/env-identity: source-4deeda31f25b}},spec: {serviceAccountName: agentrun-jd01-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:7939d78023b002c6e63869cab9073a09c20d7c54512d48fd451c08b3f9fc2c27,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: 4deeda31f25bd10696d2b2f66c83b7786ba84af5},{name: AGENTRUN_BOOT_COMMIT,value: 4deeda31f25bd10696d2b2f66c83b7786ba84af5},{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-4deeda31f25b},{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:7939d78023b002c6e63869cab9073a09c20d7c54512d48fd451c08b3f9fc2c27},{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: bc677fa1441acff54f619c904a84512aea79e190,agentrun.pikastech.local/env-identity: source-bc677fa1441a}},spec: {serviceAccountName: agentrun-jd01-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:78d3e68e076614b3ec5cff5aa62951a6c58d8a786aaac2ad5813578c2b542d2d,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: bc677fa1441acff54f619c904a84512aea79e190},{name: AGENTRUN_BOOT_COMMIT,value: bc677fa1441acff54f619c904a84512aea79e190},{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-bc677fa1441a},{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:78d3e68e076614b3ec5cff5aa62951a6c58d8a786aaac2ad5813578c2b542d2d},{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 ca3382f..c276cbf 100644 --- a/source.json +++ b/source.json @@ -1,6 +1,6 @@ { "lane": "v0.2", - "sourceCommit": "4deeda31f25bd10696d2b2f66c83b7786ba84af5", + "sourceCommit": "bc677fa1441acff54f619c904a84512aea79e190", "generatedBy": "unidesk config/agentrun.yaml", "configSource": "config/agentrun.yaml" }