Verified Commit 259be49d authored by Radim Peša's avatar Radim Peša
Browse files

cbioportal static

parent 57647251
# Deploy cBioPortal to K8s cluster # Deploy cBioPortal to K8s cluster
Clone repository. Make sure static TMPlist id is set correctly in cbio-replicaset.yml.
Start deployment with
`kubectl create -n cbio-on-demand -f .`
Check the results with following.
`kubectl get all -n cbio-on-demand -l type=static`
`watch kubectl get all -n cbio-on-demand -l type=static`
# Delete static cBioPortal
Static deployment can be deleted with following.
`kubectl delete all -n cbio-on-demand -l type=static`
apiVersion: apps/v1 apiVersion: apps/v1
kind: ReplicaSet kind: ReplicaSet
metadata: metadata:
generateName: cbio-on-demand generateName: cbio-static
#namespace: cbio-on-demand #namespace: cbio-on-demand
labels: labels:
app: cbio app: cbio
...@@ -75,7 +75,7 @@ spec: ...@@ -75,7 +75,7 @@ spec:
- name: IMPORT - name: IMPORT
value: /etc/data-loading/cbio_client.py value: /etc/data-loading/cbio_client.py
- name: ID - name: ID
# generated by API from user request # TMPlist id !!!!
value: "15" value: "15"
- name: MOVE - name: MOVE
#generated by API from generated url #generated by API from generated url
......
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
generateName: cbio-on-demand name: cbio-static
#namespace: cbio-on-demand #namespace: cbio-on-demand
labels: labels:
app: cbio app: cbio
......
apiVersion: apps/v1 apiVersion: apps/v1
kind: ReplicaSet kind: ReplicaSet
metadata: metadata:
generateName: cbiodb generateName: cbiodb-static
#namespace: cbio-on-demand #namespace: cbio-on-demand
annotations: annotations:
maintainer: Luboslav Pivarc <456130@muni.cz> maintainer: Luboslav Pivarc <456130@muni.cz>
......
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
generateName: cbio-on-demand-db name: cbio-db-static
#namespace: cbio-on-demand #namespace: cbio-on-demand
labels: labels:
app: cbioDB app: cbioDB
......
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