Skip to content

Commit

Permalink
Scale up old dhstore in prep for making it primary (#2607)
Browse files Browse the repository at this point in the history
* Scale up old dhstore in prep for making it primary

The current primary dhstore, where new data is written to, is nearly out of space. The oldest dhstore is only 61% full, so prepare it to become the priimary.

* Do not change data sourece for pvc

* Change instance type
  • Loading branch information
gammazero committed Apr 25, 2024
1 parent bbbbb1a commit e40491d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ spec:
mountPath: /data
resources:
limits:
cpu: "28"
cpu: "7"
memory: 58Gi
requests:
cpu: "28"
cpu: "7"
memory: 58Gi
affinity:
nodeAffinity:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ spec:
mountPath: /data
resources:
limits:
cpu: "5"
memory: 32Gi
cpu: "28"
memory: 58Gi
requests:
cpu: "5"
memory: 32Gi
cpu: "28"
memory: 58Gi
ports:
- containerPort: 40081
name: metrics
Expand All @@ -37,7 +37,7 @@ spec:
- key: node.kubernetes.io/instance-type
operator: In
values:
- r6a.2xlarge
- c6a.8xlarge
- key: topology.kubernetes.io/zone
operator: In
values:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ spec:
name: dhstore-20230427
kind: VolumeSnapshot
apiGroup: snapshot.storage.k8s.io
storageClassName: gp3-iops5k-t300
storageClassName: gp3-iops5k-t300

0 comments on commit e40491d

Please sign in to comment.