Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit c5289d5

Browse files
authored
Merge pull request #94 from kimxogus/es/update-values
bump es version, remove default storageClassName
2 parents 7648438 + de628f2 commit c5289d5

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

elasticsearch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ helm install --name elasticsearch elastic/elasticsearch --set imageTag=7.0.0
7878
| `resources` | Allows you to set the [resources](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) for the statefulset | `requests.cpu: 100m`<br>`requests.memory: 2Gi`<br>`limits.cpu: 1000m`<br>`limits.memory: 2Gi` |
7979
| `initResources` | Allows you to set the [resources](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) for the initContainer in the statefulset | {} |
8080
| `networkHost` | Value for the [network.host Elasticsearch setting](https://www.elastic.co/guide/en/elasticsearch/reference/current/network.host.html) | `0.0.0.0` |
81-
| `volumeClaimTemplate` | Configuration for the [volumeClaimTemplate for statefulsets](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-storage). You will want to adjust the storage (default `30Gi`) and the `storageClassName` if you are using a different storage class | `accessModes: [ "ReadWriteOnce" ]`<br>`storageClassName: standard`<br>`resources.requests.storage: 30Gi` |
81+
| `volumeClaimTemplate` | Configuration for the [volumeClaimTemplate for statefulsets](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-storage). You will want to adjust the storage (default `30Gi`) and the `storageClassName` if you are using a different storage class | `accessModes: [ "ReadWriteOnce" ]`<br>`resources.requests.storage: 30Gi` |
8282
| `persistence.annotations` | Additional persistence annotations for the `volumeClaimTemplate` | `{}` |
8383
| `antiAffinityTopologyKey` | The [anti-affinity topology key](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity). By default this will prevent multiple Elasticsearch nodes from running on the same Kubernetes node | `kubernetes.io/hostname` |
8484
| `antiAffinity` | Setting this to hard enforces the [anti-affinity rules](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity). If it is set to soft it will be done "best effort". Other values will be ignored. | `hard` |

elasticsearch/tests/elasticsearch_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def test_defaults():
128128
assert v['metadata']['name'] == uname
129129
assert v['spec']['accessModes'] == ['ReadWriteOnce']
130130
assert v['spec']['resources']['requests']['storage'] == '30Gi'
131-
assert v['spec']['storageClassName'] == 'standard'
132131

133132
# Init container
134133
i = r['statefulset'][uname]['spec']['template']['spec']['initContainers'][0]

elasticsearch/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ networkHost: "0.0.0.0"
7171

7272
volumeClaimTemplate:
7373
accessModes: [ "ReadWriteOnce" ]
74-
storageClassName: "standard"
7574
resources:
7675
requests:
7776
storage: 30Gi

0 commit comments

Comments
 (0)