Skip to content

Commit

Permalink
STAC-21754: Check the storage docs and put some notes on caveats and …
Browse files Browse the repository at this point in the history
…how/when to change them
  • Loading branch information
aacevedoosorio committed Sep 24, 2024
1 parent 09c1858 commit 445cb39
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 4 deletions.
68 changes: 65 additions & 3 deletions setup/install-stackstate/kubernetes_openshift/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ To remove the PVC's either remove them manually with `kubectl delete pvc` or del
## Customize storage

You can customize the `storageClass` and `size` settings for different volumes in the Helm chart. These example values files show how to change the storage class or the volume size. These can be merged to change both at the same time.
For the `size` we provide the sameple for both `HA` and `NonHa` depending on the sizing profile chosen during the installation process.

{% tabs %}
{% tab title="Changing storage class" %}
Expand All @@ -38,8 +39,12 @@ victoria-metrics-1:
```
{% endtab %}
{% tab title="Changing volume size" %}
{% tab title="Changing volume size for HA" %}
```yaml
clickhouse:
persistence:
# Size of persistent volume for each clickhouse pod
size: 50Gi
elasticsearch:
volumeClaimTemplate:
resources:
Expand All @@ -63,13 +68,13 @@ hbase:
kafka:
persistence:
# size of persistent volume for each Kafka pod
size: 50Gi
size: 100Gi


zookeeper:
persistence:
# size of persistent volume for each Zookeeper pod
size: 50Gi
size: 8Gi

victoria-metrics-0:
server:
Expand Down Expand Up @@ -99,6 +104,63 @@ stackstate:
size: 10Gi
```
{% endtab %}
{% tab title="Changing volume size Non-Ha" %}
```yaml
clickhouse:
persistence:
# Size of persistent volume for each clickhouse pod
size: 50Gi

elasticsearch:
volumeClaimTemplate:
resources:
requests:
# size of volume for each Elasticsearch pod
storage: 250Gi

hbase:
stackgraph:
persistence:
# Size of persistent volume for the single stackgraph hbase pod
size: 100Gi

kafka:
persistence:
# size of persistent volume for each Kafka pod
size: 100Gi


zookeeper:
persistence:
# size of persistent volume for each Zookeeper pod
size: 8Gi

victoria-metrics-0:
server:
persistentVolume:
size: 50Gi

stackstate:
components:
checks:
tmpToPVC:
volumeSize: 2Gi
healthSync:
tmpToPVC:
volumeSize: 2Gi
state:
tmpToPVC:
volumeSize: 2Gi
sync:
tmpToPVC:
volumeSize: 2Gi
vmagent:
persistence:
size: 10Gi
```
{% endtab %}
{% endtabs %}
{% hint style="info" %}
The NonHa example belongs to the biggest NonHa instance meant to observe 100 nodes and retain data for 2 weeks.
{% endhint %}
6 changes: 5 additions & 1 deletion setup/install-stackstate/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ For our different installation profiles, the following are the defaulted storage

| | 10 non-HA | 20 non-HA | 50 non-HA | 100 non-HA | 150 HA | 250 HA | 500 HA |
| --- | --- | --- | --- | --- | --- | --- |
| **Storage requirement** | 700GB | 700GB | 700GB | 850GB | 2TB | 2TB | 2TB |
| **Storage requirement** | 420GB | 420GB | 420GB | 600GB | 2TB | 2TB | 2.5TB |

{% hint style="info" %}
The storage estimates presented take into account a default of 14 days of retention for NONHA and 1 month for HA installations. For test instances where the are not meant as long live instances the storage sizes can be reduced.
{% endhint %}

For more details on the defaults used, see the page [Configure storage](/setup/install-stackstate/kubernetes_openshift/storage.md).

Expand Down

0 comments on commit 445cb39

Please sign in to comment.