Skip to content

Commit

Permalink
Values schema update (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
GWphua authored Aug 7, 2024
1 parent 0ed0c44 commit e09c316
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 39 deletions.
64 changes: 32 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,39 +187,39 @@ The following table lists the configurable parameters of the Druid Helm Chart an

### MiddleManager

| Parameter | Description | Default |
| ----------------------------------------------------------- | ---------------------------------------------------- | --------------------------- |
| `middleManager.enabled` | enable middleManager | `true` |
| `middleManager.name` | middleManager component name | `middleManager` |
| `middleManager.replicaCount` | middleManager node replicas (statefulset) | `1` |
| `middleManager.port` | port of middleManager component | `8091` |
| `middleManager.serviceType` | service type for service | `ClusterIP` |
| `middleManager.serviceAccount.create` | Create a service account for middleManager service | `true` |
| `middleManager.serviceAccount.name` | Service account name | `` |
| `middleManager.serviceAccount.annotations` | Annotations applied to created service account | `{}` |
| `middleManager.serviceAccount.labels` | Labels applied to created service account | `{}` |
| `middleManager.serviceAccount.automountServiceAccountToken` | Automount API credentials for the Service Account | `true` |
| `middleManager.resources` | middleManager node resources requests & limits | `{}` |
| `middleManager.podAnnotations` | middleManager Deployment annotations | `{}` |
| `middleManager.nodeSelector` | Node labels for middleManager pod assignment | `{}` |
| `middleManager.securityContext` | custom security context for middleManager containers | `{ fsGroup: 1000 }` |
| `middleManager.tolerations` | middleManager tolerations | `[]` |
| `middleManager.config` | middleManager private config such as `JAVA_OPTS` | |
| `middleManager.persistence.enabled` | middleManager persistent enabled/disabled | `true` |
| `middleManager.persistence.size` | middleManager persistent volume size | `4Gi` |
| `middleManager.persistence.storageClass` | middleManager persistent volume Class | `nil` |
| `middleManager.persistence.accessMode` | middleManager persistent Access Mode | `ReadWriteOnce` |
| `middleManager.antiAffinity` | middleManager anti-affinity policy | `soft` |
| `middleManager.nodeAffinity` | middleManager node affinity policy | `{}` |
| `middleManager.autoscaling.enabled` | enable horizontal pod autoscaling | `false` |
| `middleManager.autoscaling.minReplicas` | middleManager autoscaling min replicas | `2` |
| `middleManager.autoscaling.maxReplicas` | middleManager autoscaling max replicas | `5` |
| `middleManager.autoscaling.metrics` | middleManager autoscaling metrics | `{}` |
| `middleManager.ingress.enabled` | enable ingress | `false` |
| Parameter | Description | Default |
| ----------------------------------------------------------- | ---------------------------------------------------- |---------------------------|
| `middleManager.enabled` | enable middleManager | `true` |
| `middleManager.name` | middleManager component name | `middleManager` |
| `middleManager.replicaCount` | middleManager node replicas (statefulset) | `1` |
| `middleManager.port` | port of middleManager component | `8091` |
| `middleManager.serviceType` | service type for service | `ClusterIP` |
| `middleManager.serviceAccount.create` | Create a service account for middleManager service | `true` |
| `middleManager.serviceAccount.name` | Service account name | `` |
| `middleManager.serviceAccount.annotations` | Annotations applied to created service account | `{}` |
| `middleManager.serviceAccount.labels` | Labels applied to created service account | `{}` |
| `middleManager.serviceAccount.automountServiceAccountToken` | Automount API credentials for the Service Account | `true` |
| `middleManager.resources` | middleManager node resources requests & limits | `{}` |
| `middleManager.podAnnotations` | middleManager Deployment annotations | `{}` |
| `middleManager.nodeSelector` | Node labels for middleManager pod assignment | `{}` |
| `middleManager.securityContext` | custom security context for middleManager containers | `{ fsGroup: 1000 }` |
| `middleManager.tolerations` | middleManager tolerations | `[]` |
| `middleManager.config` | middleManager private config such as `JAVA_OPTS` | |
| `middleManager.persistence.enabled` | middleManager persistent enabled/disabled | `true` |
| `middleManager.persistence.size` | middleManager persistent volume size | `4Gi` |
| `middleManager.persistence.storageClass` | middleManager persistent volume Class | `nil` |
| `middleManager.persistence.accessMode` | middleManager persistent Access Mode | `ReadWriteOnce` |
| `middleManager.antiAffinity` | middleManager anti-affinity policy | `soft` |
| `middleManager.nodeAffinity` | middleManager node affinity policy | `{}` |
| `middleManager.autoscaling.enabled` | enable horizontal pod autoscaling | `false` |
| `middleManager.autoscaling.minReplicas` | middleManager autoscaling min replicas | `2` |
| `middleManager.autoscaling.maxReplicas` | middleManager autoscaling max replicas | `5` |
| `middleManager.autoscaling.metrics` | middleManager autoscaling metrics | `[]` |
| `middleManager.ingress.enabled` | enable ingress | `false` |
| `middleManager.ingress.hosts` | hosts for the middleManager api | `[ "chart-example.local" ]` |
| `middleManager.ingress.path` | path of the middleManager api | `/` |
| `middleManager.ingress.annotations` | annotations for the middleManager api ingress | `{}` |
| `middleManager.ingress.tls` | TLS configuration for the ingress | `[]` |
| `middleManager.ingress.path` | path of the middleManager api | `/` |
| `middleManager.ingress.annotations` | annotations for the middleManager api ingress | `{}` |
| `middleManager.ingress.tls` | TLS configuration for the ingress | `[]` |

### Historical

Expand Down
60 changes: 53 additions & 7 deletions values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@
"description": "Create a service account for router service"
},
"name": {
"type": "string",
"anyOf": [
{ "type": "string" },
{ "type": "null" }
],
"description": "Service account name"
},
"annotations": {
Expand Down Expand Up @@ -263,7 +266,10 @@
"description": "Create a service account for broker service"
},
"name": {
"type": "string",
"anyOf": [
{ "type": "string" },
{ "type": "null" }
],
"description": "Service account name"
},
"annotations": {
Expand Down Expand Up @@ -429,7 +435,10 @@
"description": "Create a service account for overlord service"
},
"name": {
"type": "string",
"anyOf": [
{ "type": "string" },
{ "type": "null" }
],
"description": "Service account name"
},
"annotations": {
Expand Down Expand Up @@ -590,7 +599,10 @@
"description": "Create a service account for coordinator service"
},
"name": {
"type": "string",
"anyOf": [
{ "type": "string" },
{ "type": "null" }
],
"description": "Service account name"
},
"annotations": {
Expand Down Expand Up @@ -751,7 +763,10 @@
"description": "Create a service account for middleManager service"
},
"name": {
"type": "string",
"anyOf": [
{ "type": "string" },
{ "type": "null" }
],
"description": "Service account name"
},
"annotations": {
Expand Down Expand Up @@ -880,7 +895,35 @@
"description": "middleManager autoscaling max replicas"
},
"metrics": {
"type": "object",
"type": "array",
"default": [],
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"resource": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"target": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"averageUtilization": {
"type": "integer"
}
}
}
}
}
}
},
"description": "middleManager autoscaling metrics"
}
}
Expand Down Expand Up @@ -975,7 +1018,10 @@
"description": "Create a service account for historical service"
},
"name": {
"type": "string",
"anyOf": [
{ "type": "string" },
{ "type": "null" }
],
"description": "Service account name"
},
"annotations": {
Expand Down

0 comments on commit e09c316

Please sign in to comment.