From efc4a372b8d900d0227e2633871ede642b3edaea Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sat, 5 Dec 2026 10:35:07 -0600 Subject: [PATCH] ci: bind ephemeral compiler workspaces during scheduling --- infrastructure/core/kustomization.yaml | 1 + .../core/storageclass-ci-workspace.yaml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 infrastructure/core/storageclass-ci-workspace.yaml diff --git a/infrastructure/core/kustomization.yaml b/infrastructure/core/kustomization.yaml index 9b61d8bc..1c6124dc 100644 --- a/infrastructure/core/kustomization.yaml +++ b/infrastructure/core/kustomization.yaml @@ -5,6 +5,7 @@ resources: - node-maintenance.yaml - ci-capacity - storageclass-ci-scratch.yaml + - storageclass-ci-workspace.yaml - ../modules/base - ../modules/profiles/atlas-ha - node-prefer-noschedule-serviceaccount.yaml diff --git a/infrastructure/core/storageclass-ci-workspace.yaml b/infrastructure/core/storageclass-ci-workspace.yaml new file mode 100644 index 00000000..a9a5b485 --- /dev/null +++ b/infrastructure/core/storageclass-ci-workspace.yaml @@ -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