k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/greenhouse/gce-storage.yaml (about) 1 # storage class used by greenhouse for GKE / GCE we use persistent SSD 2 # previously we also used local SSDs via hostPath which are *great* but 3 # "only" ~375 GB 4 # https://cloud.google.com/compute/docs/disks/ 5 kind: StorageClass 6 apiVersion: storage.k8s.io/v1 7 metadata: 8 name: greenhouse 9 provisioner: kubernetes.io/gce-pd 10 parameters: 11 type: pd-ssd 12 # we want to use a volume with strictatime,lazytime (and not noatime or relatime) 13 # so that file access times *are* recorded but are lazily flushed to the disk 14 # https://lwn.net/Articles/621046/ 15 # https://unix.stackexchange.com/questions/276858/why-is-ext4-filesystem-mounted-with-both-relatime-and-lazytime 16 mountOptions: ["strictatime", "lazytime"] 17 --- 18 # 3TB of SSD :-) 19 kind: PersistentVolumeClaim 20 apiVersion: v1 21 metadata: 22 name: greenhouse 23 spec: 24 accessModes: 25 - ReadWriteOnce 26 resources: 27 requests: 28 storage: 3000Gi 29 storageClassName: greenhouse 30 ---