From c0fde5ef5a9594b04032dab7e14a38294f1ff26a Mon Sep 17 00:00:00 2001 From: UniDesk Web Probe Sentinel Date: Tue, 7 Jul 2026 00:38:58 +0000 Subject: [PATCH] deploy: render web-probe sentinel 822fa517302be93470ac260ab27bb23c4adf121d --- .../node/jd01/web-probe-sentinel/web-probe-sentinel.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/gitops/node/jd01/web-probe-sentinel/web-probe-sentinel.yaml b/deploy/gitops/node/jd01/web-probe-sentinel/web-probe-sentinel.yaml index a974543f..731f74b9 100644 --- a/deploy/gitops/node/jd01/web-probe-sentinel/web-probe-sentinel.yaml +++ b/deploy/gitops/node/jd01/web-probe-sentinel/web-probe-sentinel.yaml @@ -8,11 +8,11 @@ --- {apiVersion: v1,kind: ConfigMap,metadata: {name: hwlab-web-probe-sentinel-jd01-config,namespace: hwlab-v03,labels: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel}},data: {config-summary.json: "{\n \"specRef\": \"PJ2026-01060508 Web哨兵 draft-2026-07-01-p16-cicd-source-snapshot\",\n \"node\": \"JD01\",\n \"lane\": \"v03\",\n \"sentinelId\": \"jd01-web-probe-sentinel\",\n \"publicBaseUrl\": \"https://monitor.pikapython.com\",\n \"routePrefix\": \"/\",\n \"gitopsPath\": \"deploy/gitops/node/jd01/web-probe-sentinel\",\n \"valuesRedacted\": true\n}"}} --- -{apiVersion: apps/v1,kind: Deployment,metadata: {name: hwlab-web-probe-sentinel-jd01,namespace: hwlab-v03,labels: &labels {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel},annotations: &annotations {unidesk.ai/source-commit: e4bafea7dfec1e1380a0d17cfdf79ada8b2bfe07,hwlab.pikastech.local/source-commit: e4bafea7dfec1e1380a0d17cfdf79ada8b2bfe07}},spec: {replicas: 1,selector: {matchLabels: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01}},template: {metadata: {labels: *labels,annotations: *annotations},spec: {serviceAccountName: hwlab-web-probe-sentinel-jd01,containers: [{name: sentinel,image: 127.0.0.1:5000/hwlab/web-probe-sentinel-jd01@sha256:e6cdc81abfab1cb6302c61292dc4ca1908c35b3419b9a4c1cbd2e25f61da21bf,imagePullPolicy: IfNotPresent,args: ["--node",JD01,"--lane",v03,"--sentinel",jd01-web-probe-sentinel,"--state-root",/var/lib/web-probe-sentinel-jd01,"--host",0.0.0.0,"--port","8080"],env: [{name: UNIDESK_WEB_PROBE_SENTINEL_ID,value: jd01-web-probe-sentinel},{name: UNIDESK_SOURCE_COMMIT,value: e4bafea7dfec1e1380a0d17cfdf79ada8b2bfe07},{name: WEB_PROBE_SENTINEL_SOURCE_COMMIT,value: e4bafea7dfec1e1380a0d17cfdf79ada8b2bfe07},{name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces},{name: OTEL_SERVICE_NAME,value: hwlab-web-probe-sentinel-jd01},{name: OTEL_TRACES_SAMPLER,value: parentbased_traceidratio},{name: OTEL_TRACES_SAMPLER_ARG,value: "1"},{name: HWLAB_ADMIN_PASSWORD,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-bootstrap,key: bootstrap-admin-password}}},{name: DSFLASH_GO_TOOL_CALL_10X_PROMPTS_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-prompt-set,key: prompts.json}}},{name: HWLAB_WEB_ACCOUNT_A_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-a.json}}},{name: HWLAB_WEB_ACCOUNT_B_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-b.json}}}],ports: [{name: http,containerPort: 8080}],readinessProbe: {httpGet: {path: /api/health,port: http}},livenessProbe: {httpGet: {path: /api/health,port: http}},volumeMounts: [{name: state,mountPath: /var/lib/web-probe-sentinel-jd01}]}],volumes: [{name: state,persistentVolumeClaim: {claimName: hwlab-web-probe-sentinel-jd01-state}}]}}}} +{apiVersion: apps/v1,kind: Deployment,metadata: {name: hwlab-web-probe-sentinel-jd01,namespace: hwlab-v03,labels: &labels {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel},annotations: &annotations {unidesk.ai/source-commit: 822fa517302be93470ac260ab27bb23c4adf121d,hwlab.pikastech.local/source-commit: 822fa517302be93470ac260ab27bb23c4adf121d}},spec: {replicas: 1,selector: {matchLabels: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01}},template: {metadata: {labels: *labels,annotations: *annotations},spec: {serviceAccountName: hwlab-web-probe-sentinel-jd01,containers: [{name: sentinel,image: 127.0.0.1:5000/hwlab/web-probe-sentinel-jd01@sha256:bfbbe5acb01c9aa5b59e69aadc7efb6e51ee0fcfaf1cdb068d36f1a82f9f6006,imagePullPolicy: IfNotPresent,args: ["--node",JD01,"--lane",v03,"--sentinel",jd01-web-probe-sentinel,"--state-root",/var/lib/web-probe-sentinel-jd01,"--host",0.0.0.0,"--port","8080"],env: [{name: UNIDESK_WEB_PROBE_SENTINEL_ID,value: jd01-web-probe-sentinel},{name: UNIDESK_SOURCE_COMMIT,value: 822fa517302be93470ac260ab27bb23c4adf121d},{name: WEB_PROBE_SENTINEL_SOURCE_COMMIT,value: 822fa517302be93470ac260ab27bb23c4adf121d},{name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces},{name: OTEL_SERVICE_NAME,value: hwlab-web-probe-sentinel-jd01},{name: OTEL_TRACES_SAMPLER,value: parentbased_traceidratio},{name: OTEL_TRACES_SAMPLER_ARG,value: "1"},{name: HWLAB_ADMIN_PASSWORD,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-bootstrap,key: bootstrap-admin-password}}},{name: DSFLASH_GO_TOOL_CALL_10X_PROMPTS_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-prompt-set,key: prompts.json}}},{name: HWLAB_WEB_ACCOUNT_A_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-a.json}}},{name: HWLAB_WEB_ACCOUNT_B_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-b.json}}}],ports: [{name: http,containerPort: 8080}],readinessProbe: {httpGet: {path: /api/health,port: http}},livenessProbe: {httpGet: {path: /api/health,port: http}},volumeMounts: [{name: state,mountPath: /var/lib/web-probe-sentinel-jd01}]}],volumes: [{name: state,persistentVolumeClaim: {claimName: hwlab-web-probe-sentinel-jd01-state}}]}}}} --- {apiVersion: v1,kind: Service,metadata: {name: hwlab-web-probe-sentinel-jd01,namespace: hwlab-v03,labels: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel}},spec: {type: ClusterIP,selector: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01},ports: [{name: http,port: 8080,targetPort: http}]}} --- -{apiVersion: batch/v1,kind: CronJob,metadata: {name: hwlab-web-probe-sentinel-jd01-quick-verify,namespace: hwlab-v03,labels: &labels {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01-quick-verify,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/component: cadence-scheduler,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel},annotations: {unidesk.ai/cadence: 10m,unidesk.ai/target-validation-max-seconds: "600",unidesk.ai/source: targetValidation.cadenceScheduler}},spec: {schedule: "*/10 * * * *",concurrencyPolicy: Forbid,successfulJobsHistoryLimit: 3,failedJobsHistoryLimit: 5,startingDeadlineSeconds: 600,jobTemplate: {spec: {activeDeadlineSeconds: 660,ttlSecondsAfterFinished: 86400,backoffLimit: 0,template: {metadata: {labels: *labels},spec: {restartPolicy: Never,serviceAccountName: hwlab-web-probe-sentinel-jd01,containers: [{name: quick-verify,image: 127.0.0.1:5000/hwlab/web-probe-sentinel-jd01@sha256:e6cdc81abfab1cb6302c61292dc4ca1908c35b3419b9a4c1cbd2e25f61da21bf,imagePullPolicy: IfNotPresent,command: [bun,scripts/cli.ts],args: [web-probe,sentinel,validate,"--node",JD01,"--lane",v03,"--sentinel",jd01-web-probe-sentinel,"--quick-verify","--confirm","--wait","--timeout-seconds","600"],env: [{name: UNIDESK_WEB_PROBE_SENTINEL_ID,value: jd01-web-probe-sentinel},{name: UNIDESK_SOURCE_COMMIT,value: e4bafea7dfec1e1380a0d17cfdf79ada8b2bfe07},{name: WEB_PROBE_SENTINEL_SOURCE_COMMIT,value: e4bafea7dfec1e1380a0d17cfdf79ada8b2bfe07},{name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces},{name: OTEL_SERVICE_NAME,value: hwlab-web-probe-sentinel-jd01},{name: OTEL_TRACES_SAMPLER,value: parentbased_traceidratio},{name: OTEL_TRACES_SAMPLER_ARG,value: "1"},{name: HWLAB_ADMIN_PASSWORD,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-bootstrap,key: bootstrap-admin-password}}},{name: DSFLASH_GO_TOOL_CALL_10X_PROMPTS_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-prompt-set,key: prompts.json}}},{name: HWLAB_WEB_ACCOUNT_A_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-a.json}}},{name: HWLAB_WEB_ACCOUNT_B_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-b.json}}},{name: UNIDESK_WEB_PROBE_SENTINEL_DIRECT_SERVICE,value: "1"}]}]}}}}}} +{apiVersion: batch/v1,kind: CronJob,metadata: {name: hwlab-web-probe-sentinel-jd01-quick-verify,namespace: hwlab-v03,labels: &labels {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01-quick-verify,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/component: cadence-scheduler,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel},annotations: {unidesk.ai/cadence: 10m,unidesk.ai/target-validation-max-seconds: "600",unidesk.ai/source: targetValidation.cadenceScheduler}},spec: {schedule: "*/10 * * * *",concurrencyPolicy: Forbid,successfulJobsHistoryLimit: 3,failedJobsHistoryLimit: 5,startingDeadlineSeconds: 600,jobTemplate: {spec: {activeDeadlineSeconds: 660,ttlSecondsAfterFinished: 86400,backoffLimit: 0,template: {metadata: {labels: *labels},spec: {restartPolicy: Never,serviceAccountName: hwlab-web-probe-sentinel-jd01,containers: [{name: quick-verify,image: 127.0.0.1:5000/hwlab/web-probe-sentinel-jd01@sha256:bfbbe5acb01c9aa5b59e69aadc7efb6e51ee0fcfaf1cdb068d36f1a82f9f6006,imagePullPolicy: IfNotPresent,command: [bun,scripts/cli.ts],args: [web-probe,sentinel,validate,"--node",JD01,"--lane",v03,"--sentinel",jd01-web-probe-sentinel,"--quick-verify","--confirm","--wait","--timeout-seconds","600"],env: [{name: UNIDESK_WEB_PROBE_SENTINEL_ID,value: jd01-web-probe-sentinel},{name: UNIDESK_SOURCE_COMMIT,value: 822fa517302be93470ac260ab27bb23c4adf121d},{name: WEB_PROBE_SENTINEL_SOURCE_COMMIT,value: 822fa517302be93470ac260ab27bb23c4adf121d},{name: OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,value: http://otel-collector.platform-infra.svc.cluster.local:4318/v1/traces},{name: OTEL_SERVICE_NAME,value: hwlab-web-probe-sentinel-jd01},{name: OTEL_TRACES_SAMPLER,value: parentbased_traceidratio},{name: OTEL_TRACES_SAMPLER_ARG,value: "1"},{name: HWLAB_ADMIN_PASSWORD,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-bootstrap,key: bootstrap-admin-password}}},{name: DSFLASH_GO_TOOL_CALL_10X_PROMPTS_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-prompt-set,key: prompts.json}}},{name: HWLAB_WEB_ACCOUNT_A_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-a.json}}},{name: HWLAB_WEB_ACCOUNT_B_JSON,valueFrom: {secretKeyRef: {name: hwlab-web-probe-sentinel-jd01-accounts,key: account-b.json}}},{name: UNIDESK_WEB_PROBE_SENTINEL_DIRECT_SERVICE,value: "1"}]}]}}}}}} --- {apiVersion: apps/v1,kind: Deployment,metadata: {name: hwlab-web-probe-sentinel-jd01-frpc,namespace: hwlab-v03,labels: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel,app.kubernetes.io/component: tunnel}},spec: {replicas: 1,selector: {matchLabels: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01-frpc}},template: {metadata: {labels: {app.kubernetes.io/name: hwlab-web-probe-sentinel-jd01-frpc,app.kubernetes.io/part-of: hwlab-web-probe-sentinel,app.kubernetes.io/managed-by: unidesk,unidesk.ai/spec-ref: PJ2026-01060508,unidesk.ai/node: JD01,unidesk.ai/lane: v03,unidesk.ai/web-probe-sentinel-id: jd01-web-probe-sentinel,app.kubernetes.io/component: tunnel},annotations: {unidesk.ai/public-base-url: https://monitor.pikapython.com,unidesk.ai/frp-server: 82.156.23.220:22000,unidesk.ai/frp-remote-port: "22098"}},spec: {containers: [{name: frpc,image: 127.0.0.1:5000/hwlab/frpc:v0.68.1,imagePullPolicy: IfNotPresent,args: ["-c",/etc/frp/frpc.toml],volumeMounts: [{name: frpc-config,mountPath: /etc/frp/frpc.toml,subPath: frpc.toml,readOnly: true}]}],volumes: [{name: frpc-config,secret: {secretName: hwlab-web-probe-sentinel-jd01-frpc}}]}}}} ---