chore: promote node GitOps source 0042357

This commit is contained in:
HWLAB node GitOps Bot
2026-06-12 22:48:05 +00:00
parent 9cef9cad81
commit 9f53c16b7d
8 changed files with 1506 additions and 2568 deletions
@@ -1,414 +1,327 @@
{
"apiVersion": "v1",
"kind": "List",
"items": [
{
"apiVersion": "v1",
"kind": "ConfigMap",
"metadata": {
"name": "hwlab-deepseek-proxy-config",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-deepseek-proxy",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/service-id": "hwlab-deepseek-proxy",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/monitoring": "enabled"
}
},
"data": {
"render-config.sh": "#!/bin/sh\nif [ -z \"${DEEPSEEK_API_KEY:-}\" ] && [ -z \"${OPENCODE_API_KEY:-}\" ]; then\n echo \"at least one of DEEPSEEK_API_KEY or OPENCODE_API_KEY is required\" >&2\n exit 1\nfi\ncat > /config/config.yml <<EOF\nmode: \"Transform\"\nlog:\n level: \"info\"\n format: \"text\"\nserver:\n addr: \"0.0.0.0:4001\"\npersistence:\n active_provider: db_sqlite\nextensions:\n db_sqlite:\n enabled: true\n config:\n path: /data/moonbridge.db\n wal: true\n busy_timeout_ms: 5000\n max_open_conns: 1\n metrics:\n enabled: true\n config:\n default_limit: 100\n max_limit: 1000\n deepseek_v4:\n config:\n reinforce_instructions: true\n reinforce_prompt: \"[System Reminder]: Please pay close attention to the system instructions, AGENTS.md files, and any other context provided. Follow them carefully and completely in your response.\\n[User]:\"\ncache:\n mode: \"explicit\"\n ttl: \"5m\"\n prompt_caching: true\n automatic_prompt_cache: false\n explicit_cache_breakpoints: true\n allow_retention_downgrade: false\n max_breakpoints: 4\n min_cache_tokens: 1024\n expected_reuse: 2\n minimum_value_score: 2048\n min_breakpoint_tokens: 1024\ndefaults:\n model: \"deepseek-chat\"\n max_tokens: 8192\ntrace:\n enabled: false\nmodels:\n deepseek-chat:\n context_window: 128000\n max_output_tokens: 8192\n display_name: \"deepseek-chat\"\n description: \"DeepSeek via Moon Bridge\"\n default_reasoning_level: null\n supported_reasoning_levels: []\n extensions:\n deepseek_v4:\n enabled: true\n deepseek-v4-flash:\n context_window: 1000000\n max_output_tokens: 384000\n display_name: \"DeepSeek V4 Flash via OpenCode Zen Go\"\n description: \"DeepSeek V4 Flash through OpenCode Zen Go Chat Completions via Moon Bridge\"\n default_reasoning_level: \"xhigh\"\n supported_reasoning_levels:\n - effort: \"high\"\n description: \"High reasoning effort\"\n - effort: \"xhigh\"\n description: \"Maximum reasoning effort\"\n supports_reasoning_summaries: true\n default_reasoning_summary: \"auto\"\n extensions:\n deepseek_v4:\n enabled: true\nproviders:\n deepseek:\n base_url: \"https://api.deepseek.com/anthropic\"\n api_key: \"${DEEPSEEK_API_KEY}\"\n version: \"2023-06-01\"\n user_agent: \"moonbridge/1.0\"\n offers:\n - model: deepseek-chat\n opencode:\n base_url: \"https://opencode.ai/zen/go/v1\"\n api_key: \"${OPENCODE_API_KEY:-}\"\n protocol: \"openai-chat\"\n user_agent: \"moonbridge-dsflash-go/1.0\"\n web_search:\n support: \"disabled\"\n offers:\n - model: deepseek-v4-flash\nroutes:\n deepseek-chat:\n model: deepseek-chat\n provider: deepseek\n deepseek-v4-flash:\n model: deepseek-v4-flash\n provider: opencode\nEOF\n"
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-deepseek-proxy",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-deepseek-proxy",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/service-id": "hwlab-deepseek-proxy",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/moonbridge-source-ref": "1b99888d3dae889b79ee602cb875c7907f7e76f2",
"hwlab.pikastech.local/bridge-service-id": "hwlab-cloud-api",
"hwlab.pikastech.local/source-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/bridge-source-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/bridge-image-tag": "env-9495896df918",
"hwlab.pikastech.local/bridge-image": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb",
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
"hwlab.pikastech.local/bridge-runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/bridge-boot-repo": "git@github.com:pikasTech/HWLAB.git",
"hwlab.pikastech.local/bridge-boot-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/bridge-boot-sh": "deploy/runtime/boot/hwlab-deepseek-responses-bridge.sh",
"hwlab.pikastech.local/bridge-environment-digest": "sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-deepseek-proxy"
}
},
"template": {
"metadata": {
"labels": {
"app.kubernetes.io/name": "hwlab-deepseek-proxy",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/service-id": "hwlab-deepseek-proxy",
"hwlab.pikastech.local/source-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/monitoring": "enabled",
"hwlab.pikastech.local/bridge-source-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/bridge-runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/bridge-boot-commit": "f3e0ad796126da7a7721b538936c971b824c2486"
},
"annotations": {
"hwlab.pikastech.local/bridge-service-id": "hwlab-cloud-api",
"hwlab.pikastech.local/source-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/bridge-source-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/bridge-image-tag": "env-9495896df918",
"hwlab.pikastech.local/bridge-image": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb",
"hwlab.pikastech.local/metrics-sidecar-sha256": "782e26256b5a5cddff52a165a0eb5f852973eee1aac1b19acac4a313db7968f4",
"hwlab.pikastech.local/bridge-runtime-mode": "env-reuse-git-mirror-checkout",
"hwlab.pikastech.local/bridge-boot-repo": "git@github.com:pikasTech/HWLAB.git",
"hwlab.pikastech.local/bridge-boot-commit": "f3e0ad796126da7a7721b538936c971b824c2486",
"hwlab.pikastech.local/bridge-boot-sh": "deploy/runtime/boot/hwlab-deepseek-responses-bridge.sh",
"hwlab.pikastech.local/bridge-environment-digest": "sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb"
}
},
"spec": {
"initContainers": [
{
"name": "moonbridge-config",
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb",
"imagePullPolicy": "IfNotPresent",
"command": [
"/bin/sh",
"-eu",
"/scripts/render-config.sh"
],
"env": [
{
"name": "DEEPSEEK_API_KEY",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v03-code-agent-provider",
"key": "openai-api-key",
"optional": true
}
}
},
{
"name": "OPENCODE_API_KEY",
"valueFrom": {
"secretKeyRef": {
"name": "hwlab-v03-code-agent-provider",
"key": "opencode-api-key",
"optional": true
}
}
}
],
"volumeMounts": [
{
"name": "moonbridge-scripts",
"mountPath": "/scripts",
"readOnly": true
},
{
"name": "moonbridge-config",
"mountPath": "/config"
}
]
}
],
"containers": [
{
"name": "responses-bridge",
"image": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb",
"imagePullPolicy": "IfNotPresent",
"env": [
{
"name": "PORT",
"value": "4000"
},
{
"name": "HWLAB_COMMIT_ID",
"value": "f3e0ad796126da7a7721b538936c971b824c2486"
},
{
"name": "HWLAB_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb"
},
{
"name": "HWLAB_IMAGE_TAG",
"value": "env-9495896df918"
},
{
"name": "HWLAB_DEEPSEEK_BRIDGE_UPSTREAM",
"value": "http://127.0.0.1:4001"
},
{
"name": "HWLAB_DEEPSEEK_BRIDGE_MODEL",
"value": "deepseek-chat"
},
{
"name": "HWLAB_RUNTIME_MODE",
"value": "env-reuse-git-mirror-checkout"
},
{
"name": "HWLAB_BOOT_REPO",
"value": "git@github.com:pikasTech/HWLAB.git"
},
{
"name": "HWLAB_BOOT_COMMIT",
"value": "f3e0ad796126da7a7721b538936c971b824c2486"
},
{
"name": "HWLAB_BOOT_REF",
"value": "v0.3"
},
{
"name": "HWLAB_BOOT_SH",
"value": "deploy/runtime/boot/hwlab-deepseek-responses-bridge.sh"
},
{
"name": "HWLAB_BOOT_READ_URL",
"value": "http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git"
},
{
"name": "HWLAB_ENVIRONMENT_IMAGE",
"value": "127.0.0.1:5000/hwlab/hwlab-cloud-api-env:env-9495896df918"
},
{
"name": "HWLAB_ENVIRONMENT_DIGEST",
"value": "sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb"
},
{
"name": "HWLAB_ENVIRONMENT_INPUT_HASH",
"value": "9495896df9181f06492b0a0f8673eb5dd7e951b756e66e35bda0fd101a14e74a"
},
{
"name": "HWLAB_CODE_INPUT_HASH",
"value": "e2d48031bdb318a3bf175c7eb33c62963c94aaebe20d15445b3a4690bfb2530e"
},
{
"name": "HWLAB_IMAGE_DIGEST",
"value": "sha256:bf29c6a72e12f599973c51da86cde12ae501fe7c998d95f1d3fde02e54be5ecb"
}
],
"ports": [
{
"name": "http",
"containerPort": 4000
}
],
"readinessProbe": {
"httpGet": {
"path": "/health/readiness",
"port": "http"
},
"initialDelaySeconds": 10,
"periodSeconds": 10
},
"livenessProbe": {
"httpGet": {
"path": "/health/liveliness",
"port": "http"
},
"initialDelaySeconds": 20,
"periodSeconds": 20
},
"startupProbe": {
"httpGet": {
"path": "/health/readiness",
"port": "http"
},
"initialDelaySeconds": 10,
"periodSeconds": 10,
"timeoutSeconds": 2,
"failureThreshold": 30,
"successThreshold": 1
}
},
{
"name": "moonbridge",
"image": "127.0.0.1:5000/hwlab/moonbridge:1b99888d3dae",
"imagePullPolicy": "IfNotPresent",
"args": [
"-config",
"/config/config.yml"
],
"ports": [
{
"name": "moonbridge-http",
"containerPort": 4001
}
],
"readinessProbe": {
"httpGet": {
"path": "/v1/models",
"port": "moonbridge-http"
},
"initialDelaySeconds": 10,
"periodSeconds": 10
},
"livenessProbe": {
"httpGet": {
"path": "/v1/models",
"port": "moonbridge-http"
},
"initialDelaySeconds": 20,
"periodSeconds": 20
},
"volumeMounts": [
{
"name": "moonbridge-config",
"mountPath": "/config",
"readOnly": true
},
{
"name": "moonbridge-data",
"mountPath": "/data"
}
]
},
{
"name": "hwlab-metrics",
"image": "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1",
"imagePullPolicy": "IfNotPresent",
"command": [
"node",
"/metrics/metrics-sidecar.mjs"
],
"env": [
{
"name": "HWLAB_METRICS_SERVICE_ID",
"value": "hwlab-deepseek-proxy"
},
{
"name": "HWLAB_METRICS_NAMESPACE",
"value": "hwlab-v03"
},
{
"name": "HWLAB_METRICS_GITOPS_TARGET",
"value": "v03"
},
{
"name": "HWLAB_METRICS_PORT",
"value": "9100"
},
{
"name": "HWLAB_METRICS_TARGET_URL",
"value": "http://127.0.0.1:4000/health/live"
},
{
"name": "HWLAB_METRICS_TARGET_TIMEOUT_MS",
"value": "2000"
}
],
"ports": [
{
"name": "metrics",
"containerPort": 9100
}
],
"readinessProbe": {
"httpGet": {
"path": "/health/live",
"port": "metrics"
},
"initialDelaySeconds": 3,
"periodSeconds": 10
},
"livenessProbe": {
"httpGet": {
"path": "/health/live",
"port": "metrics"
},
"initialDelaySeconds": 10,
"periodSeconds": 20
},
"volumeMounts": [
{
"name": "hwlab-metrics-sidecar",
"mountPath": "/metrics",
"readOnly": true
}
]
}
],
"volumes": [
{
"name": "moonbridge-scripts",
"configMap": {
"name": "hwlab-deepseek-proxy-config"
}
},
{
"name": "moonbridge-config",
"emptyDir": {}
},
{
"name": "moonbridge-data",
"emptyDir": {}
},
{
"name": "hwlab-metrics-sidecar",
"configMap": {
"name": "hwlab-v03-metrics-sidecar"
}
}
]
}
}
}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "hwlab-deepseek-proxy",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-deepseek-proxy",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/service-id": "hwlab-deepseek-proxy",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/monitoring": "enabled"
}
},
"spec": {
"type": "ClusterIP",
"selector": {
"app.kubernetes.io/name": "hwlab-deepseek-proxy"
},
"ports": [
{
"name": "http",
"port": 4000,
"targetPort": "http"
},
{
"name": "metrics",
"port": 9100,
"targetPort": "metrics"
}
]
}
}
]
}
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: ConfigMap
metadata:
name: hwlab-deepseek-proxy-config
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-deepseek-proxy
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/service-id: hwlab-deepseek-proxy
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/monitoring: disabled
data:
render-config.sh: >
#!/bin/sh
if [ -z "${DEEPSEEK_API_KEY:-}" ] && [ -z "${OPENCODE_API_KEY:-}" ];
then
echo "at least one of DEEPSEEK_API_KEY or OPENCODE_API_KEY is required" >&2
exit 1
fi
cat > /config/config.yml <<EOF
mode: "Transform"
log:
level: "info"
format: "text"
server:
addr: "0.0.0.0:4001"
persistence:
active_provider: db_sqlite
extensions:
db_sqlite:
enabled: true
config:
path: /data/moonbridge.db
wal: true
busy_timeout_ms: 5000
max_open_conns: 1
metrics:
enabled: true
config:
default_limit: 100
max_limit: 1000
deepseek_v4:
config:
reinforce_instructions: true
reinforce_prompt: "[System Reminder]: Please pay close attention to the system instructions, AGENTS.md files, and any other context provided. Follow them carefully and completely in your response.\n[User]:"
cache:
mode: "explicit"
ttl: "5m"
prompt_caching: true
automatic_prompt_cache: false
explicit_cache_breakpoints: true
allow_retention_downgrade: false
max_breakpoints: 4
min_cache_tokens: 1024
expected_reuse: 2
minimum_value_score: 2048
min_breakpoint_tokens: 1024
defaults:
model: "deepseek-chat"
max_tokens: 8192
trace:
enabled: false
models:
deepseek-chat:
context_window: 128000
max_output_tokens: 8192
display_name: "deepseek-chat"
description: "DeepSeek via Moon Bridge"
default_reasoning_level: null
supported_reasoning_levels: []
extensions:
deepseek_v4:
enabled: true
deepseek-v4-flash:
context_window: 1000000
max_output_tokens: 384000
display_name: "DeepSeek V4 Flash via OpenCode Zen Go"
description: "DeepSeek V4 Flash through OpenCode Zen Go Chat Completions via Moon Bridge"
default_reasoning_level: "xhigh"
supported_reasoning_levels:
- effort: "high"
description: "High reasoning effort"
- effort: "xhigh"
description: "Maximum reasoning effort"
supports_reasoning_summaries: true
default_reasoning_summary: "auto"
extensions:
deepseek_v4:
enabled: true
providers:
deepseek:
base_url: "https://api.deepseek.com/anthropic"
api_key: "${DEEPSEEK_API_KEY}"
version: "2023-06-01"
user_agent: "moonbridge/1.0"
offers:
- model: deepseek-chat
opencode:
base_url: "https://opencode.ai/zen/go/v1"
api_key: "${OPENCODE_API_KEY:-}"
protocol: "openai-chat"
user_agent: "moonbridge-dsflash-go/1.0"
web_search:
support: "disabled"
offers:
- model: deepseek-v4-flash
routes:
deepseek-chat:
model: deepseek-chat
provider: deepseek
deepseek-v4-flash:
model: deepseek-v4-flash
provider: opencode
EOF
- apiVersion: apps/v1
kind: Deployment
metadata:
name: hwlab-deepseek-proxy
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-deepseek-proxy
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/service-id: hwlab-deepseek-proxy
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/monitoring: disabled
annotations:
hwlab.pikastech.local/moonbridge-source-ref: 1b99888d3dae889b79ee602cb875c7907f7e76f2
hwlab.pikastech.local/bridge-service-id: hwlab-cloud-api
hwlab.pikastech.local/source-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/bridge-source-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/bridge-image-tag: env-b0c5874f30a9
hwlab.pikastech.local/bridge-image: 127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
hwlab.pikastech.local/bridge-runtime-mode: env-reuse-git-mirror-checkout
hwlab.pikastech.local/bridge-boot-repo: git@github.com:pikasTech/HWLAB.git
hwlab.pikastech.local/bridge-boot-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/bridge-boot-sh: deploy/runtime/boot/hwlab-deepseek-responses-bridge.sh
hwlab.pikastech.local/bridge-environment-digest: sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: hwlab-deepseek-proxy
template:
metadata:
labels:
app.kubernetes.io/name: hwlab-deepseek-proxy
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/service-id: hwlab-deepseek-proxy
hwlab.pikastech.local/source-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/monitoring: disabled
hwlab.pikastech.local/bridge-source-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/bridge-runtime-mode: env-reuse-git-mirror-checkout
hwlab.pikastech.local/bridge-boot-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
annotations:
hwlab.pikastech.local/bridge-service-id: hwlab-cloud-api
hwlab.pikastech.local/source-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/bridge-source-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/bridge-image-tag: env-b0c5874f30a9
hwlab.pikastech.local/bridge-image: 127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
hwlab.pikastech.local/bridge-runtime-mode: env-reuse-git-mirror-checkout
hwlab.pikastech.local/bridge-boot-repo: git@github.com:pikasTech/HWLAB.git
hwlab.pikastech.local/bridge-boot-commit: e1566e22c882b98de00041fafccffa2ffdc02ee6
hwlab.pikastech.local/bridge-boot-sh: deploy/runtime/boot/hwlab-deepseek-responses-bridge.sh
hwlab.pikastech.local/bridge-environment-digest: sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
spec:
initContainers:
- name: moonbridge-config
image: 127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -eu
- /scripts/render-config.sh
env:
- name: DEEPSEEK_API_KEY
valueFrom:
secretKeyRef:
name: hwlab-v03-code-agent-provider
key: openai-api-key
optional: true
- name: OPENCODE_API_KEY
valueFrom:
secretKeyRef:
name: hwlab-v03-code-agent-provider
key: opencode-api-key
optional: true
volumeMounts:
- name: moonbridge-scripts
mountPath: /scripts
readOnly: true
- name: moonbridge-config
mountPath: /config
containers:
- name: responses-bridge
image: 127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
imagePullPolicy: IfNotPresent
env:
- name: PORT
value: "4000"
- name: HWLAB_COMMIT_ID
value: e1566e22c882b98de00041fafccffa2ffdc02ee6
- name: HWLAB_IMAGE
value: 127.0.0.1:5000/hwlab/hwlab-cloud-api-env@sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
- name: HWLAB_IMAGE_TAG
value: env-b0c5874f30a9
- name: HWLAB_DEEPSEEK_BRIDGE_UPSTREAM
value: http://127.0.0.1:4001
- name: HWLAB_DEEPSEEK_BRIDGE_MODEL
value: deepseek-chat
- name: HWLAB_RUNTIME_MODE
value: env-reuse-git-mirror-checkout
- name: HWLAB_BOOT_REPO
value: git@github.com:pikasTech/HWLAB.git
- name: HWLAB_BOOT_COMMIT
value: e1566e22c882b98de00041fafccffa2ffdc02ee6
- name: HWLAB_BOOT_REF
value: v0.3
- name: HWLAB_BOOT_SH
value: deploy/runtime/boot/hwlab-deepseek-responses-bridge.sh
- name: HWLAB_BOOT_READ_URL
value: http://git-mirror-http.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git
- name: HWLAB_ENVIRONMENT_IMAGE
value: 127.0.0.1:5000/hwlab/hwlab-cloud-api-env:env-b0c5874f30a9
- name: HWLAB_ENVIRONMENT_DIGEST
value: sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
- name: HWLAB_ENVIRONMENT_INPUT_HASH
value: b0c5874f30a91469c823685cbb8dbb5b9875b4430cf914d2fd741f52f8531050
- name: HWLAB_CODE_INPUT_HASH
value: e2d48031bdb318a3bf175c7eb33c62963c94aaebe20d15445b3a4690bfb2530e
- name: HWLAB_IMAGE_DIGEST
value: sha256:4291c2884e03a7895e2be1f6a5e5b929f3e09fe91da243f5c463ef692377d33d
ports:
- name: http
containerPort: 4000
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
httpGet:
path: /health/liveliness
port: http
initialDelaySeconds: 20
periodSeconds: 20
startupProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 30
successThreshold: 1
- name: moonbridge
image: 127.0.0.1:5000/hwlab/moonbridge:1b99888d3dae
imagePullPolicy: IfNotPresent
args:
- -config
- /config/config.yml
ports:
- name: moonbridge-http
containerPort: 4001
readinessProbe:
httpGet:
path: /v1/models
port: moonbridge-http
initialDelaySeconds: 10
periodSeconds: 10
livenessProbe:
httpGet:
path: /v1/models
port: moonbridge-http
initialDelaySeconds: 20
periodSeconds: 20
volumeMounts:
- name: moonbridge-config
mountPath: /config
readOnly: true
- name: moonbridge-data
mountPath: /data
volumes:
- name: moonbridge-scripts
configMap:
name: hwlab-deepseek-proxy-config
- name: moonbridge-config
emptyDir: {}
- name: moonbridge-data
emptyDir: {}
- apiVersion: v1
kind: Service
metadata:
name: hwlab-deepseek-proxy
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-deepseek-proxy
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/service-id: hwlab-deepseek-proxy
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/monitoring: disabled
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: hwlab-deepseek-proxy
ports:
- name: http
port: 4000
targetPort: http
- name: metrics
port: 9100
targetPort: metrics
@@ -1,37 +1,51 @@
{
"apiVersion": "v1",
"kind": "List",
"items": [
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "g14-platform-postgres",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "g14-platform-postgres",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/component": "platform-db-bridge",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a"
},
"annotations": {
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
}
},
"spec": {
"type": "ClusterIP",
"ports": [
{
"name": "postgres",
"port": 5432,
"targetPort": 5432,
"protocol": "TCP"
}
]
}
}
]
}
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Service
metadata:
name: pk01-platform-postgres
namespace: hwlab-v03
labels:
app.kubernetes.io/name: pk01-platform-postgres
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/component: platform-db-bridge
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
annotations:
hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs
spec:
type: ClusterIP
ports:
- name: postgres
port: 5432
targetPort: 5432
protocol: TCP
- apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: pk01-platform-postgres-host
namespace: hwlab-v03
labels:
app.kubernetes.io/name: pk01-platform-postgres
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/component: platform-db-bridge
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
kubernetes.io/service-name: pk01-platform-postgres
annotations:
hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs
addressType: IPv4
ports:
- name: postgres
port: 5432
protocol: TCP
endpoints:
- addresses:
- 82.156.23.220
conditions:
ready: true
@@ -1,16 +1,12 @@
{
"apiVersion": "kustomize.config.k8s.io/v1beta1",
"kind": "Kustomization",
"namespace": "hwlab-v03",
"resources": [
"namespace.yaml",
"services.yaml",
"health-contract.yaml",
"workloads.yaml",
"deepseek-proxy.yaml",
"external-postgres.yaml",
"openfga.yaml",
"observability.yaml",
"node-frpc.yaml"
]
}
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: hwlab-v03
resources:
- namespace.yaml
- services.yaml
- health-contract.yaml
- workloads.yaml
- deepseek-proxy.yaml
- external-postgres.yaml
- openfga.yaml
- node-frpc.yaml
@@ -1,94 +1,80 @@
{
"apiVersion": "v1",
"kind": "List",
"items": [
{
"apiVersion": "v1",
"kind": "ConfigMap",
"metadata": {
"name": "hwlab-v03-frpc-config",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-v03-frpc",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a"
}
},
"data": {
"frpc.toml": "serverAddr = \"74.48.78.17\"\nserverPort = 7000\nloginFailExit = true\n\n[[proxies]]\nname = \"hwlab-v03-cloud-web\"\ntype = \"tcp\"\nlocalIP = \"hwlab-cloud-web.hwlab-v03.svc.cluster.local\"\nlocalPort = 8080\nremotePort = 20666\n\n[[proxies]]\nname = \"hwlab-v03-edge-proxy\"\ntype = \"tcp\"\nlocalIP = \"hwlab-edge-proxy.hwlab-v03.svc.cluster.local\"\nlocalPort = 6667\nremotePort = 20667\n"
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
"metadata": {
"name": "hwlab-v03-frpc",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-v03-frpc",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a"
}
},
"spec": {
"replicas": 1,
"selector": {
"matchLabels": {
"app.kubernetes.io/name": "hwlab-v03-frpc"
}
},
"template": {
"metadata": {
"labels": {
"app.kubernetes.io/name": "hwlab-v03-frpc",
"app.kubernetes.io/part-of": "hwlab",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/config-sha256": "ce6c82e15b128572"
},
"annotations": {
"hwlab.pikastech.local/config-sha256": "ce6c82e15b12857248f574b624109aae09b0489b990a252c4955d57567dd2ac2"
}
},
"spec": {
"hostNetwork": true,
"dnsPolicy": "ClusterFirstWithHostNet",
"containers": [
{
"name": "frpc",
"image": "127.0.0.1:5000/hwlab/frpc:v0.68.1",
"imagePullPolicy": "IfNotPresent",
"args": [
"-c",
"/etc/frp/frpc.toml"
],
"volumeMounts": [
{
"name": "config",
"mountPath": "/etc/frp",
"readOnly": true
}
]
}
],
"volumes": [
{
"name": "config",
"configMap": {
"name": "hwlab-v03-frpc-config"
}
}
]
}
}
}
}
]
}
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: ConfigMap
metadata:
name: hwlab-v03-frpc-config
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-v03-frpc
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
data:
frpc.toml: |
serverAddr = "74.48.78.17"
serverPort = 7000
loginFailExit = true
[[proxies]]
name = "hwlab-v03-cloud-web"
type = "tcp"
localIP = "hwlab-cloud-web.hwlab-v03.svc.cluster.local"
localPort = 8080
remotePort = 20666
[[proxies]]
name = "hwlab-v03-edge-proxy"
type = "tcp"
localIP = "hwlab-edge-proxy.hwlab-v03.svc.cluster.local"
localPort = 6667
remotePort = 20667
- apiVersion: apps/v1
kind: Deployment
metadata:
name: hwlab-v03-frpc
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-v03-frpc
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: hwlab-v03-frpc
template:
metadata:
labels:
app.kubernetes.io/name: hwlab-v03-frpc
app.kubernetes.io/part-of: hwlab
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/config-sha256: ce6c82e15b128572
annotations:
hwlab.pikastech.local/config-sha256: ce6c82e15b12857248f574b624109aae09b0489b990a252c4955d57567dd2ac2
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: frpc
image: 127.0.0.1:5000/hwlab/frpc:v0.68.1
imagePullPolicy: IfNotPresent
args:
- -c
- /etc/frp/frpc.toml
volumeMounts:
- name: config
mountPath: /etc/frp
readOnly: true
volumes:
- name: config
configMap:
name: hwlab-v03-frpc-config
File diff suppressed because one or more lines are too long
+130 -191
View File
@@ -1,191 +1,130 @@
{
"apiVersion": "v1",
"kind": "List",
"items": [
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "hwlab-cloud-api",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-cloud-api",
"hwlab.pikastech.local/service-id": "hwlab-cloud-api",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
}
},
"spec": {
"type": "ClusterIP",
"selector": {
"app.kubernetes.io/name": "hwlab-cloud-api"
},
"ports": [
{
"name": "http",
"port": 6667,
"targetPort": "http"
},
{
"name": "metrics",
"port": 9100,
"targetPort": "metrics"
}
]
}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "hwlab-cloud-web",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-cloud-web",
"hwlab.pikastech.local/service-id": "hwlab-cloud-web",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
}
},
"spec": {
"type": "ClusterIP",
"selector": {
"app.kubernetes.io/name": "hwlab-cloud-web"
},
"ports": [
{
"name": "http",
"port": 8080,
"targetPort": "http"
},
{
"name": "metrics",
"port": 9100,
"targetPort": "metrics"
}
]
}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "hwlab-gateway",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-gateway",
"hwlab.pikastech.local/service-id": "hwlab-gateway",
"hwlab.pikastech.local/activation": "manual",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/profile": "v03"
},
"annotations": {
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
}
},
"spec": {
"type": "ClusterIP",
"selector": {
"app.kubernetes.io/name": "hwlab-gateway"
},
"ports": [
{
"name": "http",
"port": 7001,
"targetPort": "http"
}
]
}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "hwlab-agent-skills",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-agent-skills",
"hwlab.pikastech.local/service-id": "hwlab-agent-skills",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
}
},
"spec": {
"type": "ClusterIP",
"selector": {
"app.kubernetes.io/name": "hwlab-agent-skills"
},
"ports": [
{
"name": "http",
"port": 7430,
"targetPort": "http"
},
{
"name": "metrics",
"port": 9100,
"targetPort": "metrics"
}
]
}
},
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "hwlab-edge-proxy",
"namespace": "hwlab-v03",
"labels": {
"app.kubernetes.io/name": "hwlab-edge-proxy",
"hwlab.pikastech.local/service-id": "hwlab-edge-proxy",
"hwlab.pikastech.local/gitops-target": "v03",
"hwlab.pikastech.local/source-commit": "004235736f9168145885f1be57bd3c46fcb6ce6a",
"hwlab.pikastech.local/environment": "v03",
"hwlab.pikastech.local/profile": "v03",
"hwlab.pikastech.local/monitoring": "enabled"
},
"annotations": {
"hwlab.pikastech.local/rendered-by": "scripts/gitops-render.mjs"
}
},
"spec": {
"type": "ClusterIP",
"selector": {
"app.kubernetes.io/name": "hwlab-edge-proxy"
},
"ports": [
{
"name": "http",
"port": 6667,
"targetPort": "http"
},
{
"name": "metrics",
"port": 9100,
"targetPort": "metrics"
}
]
}
}
]
}
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Service
metadata:
name: hwlab-cloud-api
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-cloud-api
hwlab.pikastech.local/service-id: hwlab-cloud-api
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/monitoring: disabled
annotations:
hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: hwlab-cloud-api
ports:
- name: http
port: 6667
targetPort: http
- name: metrics
port: 9100
targetPort: metrics
- apiVersion: v1
kind: Service
metadata:
name: hwlab-cloud-web
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-cloud-web
hwlab.pikastech.local/service-id: hwlab-cloud-web
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/monitoring: disabled
annotations:
hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: hwlab-cloud-web
ports:
- name: http
port: 8080
targetPort: http
- name: metrics
port: 9100
targetPort: metrics
- apiVersion: v1
kind: Service
metadata:
name: hwlab-gateway
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-gateway
hwlab.pikastech.local/service-id: hwlab-gateway
hwlab.pikastech.local/activation: manual
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/profile: v03
annotations:
hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: hwlab-gateway
ports:
- name: http
port: 7001
targetPort: http
- apiVersion: v1
kind: Service
metadata:
name: hwlab-agent-skills
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-agent-skills
hwlab.pikastech.local/service-id: hwlab-agent-skills
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/monitoring: disabled
annotations:
hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: hwlab-agent-skills
ports:
- name: http
port: 7430
targetPort: http
- name: metrics
port: 9100
targetPort: metrics
- apiVersion: v1
kind: Service
metadata:
name: hwlab-edge-proxy
namespace: hwlab-v03
labels:
app.kubernetes.io/name: hwlab-edge-proxy
hwlab.pikastech.local/service-id: hwlab-edge-proxy
hwlab.pikastech.local/gitops-target: v03
hwlab.pikastech.local/source-commit: 004235736f9168145885f1be57bd3c46fcb6ce6a
hwlab.pikastech.local/environment: v03
hwlab.pikastech.local/profile: v03
hwlab.pikastech.local/monitoring: disabled
annotations:
hwlab.pikastech.local/rendered-by: scripts/gitops-render.mjs
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: hwlab-edge-proxy
ports:
- name: http
port: 6667
targetPort: http
- name: metrics
port: 9100
targetPort: metrics
File diff suppressed because it is too large Load Diff