Commit 9b100eaf authored by Enrico Bocchi's avatar Enrico Bocchi
Browse files

mgm: Ability to mount common fs shared among FSTs

parent a7994446
Pipeline #3909332 passed with stage
in 44 seconds
......@@ -151,6 +151,10 @@ spec:
mountPath: /etc/eos.krb5.keytab
subPath: eos.krb5.keytab
{{- end }}
{{- if .Values.fstSharedFs }}
- name: fst-shared-fs
mountPath: /fst_shared_fs
{{- end }}
- name: mgm-data
mountPath: /var/eos
- name: mgm-logs
......@@ -258,6 +262,12 @@ spec:
- name: eos-krb5-keytab
emptyDir: {}
{{- end }}
{{- if .Values.fstSharedFs }}
- name: fst-shared-fs
hostPath:
path: {{ .Values.fstSharedFs }}
type: Directory
{{- end }}
- name: mgm-logs
emptyDir: {}
{{- if eq ( include "utils.persistence" . ) "disabled" }}
......
......@@ -204,6 +204,20 @@ persistence:
# size: 10Gi
# annotations: {}
#
# Mount filesystem (e.g., CephFS, NFS) shared by all FSTs for local redirection.
#
# If fstSharedFs is set, the provided path will be mounted in the MGM container at /fst_shared_fs.
# The MGM must have visibility on the whole filesystem, while FSTs may still mount subdirectories.
# Please set fstSharedFs accordingly.
#
# See:
# - https://eos-docs.web.cern.ch/using/policies.html#shared-filesystem-redirection
# - https://eos-community.web.cern.ch/t/direct-access-to-eos-data-on-cephfs-in-k8s/734/
# - https://gitlab.cern.ch/eos/eos-charts/-/issues/72
#
fstSharedFs:
#
# Enable or disable health probes.
# Docs: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment