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

k8s persistent volume / pod / service config #29

Open
gothub opened this issue Jun 16, 2020 · 0 comments
Open

k8s persistent volume / pod / service config #29

gothub opened this issue Jun 16, 2020 · 0 comments
Assignees
Milestone

Comments

@gothub
Copy link
Collaborator

gothub commented Jun 16, 2020

The initial plan for adding bookkeeper to k8s was to have this configuration:

  • bookkeeper is run under the bookkeeper Linux user id
  • bookkeeper configmaps, pods, services all run in the k8s bookkeeper namespace
  • bookkeeper has it's own persistent volume that the Postgresql database is written to/persisted on

The configuration details are being tested on the k8s development cluster (i.e. docker-dev-ucsb-1.test.dataone.org). The dev cluster has one NFS share that is available and that is currently being used by the dev version of metadig-engine. All metadig-engine pods use the persistent volume (pv) and persistent volume claim (pvc) that accesses this share.

One option in this config is to share the pvc between pods in the metadig namespace and the bookkeeper namespace, but it appears that k8s doesn't support this. The supported config seems to be:

  • one NFS share
  • one pv
  • one pvc assigned to a namespace

Another option is to have an additional NFS share that can be used by bookkeper, so set these additional NFS shares:

  • the development cluster (docker-dev-ucsb-1.test.dataone.org - /data2 ?)
  • the production cluster (docker-ucsb-4.dataone.org - /data2 ?)
@gothub gothub added this to the 0.1.0 release milestone Jun 16, 2020
@gothub gothub self-assigned this Jun 16, 2020
@gothub gothub changed the title k8s persistent volume config k8s persistent volume / pod / service config Nov 25, 2020
@mbjones mbjones modified the milestones: 0.1.0 release, 1.0.0 release Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants