diff --git a/deploy/artifact-catalog.v02.json b/deploy/artifact-catalog.v02.json index 4e9f264..29129c2 100644 --- a/deploy/artifact-catalog.v02.json +++ b/deploy/artifact-catalog.v02.json @@ -2,25 +2,25 @@ "lane": "v0.2", "sourceBranch": "v0.2", "gitopsBranch": "v0.2-gitops", - "sourceCommitId": "0f9e742ed1a2986bd552017c5703f39668f6db7e", + "sourceCommitId": "685a0504f510000a78e6cca49f2958baa54ea164", "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:5b5ba3f5d79ab849fd9d7f61", + "image": "127.0.0.1:5000/agentrun/agentrun-mgr-env:d29d4139345a4288edea17fa", "digest": "sha256:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2", "repositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2", - "imageTag": "5b5ba3f5d79ab849fd9d7f61", - "envIdentity": "5b5ba3f5d79ab849fd9d7f61", - "envImage": "127.0.0.1:5000/agentrun/agentrun-mgr-env:5b5ba3f5d79ab849fd9d7f61", + "imageTag": "d29d4139345a4288edea17fa", + "envIdentity": "d29d4139345a4288edea17fa", + "envImage": "127.0.0.1:5000/agentrun/agentrun-mgr-env:d29d4139345a4288edea17fa", "envDigest": "sha256:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2", "envRepositoryDigest": "127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2", - "bootCommit": "0f9e742ed1a2986bd552017c5703f39668f6db7e", + "bootCommit": "685a0504f510000a78e6cca49f2958baa54ea164", "bootScript": "deploy/runtime/boot/agentrun-boot.sh", "provenance": { - "sourceCommitId": "0f9e742ed1a2986bd552017c5703f39668f6db7e", + "sourceCommitId": "685a0504f510000a78e6cca49f2958baa54ea164", "source": "unidesk-yaml-only", "configSource": "config/agentrun.yaml", "valuesPrinted": false diff --git a/deploy/gitops/node/d601/runtime-v02/mgr.yaml b/deploy/gitops/node/d601/runtime-v02/mgr.yaml index 6497087..a648541 100644 --- a/deploy/gitops/node/d601/runtime-v02/mgr.yaml +++ b/deploy/gitops/node/d601/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: D601}},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: D601}},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: D601,app.kubernetes.io/name: agentrun-mgr},annotations: {agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/source-commit: 0f9e742ed1a2986bd552017c5703f39668f6db7e,agentrun.pikastech.local/env-identity: 5b5ba3f5d79ab849fd9d7f61}},spec: {serviceAccountName: agentrun-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2,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: 0f9e742ed1a2986bd552017c5703f39668f6db7e},{name: AGENTRUN_BOOT_COMMIT,value: 0f9e742ed1a2986bd552017c5703f39668f6db7e},{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: 5b5ba3f5d79ab849fd9d7f61},{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:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2},{name: AGENTRUN_RUNNER_SERVICE_ACCOUNT,value: agentrun-v02-runner},{name: AGENTRUN_RUNNER_JOB_NAME_PREFIX,value: agentrun-v02-runner},{name: AGENTRUN_RUNNER_IDLE_TIMEOUT_MS,value: "172800000"},{name: AGENTRUN_RUNNER_MISSING_TERMINAL_AFTER_TOOL_TIMEOUT_MS,value: "60000"},{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-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_RUNNER_EGRESS_PROXY_URL,value: http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808},{name: AGENTRUN_RUNNER_NO_PROXY_EXTRA,value: "sub2api-egress-proxy,sub2api-egress-proxy.platform-infra,sub2api-egress-proxy.platform-infra.svc,sub2api-egress-proxy.platform-infra.svc.cluster.local"},{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: D601},{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: D601}},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: D601,app.kubernetes.io/name: agentrun-mgr},annotations: {agentrun.pikastech.local/lane: v0.2,agentrun.pikastech.local/source-commit: 685a0504f510000a78e6cca49f2958baa54ea164,agentrun.pikastech.local/env-identity: d29d4139345a4288edea17fa}},spec: {serviceAccountName: agentrun-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2,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: 685a0504f510000a78e6cca49f2958baa54ea164},{name: AGENTRUN_BOOT_COMMIT,value: 685a0504f510000a78e6cca49f2958baa54ea164},{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: d29d4139345a4288edea17fa},{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:009bdd207194bea1f093412fbcb79d5e16888e3d26ef8dcfba2394c7c1a14cf2},{name: AGENTRUN_RUNNER_SERVICE_ACCOUNT,value: agentrun-v02-runner},{name: AGENTRUN_RUNNER_JOB_NAME_PREFIX,value: agentrun-v02-runner},{name: AGENTRUN_RUNNER_IDLE_TIMEOUT_MS,value: "172800000"},{name: AGENTRUN_RUNNER_MISSING_TERMINAL_AFTER_TOOL_TIMEOUT_MS,value: "60000"},{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-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_RUNNER_EGRESS_PROXY_URL,value: http://sub2api-egress-proxy.platform-infra.svc.cluster.local:10808},{name: AGENTRUN_RUNNER_NO_PROXY_EXTRA,value: "sub2api-egress-proxy,sub2api-egress-proxy.platform-infra,sub2api-egress-proxy.platform-infra.svc,sub2api-egress-proxy.platform-infra.svc.cluster.local"},{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: D601},{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-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: D601}},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 cbe2a4a..af726ae 100644 --- a/source.json +++ b/source.json @@ -1,6 +1,6 @@ { "lane": "v0.2", - "sourceCommit": "0f9e742ed1a2986bd552017c5703f39668f6db7e", + "sourceCommit": "685a0504f510000a78e6cca49f2958baa54ea164", "generatedBy": "unidesk config/agentrun.yaml", "configSource": "config/agentrun.yaml" }