fix: tune v03 cloud api health probe budget
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user