deploy: render AgentRun jd01-v0.2-gitops from UniDesk YAML
This commit is contained in:
@@ -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: f3726165990a9753a391d0bf53eee2f6d13254d6,agentrun.pikastech.local/env-identity: source-f3726165990a}},spec: {serviceAccountName: agentrun-jd01-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:b5eaaf67a230d3a5c428212ef78ce4366e34ea5ae5394d0e03c4876bace1d537,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: f3726165990a9753a391d0bf53eee2f6d13254d6},{name: AGENTRUN_BOOT_COMMIT,value: f3726165990a9753a391d0bf53eee2f6d13254d6},{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-f3726165990a},{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:b5eaaf67a230d3a5c428212ef78ce4366e34ea5ae5394d0e03c4876bace1d537},{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: 29a9bce01ed9a842875e4b3e4e6b22c300198d84,agentrun.pikastech.local/env-identity: source-f3726165990a}},spec: {serviceAccountName: agentrun-jd01-v02-mgr,containers: [{name: mgr,image: 127.0.0.1:5000/agentrun/agentrun-mgr-env@sha256:b5eaaf67a230d3a5c428212ef78ce4366e34ea5ae5394d0e03c4876bace1d537,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: 29a9bce01ed9a842875e4b3e4e6b22c300198d84},{name: AGENTRUN_BOOT_COMMIT,value: 29a9bce01ed9a842875e4b3e4e6b22c300198d84},{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-f3726165990a},{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:b5eaaf67a230d3a5c428212ef78ce4366e34ea5ae5394d0e03c4876bace1d537},{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]}]}
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user