Commit 1a657de1 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Add doc to load data to kubernetes

parent d8d7c4ba
......@@ -141,3 +141,21 @@ Here are the ENV variables available.
| MINE_NAME | Name of your mine |
| IM_DATA_DIR | Data directory as used in your project XML file. This will be used for search and replace to fix data locations inside the build container.|
| TOMCAT_HOST_PORT | the port of your host machine to which tomcat docker container binds to |
# load data to pvc
```
kubectl apply -f legiolist-docker/ci/kubernetes/intermine-load-data-pod.yaml --namespace legiolist-dev
kubectl get pod -n legiolist-dev
NAME READY STATUS RESTARTS AGE
intermine-load-data 1/1 Running 0 45s
postgresql-5c8975bd8c-6k7bg 1/1 Running 0 9m14s
solr-5fb4768f98-ggcph 1/1 Running 0 9m14s
tomcat-77855d8f44-9wbgf 1/1 Running 0 9m14s
kubectl --namespace=legiolist-dev cp /mnt/gaia/home/projects/legiolist/data/pre-process-data/ intermine-load-data:/data
kubectl --namespace=legiolist-dev cp /mnt/gaia/home/projects/legiolist/data/so.obo intermine-load-data:/data
kubectl --namespace=legiolist-dev cp /mnt/gaia/home/projects/legiolist/data/data_newLegioList intermine-load-data:/data
```
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