DataONEorg / bookkeeper

Bookkeeper keeps track of DataONE product subscriptions and quotas for researchers using the extended services.
Other
1 stars 2 forks source link

k8s persistent volume / pod / service config #29

Open gothub opened 4 years ago

gothub commented 4 years ago

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

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:

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