Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a new StorageClass and configured thanos-stack to use the per… #301

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ terraform.tfstate

#tmp kube config written by tooling container
.kube_config
.env.tmp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: gp3-expandable
annotations:
meta.helm.sh/release-name: shared-resources
meta.helm.sh/release-namespace: kube-system
storageclass.kubernetes.io/is-default-class: "true"
labels:
app.kubernetes.io/managed-by: Helm
provisioner: ebs.csi.aws.com
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer
parameters:
type: gp3
4 changes: 2 additions & 2 deletions k8s-values/values.kube-prometheus-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ prometheus:
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: gp2
storageClassName: gp3-expandable
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 8Gi
storage: 16Gi
thanos:
objectStorageConfig:
existingSecret:
Expand Down
6 changes: 6 additions & 0 deletions k8s-values/values.thanos-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ queryFrontend:
enabled: false
storegateway:
enabled: true
persistence:
enabled: true
storageClass: gp3-expandable
accessModes:
- ReadWriteOnce
size: 16Gi
resources:
limits:
memory: "2.5Gi"
Expand Down
Loading