|
| 1 | +{ |
| 2 | + "$schema": "https://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Pathling Cache Helm Chart Values", |
| 4 | + "description": "Configuration values for deploying Pathling Cache on Kubernetes", |
| 5 | + "type": "object", |
| 6 | + "properties": { |
| 7 | + "pathlingCache": { |
| 8 | + "type": "object", |
| 9 | + "description": "Pathling cache configuration", |
| 10 | + "properties": { |
| 11 | + "image": { |
| 12 | + "type": "string", |
| 13 | + "description": "Docker image for the Pathling cache", |
| 14 | + "default": "ghcr.io/aehrc/pathling-cache:latest" |
| 15 | + }, |
| 16 | + "imagePullPolicy": { |
| 17 | + "type": "string", |
| 18 | + "description": "Image pull policy for the container", |
| 19 | + "enum": ["Always", "IfNotPresent", "Never"], |
| 20 | + "default": "IfNotPresent" |
| 21 | + }, |
| 22 | + "replicas": { |
| 23 | + "type": "integer", |
| 24 | + "description": "Number of cache replicas to deploy", |
| 25 | + "minimum": 1, |
| 26 | + "default": 1 |
| 27 | + }, |
| 28 | + "pathlingHost": { |
| 29 | + "type": ["string", "null"], |
| 30 | + "description": "Hostname of the Pathling server to cache (required)" |
| 31 | + }, |
| 32 | + "pathlingPort": { |
| 33 | + "type": ["integer", "null"], |
| 34 | + "description": "Port of the Pathling server to cache (required)" |
| 35 | + }, |
| 36 | + "service": { |
| 37 | + "type": "object", |
| 38 | + "description": "Kubernetes service configuration", |
| 39 | + "properties": { |
| 40 | + "type": { |
| 41 | + "type": "string", |
| 42 | + "description": "Service type", |
| 43 | + "enum": ["ClusterIP", "NodePort", "LoadBalancer"], |
| 44 | + "default": "ClusterIP" |
| 45 | + }, |
| 46 | + "port": { |
| 47 | + "type": "integer", |
| 48 | + "description": "Service port", |
| 49 | + "default": 80 |
| 50 | + } |
| 51 | + } |
| 52 | + }, |
| 53 | + "resources": { |
| 54 | + "type": "object", |
| 55 | + "description": "Resource requirements and limits for the cache pod", |
| 56 | + "properties": { |
| 57 | + "requests": { |
| 58 | + "type": "object", |
| 59 | + "description": "Resource requests for scheduling", |
| 60 | + "properties": { |
| 61 | + "cpu": { |
| 62 | + "type": ["string", "integer"], |
| 63 | + "description": "CPU request (e.g., '100m' or '1')" |
| 64 | + }, |
| 65 | + "memory": { |
| 66 | + "type": "string", |
| 67 | + "description": "Memory request (e.g., '128Mi')" |
| 68 | + } |
| 69 | + } |
| 70 | + }, |
| 71 | + "limits": { |
| 72 | + "type": "object", |
| 73 | + "description": "Resource limits for the container", |
| 74 | + "properties": { |
| 75 | + "cpu": { |
| 76 | + "type": ["string", "integer"], |
| 77 | + "description": "CPU limit (e.g., '200m' or '1')" |
| 78 | + }, |
| 79 | + "memory": { |
| 80 | + "type": "string", |
| 81 | + "description": "Memory limit (e.g., '256Mi')" |
| 82 | + } |
| 83 | + } |
| 84 | + } |
| 85 | + }, |
| 86 | + "default": {} |
| 87 | + }, |
| 88 | + "tolerations": { |
| 89 | + "type": "array", |
| 90 | + "description": "Tolerations for pod scheduling", |
| 91 | + "items": { |
| 92 | + "type": "object", |
| 93 | + "properties": { |
| 94 | + "key": { |
| 95 | + "type": "string", |
| 96 | + "description": "Toleration key" |
| 97 | + }, |
| 98 | + "operator": { |
| 99 | + "type": "string", |
| 100 | + "description": "Toleration operator", |
| 101 | + "enum": ["Exists", "Equal"] |
| 102 | + }, |
| 103 | + "value": { |
| 104 | + "type": "string", |
| 105 | + "description": "Toleration value" |
| 106 | + }, |
| 107 | + "effect": { |
| 108 | + "type": "string", |
| 109 | + "description": "Toleration effect", |
| 110 | + "enum": ["NoSchedule", "PreferNoSchedule", "NoExecute"] |
| 111 | + } |
| 112 | + } |
| 113 | + }, |
| 114 | + "default": [] |
| 115 | + }, |
| 116 | + "affinity": { |
| 117 | + "type": "object", |
| 118 | + "description": "Affinity rules for pod scheduling", |
| 119 | + "default": {} |
| 120 | + }, |
| 121 | + "nodeSelector": { |
| 122 | + "type": "object", |
| 123 | + "description": "Node selector for pod scheduling", |
| 124 | + "additionalProperties": { |
| 125 | + "type": "string" |
| 126 | + }, |
| 127 | + "default": {} |
| 128 | + } |
| 129 | + } |
| 130 | + } |
| 131 | + } |
| 132 | +} |
0 commit comments