diff --git a/docs/Kubernetes/kubernetes.md b/docs/Kubernetes/kubernetes.md index eb0f7b1e1256521c33aba451e69088385831a105..e517593da5d5231ed4d00fafe0086a39b7d8c9f9 100644 --- a/docs/Kubernetes/kubernetes.md +++ b/docs/Kubernetes/kubernetes.md @@ -1,5 +1,12 @@ ## Kubernetes +### Requirements + +This documentation is currenrly written for a barebone Ubuntu 18.04.5 LTS system. + +- Docker, please use the official installation procedures at https://docs.docker.com/get-docker/ + + ### Starting from scratch - To start the kubernetes manager on the master node @@ -34,6 +41,10 @@ If all went well you should be able to see the nodes becoming active in the node  +### Namespaces + +The unlock jobs will remain within the unlock project space in rancher. Go to Projects/Namespaces and create a new project. Add members to the project if needed. Also make sure you create the namespace for unlock (Click Namespaces when in the unlock project). + ### Obtaining the Kubeconfig file When the cluster is running and you would like to access the cluster from a local machine you need to obtain the kubeconfig file. This file can easily be obtained when you have selected the cluster. @@ -41,7 +52,6 @@ When the cluster is running and you would like to access the cluster from a loca  - ### Adding storage Within the unlock infrastructure each node has the databases and applications needed for the analysis to be performed. This folder needs to be accessible from the docker image that will execute the workflow. To achive this a host path is added to the configuration. @@ -50,8 +60,13 @@ Go to storage > persistent volumes  -... write the second part for the storage under the unlock/unlock/unlock cluster +In addition make sure that the volume is also added to the specific project. + + + ### Adding secrets +Make sure you are inside the unlock namespace/project. When you are within the project you should be able to see the Resource tab which contains a Secrets section. + diff --git a/docs/Kubernetes/secrets.png b/docs/Kubernetes/secrets.png new file mode 100644 index 0000000000000000000000000000000000000000..20ee8ca890be197ad910ad380b9131a6830b8e32 Binary files /dev/null and b/docs/Kubernetes/secrets.png differ diff --git a/docs/Kubernetes/volumes.png b/docs/Kubernetes/volumes.png new file mode 100644 index 0000000000000000000000000000000000000000..6876ed13706d5863c20827ceb1f798c64f4bbfdd Binary files /dev/null and b/docs/Kubernetes/volumes.png differ