Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use nfs-server-provisioner subchart in support #613

Merged
merged 17 commits into from
Aug 30, 2021
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions support/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ dependencies:
version: 9.10.3
repository: https://kubernetes.github.io/autoscaler
condition: cluster-autoscaler.enabled

# In-cluster NFS server provisioner
- name: nfs-server-provisioner
version: 1.3.1
repository: https://kvaps.github.io/charts
sgibson91 marked this conversation as resolved.
Show resolved Hide resolved
condition: nfs-server-provisioner.enabled
sgibson91 marked this conversation as resolved.
Show resolved Hide resolved
19 changes: 19 additions & 0 deletions support/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,22 @@ grafana:
access: proxy
isDefault: true
editable: false

sgibson91 marked this conversation as resolved.
Show resolved Hide resolved
nfs-server-provisioner:
enabled: false
storageClass:
# Users will have to opt-in to using NFS-type storage under
# singleuser.storage.dynamic.storageClass
name: nfs
create: true
defaultClass: false
mountOptions:
- vers=4
sgibson91 marked this conversation as resolved.
Show resolved Hide resolved
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 100Gi
# Future option is to reference an xfs storage class. This will allow us to enable quotas.
# https://github.com/pangeo-data/pangeo-cloud-federation/issues/654#issuecomment-861771398
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On most cloud providers, the storageClass is a reference to the underlying physical storage only - spinning disks or SSDs. I think the nfs external provisioner already uses XFS, and so the storageClass wouldn't come up. I think the reference in the provided link is for bare metal instances only.

# https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/gce-pd-csi-driver
storageClass: standard