Skip to content

Commit

Permalink
remove image specification
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Oct 21, 2024
1 parent f48a89a commit df92a85
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
14 changes: 8 additions & 6 deletions packages/apps/clickhouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ more details:

### Common parameters

| Name | Description | Value |
| -------------- | ----------------------------------- | ------ |
| `size` | Persistent Volume size | `10Gi` |
| `shards` | Number of Clickhouse replicas | `1` |
| `replicas` | Number of Clickhouse shards | `2` |
| `storageClass` | StorageClass used to store the data | `""` |
| Name | Description | Value |
| ---------------- | ----------------------------------- | ------ |
| `size` | Persistent Volume size | `10Gi` |
| `logStorageSize` | Persistent Volume for logs size | `2Gi` |
| `shards` | Number of Clickhouse replicas | `1` |
| `replicas` | Number of Clickhouse shards | `2` |
| `storageClass` | StorageClass used to store the data | `""` |
| `logTTL` | for query_log and query_thread_log | `15` |

### Configuration parameters

Expand Down
2 changes: 0 additions & 2 deletions packages/apps/clickhouse/templates/clickhouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ spec:
topologyKey: "kubernetes.io/hostname"
containers:
- name: clickhouse
imagePullPolicy: Always
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
volumeMounts:
- name: data-volume-template
mountPath: /var/lib/clickhouse
Expand Down
8 changes: 4 additions & 4 deletions packages/apps/clickhouse/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"logStorageSize": {
"type": "string",
"description": "logStorageSize Persistent Volume for logs size",
"description": "Persistent Volume for logs size",
"default": "2Gi"
},
"shards": {
Expand All @@ -25,11 +25,11 @@
"storageClass": {
"type": "string",
"description": "StorageClass used to store the data",
"default": "local"
"default": ""
},
"logTTL": {
"type": "number",
"description": "logTTL for query_log and query_thread_log",
"description": "for query_log and query_thread_log",
"default": 15
},
"backup": {
Expand Down Expand Up @@ -78,4 +78,4 @@
}
}
}
}
}
6 changes: 1 addition & 5 deletions packages/apps/clickhouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ size: 10Gi
logStorageSize: 2Gi
shards: 1
replicas: 2
storageClass: "local"
storageClass: ""
logTTL: 15

## @section Configuration parameters
Expand Down Expand Up @@ -46,7 +46,3 @@ backup:
s3AccessKey: oobaiRus9pah8PhohL1ThaeTa4UVa7gu
s3SecretKey: ju3eum4dekeich9ahM1te8waeGai0oog
resticPassword: ChaXoveekoh6eigh4siesheeda2quai0

image:
repository: clickhouse/clickhouse-server
tag: "24.2.2.71"

0 comments on commit df92a85

Please sign in to comment.