|
| 1 | +# Copyright 2018 The Kubernetes Authors. |
| 2 | +# Copyright 2022 Google LLC |
| 3 | +# |
| 4 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +# you may not use this file except in compliance with the License. |
| 6 | +# You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | + |
| 16 | +apiVersion: storage.k8s.io/v1 |
| 17 | +kind: StorageClass |
| 18 | +metadata: |
| 19 | + name: gcsfusecsi-training |
| 20 | + labels: |
| 21 | + gke-gcsfuse/profile: "true" |
| 22 | +provisioner: gcsfuse.csi.storage.gke.io |
| 23 | +mountOptions: |
| 24 | + - profile:aiml-training |
| 25 | +parameters: |
| 26 | + skipCSIBucketAccessCheck: "true" |
| 27 | + gcsfuseMetadataPrefetchOnMount: "true" |
| 28 | + fuseFileCacheMediumPriority: "gpu:ram|lssd,tpu:ram,general_purpose:ram|lssd" |
| 29 | + fuseMemoryAllocatableFactor: "0.7" |
| 30 | + fuseEphemeralStorageAllocatableFactor: "0.85" |
| 31 | + bucketScanResyncPeriod: "168h" |
| 32 | + bucketScanTimeout: "2m" |
| 33 | +--- |
| 34 | +apiVersion: storage.k8s.io/v1 |
| 35 | +kind: StorageClass |
| 36 | +metadata: |
| 37 | + name: gcsfusecsi-serving |
| 38 | + labels: |
| 39 | + gke-gcsfuse/profile: "true" |
| 40 | +provisioner: gcsfuse.csi.storage.gke.io |
| 41 | +mountOptions: |
| 42 | + - profile:aiml-serving |
| 43 | + - read_ahead_kb=1024 |
| 44 | +parameters: |
| 45 | + anywhereCacheZones: "*" |
| 46 | + anywhereCacheAdmissionPolicy: "admit-on-first-miss" |
| 47 | + anywhereCacheTTL: "1h" |
| 48 | + skipCSIBucketAccessCheck: "true" |
| 49 | + gcsfuseMetadataPrefetchOnMount: "true" |
| 50 | + fuseFileCacheMediumPriority: "gpu:ram|lssd,tpu:ram,general_purpose:ram|lssd" |
| 51 | + fuseMemoryAllocatableFactor: "0.7" |
| 52 | + fuseEphemeralStorageAllocatableFactor: "0.85" |
| 53 | + bucketScanResyncPeriod: "168h" |
| 54 | + bucketScanTimeout: "2m" |
| 55 | +--- |
| 56 | +apiVersion: storage.k8s.io/v1 |
| 57 | +kind: StorageClass |
| 58 | +metadata: |
| 59 | + name: gcsfusecsi-checkpointing |
| 60 | + labels: |
| 61 | + gke-gcsfuse/profile: "true" |
| 62 | +provisioner: gcsfuse.csi.storage.gke.io |
| 63 | +mountOptions: |
| 64 | + - profile:aiml-checkpointing |
| 65 | + - read_ahead_kb=1024 |
| 66 | +parameters: |
| 67 | + skipCSIBucketAccessCheck: "true" |
| 68 | + gcsfuseMetadataPrefetchOnMount: "true" |
| 69 | + fuseFileCacheMediumPriority: "gpu:ram|lssd,tpu:ram,general_purpose:ram|lssd" |
| 70 | + fuseMemoryAllocatableFactor: "0.7" |
| 71 | + fuseEphemeralStorageAllocatableFactor: "0.85" |
| 72 | + bucketScanResyncPeriod: "168h" |
| 73 | + bucketScanTimeout: "2m" |
0 commit comments