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

Need a PV for NFS #246

Closed
John-Lin opened this issue Aug 14, 2018 · 4 comments
Closed

Need a PV for NFS #246

John-Lin opened this issue Aug 14, 2018 · 4 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@John-Lin
Copy link
Contributor

We'll have a PV for NFS and it can be bounded with the mongodb statefulset.

The YAML place in deploy/kubernetes folder like

~/go/src/github.com/linkernetworks/vortex/deploy/kubernetes [git::develop] [johnlin@Ches-MacBook-Pro] [0:14]
> tree base
base
|-- hostpath
|   `-- manual.yaml
`-- nfs
    `-- nfs-pv.yaml

3 directories, 1 file

The example PV

apiVersion: v1
kind: PersistentVolume
metadata:
  name: mongo-storage 
spec:
  capacity:
    storage: 1Gi 
  accessModes:
  - ReadWriteMany
  nfs: 
    path: /nfsshare 
    server: 10.14.1.100
  persistentVolumeReclaimPolicy: Recycle 

We need a PR for making helm YAML and make sure spec.capacity.storage, spec.accessModes, spec.nfs.path, spec.nfs.server are configurable

@John-Lin John-Lin added the help wanted Extra attention is needed label Aug 14, 2018
@John-Lin
Copy link
Contributor Author

For the NFS storage configs, we should put it in deploy/helm/config/production.yaml and create makefile targets for launching production and development environment separately.

@hwchiu
Copy link
Contributor

hwchiu commented Aug 15, 2018

就把 pash/server 的參數拉出來就好?
這樣是不是要 ansible要去安裝 NFS ?

@John-Lin
Copy link
Contributor Author

恩, 因為我們NFS用來測試 可以考慮不用放到ansible

John-Lin added a commit that referenced this issue Aug 16, 2018
@John-Lin
Copy link
Contributor Author

/close #247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants