ci: bind ephemeral compiler workspaces during scheduling

This commit is contained in:
Brad Stein 2026-12-05 10:35:07 -06:00
parent f286fe6ba0
commit efc4a372b8
2 changed files with 16 additions and 0 deletions

View File

@ -5,6 +5,7 @@ resources:
- node-maintenance.yaml - node-maintenance.yaml
- ci-capacity - ci-capacity
- storageclass-ci-scratch.yaml - storageclass-ci-scratch.yaml
- storageclass-ci-workspace.yaml
- ../modules/base - ../modules/base
- ../modules/profiles/atlas-ha - ../modules/profiles/atlas-ha
- node-prefer-noschedule-serviceaccount.yaml - node-prefer-noschedule-serviceaccount.yaml

View File

@ -0,0 +1,15 @@
# infrastructure/core/storageclass-ci-workspace.yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: ci-workspace
provisioner: driver.longhorn.io
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
parameters:
diskSelector: astreae
numberOfReplicas: "1"
staleReplicaTimeout: "30"
fsType: ext4
dataLocality: disabled