fix: tune v03 cloud api health probe budget

This commit is contained in:
lyon
2026-06-18 00:16:42 +08:00
parent 1635767730
commit 2afdb2d9ea
4 changed files with 80 additions and 0 deletions
+21
View File
@@ -374,6 +374,26 @@
},
"additionalProperties": false
},
"probeTiming": {
"type": "object",
"properties": {
"initialDelaySeconds": { "type": "integer", "minimum": 0 },
"periodSeconds": { "type": "integer", "minimum": 1 },
"timeoutSeconds": { "type": "integer", "minimum": 1 },
"failureThreshold": { "type": "integer", "minimum": 1 },
"successThreshold": { "type": "integer", "minimum": 1 }
},
"additionalProperties": false
},
"serviceHealthProbe": {
"type": "object",
"properties": {
"readiness": { "$ref": "#/$defs/probeTiming" },
"liveness": { "$ref": "#/$defs/probeTiming" },
"startup": { "$ref": "#/$defs/probeTiming" }
},
"additionalProperties": false
},
"serviceDeclaration": {
"type": "object",
"required": ["runtimeKind", "entrypoint", "componentPaths"],
@@ -383,6 +403,7 @@
"artifactKind": { "type": "string", "enum": ["bun-command", "cloud-web", "skills-bundle", "node-command", "go-service"] },
"healthPath": { "type": "string", "pattern": "^/" },
"healthPort": { "type": "integer", "minimum": 1, "maximum": 65535 },
"healthProbe": { "$ref": "#/$defs/serviceHealthProbe" },
"componentPaths": {
"type": "array",
"minItems": 1,