From 4533818b3ecf82f500b0ff3fbf5e6c65bb4a902b Mon Sep 17 00:00:00 2001 From: marsal wang <707783088@qq.com> Date: Thu, 23 Dec 2021 13:56:21 +0800 Subject: [PATCH] 201 nfs --- .../201-nfs-client-provisioner-values.yaml | 6 +-- .../207-nfs-client-provisioner-values.yaml | 52 +++++++++++++++++++ 2 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 local-values/207-nfs-client-provisioner-values.yaml diff --git a/local-values/201-nfs-client-provisioner-values.yaml b/local-values/201-nfs-client-provisioner-values.yaml index 0152b05..ec6c178 100644 --- a/local-values/201-nfs-client-provisioner-values.yaml +++ b/local-values/201-nfs-client-provisioner-values.yaml @@ -14,16 +14,16 @@ image: ## Cloud Filestore instance nfs: ## Set IP address - server: "" + server: "192.168.1.201" ## Set file share name - path: "/vol1" + path: "/nfs" ## For creating the StorageClass automatically: storageClass: create: true ## Set a StorageClass name - name: nfs + name: nfs-201 ## Set reclaim policy for PV reclaimPolicy: Retain diff --git a/local-values/207-nfs-client-provisioner-values.yaml b/local-values/207-nfs-client-provisioner-values.yaml new file mode 100644 index 0000000..acb0b01 --- /dev/null +++ b/local-values/207-nfs-client-provisioner-values.yaml @@ -0,0 +1,52 @@ +# Default values for nfs-client-provisioner. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +## Deployment replica count +replicaCount: 1 + +## docker image +image: + repository: quay.io/external_storage/nfs-client-provisioner + tag: v3.1.0-k8s1.11 + pullPolicy: IfNotPresent + +## Cloud Filestore instance +nfs: + ## Set IP address + server: "192.168.1.207" + ## Set file share name + path: "/nfs" + +## For creating the StorageClass automatically: +storageClass: + create: true + + ## Set a StorageClass name + name: nfs-207 + + ## Set reclaim policy for PV + reclaimPolicy: Retain + +## For RBAC support: +rbac: + create: true + + ## Ignored if rbac.create is true + ## + serviceAccountName: default + +## +resources: {} + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +nodeSelector: {} + +tolerations: [] + +affinity: {}