| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- {
- "$schema": "http://json-schema.org/schema#",
- "type": "object",
- "properties": {
- "replicaCount": {
- "type": "integer",
- "minimum": 1,
- "default": 1
- },
- "container": {
- "type": "object",
- "properties": {
- "port": {
- "type": "integer",
- "default": 80
- },
- "command": {
- "type": "string"
- },
- "env": {
- "type": "object",
- "properties": {
- "normal": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "resources": {
- "type": "object",
- "properties": {
- "requests": {
- "type": "object",
- "properties": {
- "cpu": {
- "type": "string",
- "pattern": "^\\d+(m){0,1}$"
- },
- "memory": {
- "type": "string",
- "pattern": "^\\d+(Ki|Mi|Gi)$"
- }
- }
- }
- }
- },
- "autoscaling": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "minReplicas": {
- "type": "integer",
- "default": 1
- },
- "maxReplicas": {
- "type": "integer",
- "default": 10
- },
- "targetCPUUtilizationPercentage": {
- "type": "integer",
- "default": 50
- },
- "targetMemoryUtilizationPercentage": {
- "type": "integer",
- "default": 50
- }
- }
- },
- "health": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "command": {
- "type": "string",
- "default": "ls -l"
- },
- "periodSeconds": {
- "type": "integer",
- "default": 5
- },
- "failureThreshold": {
- "type": "integer",
- "default": 3
- },
- "readinessProbe": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "command": {
- "type": "string",
- "default": "ls -l"
- },
- "periodSeconds": {
- "type": "integer",
- "default": 5
- }
- }
- },
- "startupProbe": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "command": {
- "type": "string",
- "default": "ls -l"
- },
- "failureThreshold": {
- "type": "integer",
- "default": 3
- },
- "periodSeconds": {
- "type": "integer",
- "default": 5
- }
- }
- }
- }
- }
- }
- }
|