ci: bind ephemeral compiler workspaces during scheduling
This commit is contained in:
parent
f286fe6ba0
commit
efc4a372b8
@ -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
|
||||||
|
|||||||
15
infrastructure/core/storageclass-ci-workspace.yaml
Normal file
15
infrastructure/core/storageclass-ci-workspace.yaml
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user