Skip to content

Commit 7924c03

Browse files
authored
Add tolerations for the new shards VM when starting the local-csi-driver (#4448)
## Motivation Now that we have multiple VMs for different things, we need to adjust the tolerations in the local-csi-driver so it runs in the VMs that could have local SSDs. ## Proposal Add shards tolerations to local-csi-driver config ## Test Plan Deployed a dual store + local ssd network using this code, it works. ## Release Plan - Nothing to do / These changes follow the usual release cycle.
1 parent 45e2500 commit 7924c03

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kubernetes/linera-validator/scylla-setup/gke-daemonset-raid-disks.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ spec:
1616
spec:
1717
nodeSelector:
1818
cloud.google.com/gke-local-nvme-ssd: "true"
19+
# Add tolerations for all node types that might have local SSDs.
20+
# Scylla nodes are managed by the Scylla NodeConfig, so no need to add tolerations for them.
21+
tolerations:
22+
- key: shards
23+
value: "true"
24+
effect: NoSchedule
1925
hostPID: true
2026
containers:
2127
- name: startup-script

0 commit comments

Comments
 (0)