feat: 声明 NC01 production lane 与 32010 上游
This commit is contained in:
+46
-5
@@ -85,6 +85,9 @@ nodes:
|
||||
gitopsRoot: deploy/gitops/node
|
||||
sourceRepo: git@github.com:pikasTech/HWLAB.git
|
||||
publicHost: 74.48.78.17
|
||||
NC01:
|
||||
gitopsRoot: deploy/gitops/node/nc01
|
||||
sourceRepo: git@github.com:pikasTech/HWLAB.git
|
||||
lanes:
|
||||
v02:
|
||||
name: v0.2
|
||||
@@ -501,7 +504,7 @@ lanes:
|
||||
livenessFailure: false
|
||||
readMode: db-or-degraded
|
||||
fallbackStateSource: false
|
||||
envReuseServices:
|
||||
envReuseServices: &v03EnvReuseServices
|
||||
- hwlab-cloud-api
|
||||
- hwlab-workbench-runtime
|
||||
- hwlab-user-billing
|
||||
@@ -510,7 +513,7 @@ lanes:
|
||||
- hwlab-gateway
|
||||
- hwlab-edge-proxy
|
||||
- hwlab-agent-skills
|
||||
bootScripts:
|
||||
bootScripts: &v03BootScripts
|
||||
hwlab-cloud-api: deploy/runtime/boot/hwlab-cloud-api.sh
|
||||
hwlab-workbench-runtime: deploy/runtime/boot/hwlab-workbench-runtime.sh
|
||||
hwlab-user-billing: deploy/runtime/boot/hwlab-user-billing.sh
|
||||
@@ -519,7 +522,7 @@ lanes:
|
||||
hwlab-gateway: deploy/runtime/boot/hwlab-gateway.sh
|
||||
hwlab-edge-proxy: deploy/runtime/boot/hwlab-edge-proxy.sh
|
||||
hwlab-agent-skills: deploy/runtime/boot/hwlab-agent-skills.sh
|
||||
serviceDeclarations:
|
||||
serviceDeclarations: &v03ServiceDeclarations
|
||||
hwlab-cloud-api:
|
||||
runtimeKind: bun-command
|
||||
entrypoint: cmd/hwlab-cloud-api/main.ts
|
||||
@@ -706,7 +709,7 @@ lanes:
|
||||
env:
|
||||
TZ: Asia/Shanghai
|
||||
observable: true
|
||||
envRecipe:
|
||||
envRecipe: &v03EnvRecipe
|
||||
osPackages:
|
||||
- ca-certificates
|
||||
- git
|
||||
@@ -744,7 +747,7 @@ lanes:
|
||||
script: tools/hwpod-ctl.ts
|
||||
- command: hwpod-compiler
|
||||
script: tools/hwpod-compiler-cli.ts
|
||||
bootConfig:
|
||||
bootConfig: &v03BootConfig
|
||||
template: default
|
||||
overrides: {}
|
||||
configMaps:
|
||||
@@ -964,6 +967,44 @@ lanes:
|
||||
configMapName: hwlab-v03-project-management-bootstrap
|
||||
mountPath: /etc/hwlab/project-management
|
||||
readOnly: true
|
||||
production:
|
||||
name: Production
|
||||
node: NC01
|
||||
sourceBranch: release
|
||||
gitopsBranch: release-gitops
|
||||
gitReadUrl: http://gitea-http.devops-infra.svc.cluster.local:3000/mirrors/pikasTech-HWLAB.git
|
||||
gitWriteUrl: http://git-mirror-write.devops-infra.svc.cluster.local:8080/pikasTech/HWLAB.git
|
||||
artifactCatalog: deploy/artifact-catalog.nc01-production.json
|
||||
runtimePath: deploy/gitops/node/nc01/runtime-production
|
||||
namespace: hwlab-production
|
||||
imageTagMode: full
|
||||
endpoint: https://lab.hwpod.com
|
||||
publicEndpoints:
|
||||
frontend: https://lab.hwpod.com
|
||||
api: https://lab.hwpod.com
|
||||
publicServices:
|
||||
nodes:
|
||||
NC01:
|
||||
- name: hwlab-cloud-web-public
|
||||
selector:
|
||||
app.kubernetes.io/name: hwlab-cloud-web
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
nodePort: 32010
|
||||
frp:
|
||||
enabled: false
|
||||
envReuseServices: *v03EnvReuseServices
|
||||
bootScripts: *v03BootScripts
|
||||
serviceDeclarations: *v03ServiceDeclarations
|
||||
services:
|
||||
- serviceId: hwlab-cloud-api
|
||||
env:
|
||||
HWLAB_METRICS_NAMESPACE: hwlab-production
|
||||
- serviceId: hwlab-cloud-web
|
||||
env:
|
||||
HWLAB_CLOUD_WEB_OPENCODE_UPSTREAM_URL: http://opencode-server.hwlab-production.svc.cluster.local:4096
|
||||
envRecipe: *v03EnvRecipe
|
||||
bootConfig: *v03BootConfig
|
||||
services:
|
||||
- serviceId: hwlab-cloud-api
|
||||
namespace: hwlab-dev
|
||||
|
||||
Reference in New Issue
Block a user