diff --git a/README.md b/README.md index 312383d..70131ce 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ # MOLGENIS Helm templates +These are the Helm templates that we will use for MOLGENIS operations. There are some prerequisites you need. +- docker +- minikube + ## Useful commands for Kubernetes +Commands that can be used to get information from a kubernetes cluster + - kubectl get pods Gets alls running instances of containers from a certain deployment - kubectl get services @@ -14,6 +20,14 @@ - kubectl get deployments Gets all deployments (comparable with docker-compose) +When you want to see what is running on the clusters at the CIT you have to make a context switch. +You can access the cluster with kubeconfig-files. You can obtain these by downloading them from the +MOLGENIS kubernetes cluster. + +- Goto https://rancher.molgenis.org:7443 +- Goto + + ## Useful commands for Helm - helm install . diff --git a/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml b/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml index 32523d4..c6b9866 100644 --- a/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml +++ b/nexus/v0.1.x/templates/deployments/nexus-deployment.yaml @@ -24,6 +24,13 @@ spec: persistentVolumeClaim: claimName: molgenis-nexus-data restartPolicy: {{ .Values.nexus.restartPolicy }} + initContainers: + - name: volume-mount-nexus + image: busybox + command: ["sh", "-c", "chown -R 200:200 /gcc/molgenis/nexus"] + volumeMounts: + - name: molgenis-nexus-data + mountPath: "/nexus-data" containers: - name: {{ .Values.nexus.name }} image: "{{ .Values.nexus.image.repository }}:{{ .Values.nexus.image.tag }}" diff --git a/nexus/v0.1.x/templates/volumes/nexus-pv.yaml b/nexus/v0.1.x/templates/volumes/nexus-pv.yaml index 24b438c..a08d6ba 100644 --- a/nexus/v0.1.x/templates/volumes/nexus-pv.yaml +++ b/nexus/v0.1.x/templates/volumes/nexus-pv.yaml @@ -13,4 +13,4 @@ spec: persistentVolumeReclaimPolicy: Retain nfs: server: 192.168.64.12 - path: /gcc/molgenis/nexus-data + path: /gcc/molgenis/nexus