Compare commits
50 Commits
chore/remo
...
feature/s3
Author | SHA1 | Date | |
---|---|---|---|
bf0e3e82a3 | |||
5f542e7632 | |||
16f2701fd2 | |||
501982ca53 | |||
7305d54630 | |||
c28f08bedd | |||
321af8f2f2 | |||
d17c137dd5 | |||
6f0262d2d9 | |||
34c8f048b9 | |||
d7ccab34c4 | |||
5fd05f505a | |||
61d5505126 | |||
e5cbcdf933 | |||
04bd9cd653 | |||
88134dbccb | |||
8d81b873b7 | |||
dc270c1f65 | |||
69d3698efb | |||
f1d4a6ee3b | |||
bf770cc05e | |||
6f4f98c091 | |||
71e59f7639 | |||
36f6a242c6 | |||
fc7c564e44 | |||
947e389b92 | |||
ed948c40aa | |||
bfb2e45877 | |||
59d99deab5 | |||
a660aff355 | |||
846df81522 | |||
a2922c4d49 | |||
0c9548069c | |||
5a98e35273 | |||
9d807d28fc | |||
d9053b656c | |||
581655fe92 | |||
14b27fc043 | |||
cf47b432e2 | |||
11b25a5df6 | |||
38f89721e7 | |||
e0f5d40084 | |||
4de20d9bd6 | |||
5eea95cfbc | |||
b383cc4517 | |||
d4307ab3b2 | |||
793cf80820 | |||
3d93546b47 | |||
31567c281a | |||
89b1639449 |
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: "1.0"
|
appVersion: "1.0"
|
||||||
description: A Helm chart for Kubernetes
|
description: MOLGENIS - helm stack for testing purposes
|
||||||
name: molgenis
|
name: molgenis-preview
|
||||||
version: 0.2.0
|
version: 0.2.0
|
||||||
sources:
|
sources:
|
||||||
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# MOLGENIS preview
|
# MOLGENIS preview
|
||||||
Is used for integration testing purposes.
|
This chart is used for testing purposes. It can be used by data managers or developers to test MOLGENIS (e.g. integration testing).
|
||||||
|
|
||||||
## Containers
|
## Containers
|
||||||
This chart spins up a complete stack to run MOLGENIS. The created containers are:
|
This chart spins up a complete stack to run MOLGENIS. The created containers are:
|
||||||
@ -9,3 +9,8 @@ This chart spins up a complete stack to run MOLGENIS. The created containers are
|
|||||||
- Elasticsearch
|
- Elasticsearch
|
||||||
- OpenCPU
|
- OpenCPU
|
||||||
|
|
||||||
|
## Rancher
|
||||||
|
You can spin up a test instance by navigating to https://rancher.molgenis.org:7777 and login with your LDAP-account.
|
||||||
|
|
||||||
|
Go to the test-environment and click on "Launch". Search for MOLGENIS.
|
||||||
|
|
||||||
|
@ -1,120 +0,0 @@
|
|||||||
# Source: molgenis/templates/deployment.yaml
|
|
||||||
apiVersion: apps/v1beta2
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: lanky-ragdoll-molgenis
|
|
||||||
labels:
|
|
||||||
app: molgenis
|
|
||||||
chart: molgenis-0.1.0
|
|
||||||
release: lanky-ragdoll
|
|
||||||
heritage: Tiller
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: molgenis
|
|
||||||
release: lanky-ragdoll
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: molgenis
|
|
||||||
release: lanky-ragdoll
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: molgenis
|
|
||||||
image: "registry.molgenis.org/molgenis/molgenis-app:latest"
|
|
||||||
imagePullPolicy: Always
|
|
||||||
env:
|
|
||||||
- name: molgenis.home
|
|
||||||
value: /home/molgenis
|
|
||||||
- name: opencpu.uri.host
|
|
||||||
value: opencpu
|
|
||||||
- name: elasticsearch.transport.addresses
|
|
||||||
value: elasticsearch:9300
|
|
||||||
- name: elasticsearch.cluster.name
|
|
||||||
value: molgenis
|
|
||||||
- name: db_uri
|
|
||||||
value: "jdbc:postgresql://postgres/molgenis"
|
|
||||||
- name: db_user
|
|
||||||
value: molgenis
|
|
||||||
- name: db_password
|
|
||||||
value: molgenis
|
|
||||||
- name: admin.password
|
|
||||||
value: admin
|
|
||||||
- name: CATALINA_OPTS
|
|
||||||
value: "-Xmx1g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
|
|
||||||
ports:
|
|
||||||
- containerPort: 8080
|
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: http
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /api/v2/version
|
|
||||||
port: http
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 1
|
|
||||||
memory: 1250Mi
|
|
||||||
requests:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 1Gi
|
|
||||||
|
|
||||||
|
|
||||||
- name: elasticsearch
|
|
||||||
image: "docker.elastic.co/elasticsearch/elasticsearch:5.5.3"
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
env:
|
|
||||||
- name: cluster.name
|
|
||||||
value: molgenis
|
|
||||||
- name: bootstrap.memory_lock
|
|
||||||
value: true
|
|
||||||
- name: ES_JAVA_OPTS
|
|
||||||
value: "-Xms512m -Xmx512m"
|
|
||||||
- name: xpack.security.enabled
|
|
||||||
value: false
|
|
||||||
- name: discovery.type
|
|
||||||
value: single-node
|
|
||||||
ports:
|
|
||||||
- containerPort: 9200
|
|
||||||
- containerPort: 9300
|
|
||||||
limits:
|
|
||||||
cpu: 1
|
|
||||||
memory: 1500Mi
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 1Gi
|
|
||||||
|
|
||||||
|
|
||||||
- name: postgres
|
|
||||||
image: "postgres:9.6-alpine"
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
env:
|
|
||||||
- name: POSTGRES_USER
|
|
||||||
value: molgenis
|
|
||||||
- name: POSTGRES_PASSWORD
|
|
||||||
value: molgenis
|
|
||||||
- name: POSTGRES_DB
|
|
||||||
value: molgenis
|
|
||||||
ports:
|
|
||||||
- containerPort: 5432
|
|
||||||
limits:
|
|
||||||
cpu: 1
|
|
||||||
memory: 250Mi
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 250Mi
|
|
||||||
|
|
||||||
|
|
||||||
- name: opencpu
|
|
||||||
image: "molgenis/opencpu:latest"
|
|
||||||
imagePullPolicy: Always
|
|
||||||
ports:
|
|
||||||
- containerPort: 8004
|
|
||||||
limits:
|
|
||||||
cpu: 1
|
|
||||||
memory: 512Mi
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 256Mi
|
|
@ -2,5 +2,5 @@ apiVersion: v1
|
|||||||
appVersion: "1.0"
|
appVersion: "1.0"
|
||||||
description: MOLGENIS vault
|
description: MOLGENIS vault
|
||||||
name: molgenis-vault
|
name: molgenis-vault
|
||||||
version: 0.1.1
|
version: 0.2.1
|
||||||
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-vault/catalogIcon-molgenis-vault.svg
|
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis-vault/catalogIcon-molgenis-vault.svg
|
||||||
|
@ -13,21 +13,25 @@ See https://github.com/coreos/vault-operator/blob/master/doc/user/vault.md
|
|||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
### Azure cloud credentials
|
### Azure cloud credentials
|
||||||
Define credentials for backup to the Azure Blob Store.
|
Define credentials for an S3 compatible backup bucket.
|
||||||
See [etcd-operator documentation](https://github.com/coreos/etcd-operator/blob/master/doc/user/abs_backup.md).
|
See [etcd-operator documentation](https://github.com/coreos/etcd-operator/blob/master/doc/user/walkthrough/backup-operator.md).
|
||||||
|
> Default values backup to the minio play server.
|
||||||
|
You can host the stable/minio chart to backup to a bucket on the cluster.
|
||||||
|
|
||||||
| Parameter | Description | Default |
|
| Parameter | Description | Default |
|
||||||
| --------------- | ----------------------------- | ------------------ |
|
| -------------------- | ---------------------------------------- | ------------------------------------------ |
|
||||||
| `abs.account` | name of storage account | `fdlkops` |
|
| `s3.accessKeyId` | key id storage account | `Q3AM3UQ867SPQQA43P2F` |
|
||||||
| `abs.accessKey` | access key of storage account | `xxxx` |
|
| `s3.secretAccessKey` | secret access key of storage account | `zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG` |
|
||||||
| `abs.cloud` | name of cloud environment | `AzurePublicCloud` |
|
| `s3.region` | region of the storage server | `us-east-1` |
|
||||||
|
| `s3.endpoint` | endpoint for the storage server | `https://play.minio.io:9000` |
|
||||||
|
| `s3.bucket` | name of the bucket on the storage server | `vault` |
|
||||||
|
|
||||||
### Backup job
|
### Backup job
|
||||||
Define the schedule of the backup job
|
Define the schedule of the backup job
|
||||||
|
|
||||||
| Parameter | Description | Default |
|
| Parameter | Description | Default |
|
||||||
| -------------------- | ---------------------------- | ------------- |
|
| -------------------- | ---------------------------- | ------------- |
|
||||||
| `backupJob.enable` | Enable backup cronjob | `true` |
|
| `backupJob.suspend` | Suspend backup cronjob | `false` |
|
||||||
| `backupJob.schedule` | cron schedule for the backup | `0 12 * * 1` |
|
| `backupJob.schedule` | cron schedule for the backup | `0 12 * * 1` |
|
||||||
|
|
||||||
### UI
|
### UI
|
||||||
|
13
molgenis-vault/resources/backup.yaml
Normal file
13
molgenis-vault/resources/backup.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: "etcd.database.coreos.com/v1beta2"
|
||||||
|
kind: "EtcdBackup"
|
||||||
|
metadata:
|
||||||
|
name: vault-backup
|
||||||
|
namespace: "vault-operator"
|
||||||
|
spec:
|
||||||
|
etcdEndpoints: ["https://vault-etcd-client:2379"]
|
||||||
|
storageType: S3
|
||||||
|
clientTLSSecret: vault-etcd-client-tls
|
||||||
|
s3:
|
||||||
|
path: vault/backup-manual
|
||||||
|
awsSecret: aws
|
||||||
|
endpoint: http://minio.minio.svc:9000
|
@ -9,7 +9,8 @@ spec:
|
|||||||
etcdCluster:
|
etcdCluster:
|
||||||
# The namespace is the same as this EtcdRestore CR
|
# The namespace is the same as this EtcdRestore CR
|
||||||
name: vault-etcd
|
name: vault-etcd
|
||||||
backupStorageType: ABS
|
backupStorageType: S3
|
||||||
abs:
|
s3:
|
||||||
path: vault/backup-<specify the backup name>
|
path: vault/backup-<name>
|
||||||
absSecret: abs
|
awsSecret: aws
|
||||||
|
endpoint: http://minio.minio.svc:9000
|
@ -3,11 +3,15 @@ Vault operator created
|
|||||||
Next steps:
|
Next steps:
|
||||||
|
|
||||||
* Manually create a vault using resources/vault.yaml
|
* Manually create a vault using resources/vault.yaml
|
||||||
* Manually restore a backup using resources/backup.yaml
|
* Manually restore a backup using resources/restore.yaml
|
||||||
* Unseal the vault pods
|
* Unseal the vault pods
|
||||||
|
|
||||||
{{ if .Values.backupJob.enable }}
|
{{ if .Values.backupJob.suspend }}
|
||||||
!! Make sure to check if the backups succeed !!
|
!!!!!! BACKUP JOB SUSPENDED !!!!!!
|
||||||
{{ else }}
|
{{ else }}
|
||||||
!!!!!! NO BACKUPS CONFIGURED !!!!!!
|
{{- if .Values.s3.endpoint -}}
|
||||||
|
Backing up to non-standard s3 endpoint {{ .Values.s3.endpoint }} {{ else -}}
|
||||||
|
Backing up to S3 on aws {{ end -}}
|
||||||
|
in bucket {{ .Values.s3.bucket }}.
|
||||||
|
!! Make sure to check if the backups succeed !!
|
||||||
{{ end }}
|
{{ end }}
|
@ -1,10 +0,0 @@
|
|||||||
# Secret to access microsoft azure blob store
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: abs
|
|
||||||
type: Opaque
|
|
||||||
stringData:
|
|
||||||
storage-account: {{ .Values.abs.account }}
|
|
||||||
storage-key: {{ .Values.abs.accessKey }}
|
|
||||||
cloud: {{ .Values.abs.cloud }}
|
|
10
molgenis-vault/templates/aws-secret.yaml
Normal file
10
molgenis-vault/templates/aws-secret.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Secret to access s3 compatible store
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: aws
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
config: {{ printf "[default]\nregion = %s" .Values.s3.region | b64enc | quote }}
|
||||||
|
credentials: {{ printf "[default]\naws_access_key_id = %s\naws_secret_access_key = %s\n" .Values.s3.accessKeyId .Values.s3.secretAccessKey | b64enc | quote }}
|
||||||
|
|
@ -11,8 +11,14 @@ data:
|
|||||||
generateName: vault-backup-
|
generateName: vault-backup-
|
||||||
spec:
|
spec:
|
||||||
etcdEndpoints: ["https://vault-etcd-client:2379"]
|
etcdEndpoints: ["https://vault-etcd-client:2379"]
|
||||||
storageType: ABS
|
storageType: S3
|
||||||
clientTLSSecret: vault-etcd-client-tls
|
clientTLSSecret: vault-etcd-client-tls
|
||||||
abs:
|
s3:
|
||||||
path: vault/backup.<NOW>
|
path: {{ .Values.s3.bucket }}/backup.<NOW>
|
||||||
absSecret: abs
|
awsSecret: aws
|
||||||
|
{{- if .Values.s3.endpoint }}
|
||||||
|
endpoint: {{ .Values.s3.endpoint }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if hasKey .Values.s3 "forcePathStyle" }}
|
||||||
|
forcePathStyle: {{ .Values.s3.forcePathStyle }}
|
||||||
|
{{- end }}
|
@ -1,10 +1,10 @@
|
|||||||
{{- if .Values.backupJob.enable }}
|
|
||||||
# cronjob that creates etcdbackups using the etcd backup serviceaccount
|
# cronjob that creates etcdbackups using the etcd backup serviceaccount
|
||||||
apiVersion: batch/v1beta1
|
apiVersion: batch/v1beta1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
metadata:
|
metadata:
|
||||||
name: etcd-backup
|
name: etcd-backup
|
||||||
spec:
|
spec:
|
||||||
|
suspend: {{ .Values.backupJob.suspend }}
|
||||||
schedule: {{ .Values.backupJob.schedule | quote }}
|
schedule: {{ .Values.backupJob.schedule | quote }}
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
@ -26,5 +26,4 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: backup-config
|
- name: backup-config
|
||||||
configMap:
|
configMap:
|
||||||
name: backup-config
|
name: backup-config
|
||||||
{{- end }}
|
|
@ -2,19 +2,26 @@
|
|||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
# abs gives details of the credentials to reach the azure backup storage
|
# s3 configures s3 backup storage
|
||||||
abs:
|
s3:
|
||||||
# account is the name of the Storage account
|
# accessKey for the s3 storage account
|
||||||
account: fdlkops
|
accessKeyId: Q3AM3UQ867SPQQA43P2F
|
||||||
# access key for the Storage account
|
# secretAccessKey for the s3 storage account
|
||||||
accessKey: xxxx
|
secretAccessKey: zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
|
||||||
# default cloud
|
# region
|
||||||
cloud: AzurePublicCloud
|
region: us-east-1
|
||||||
|
# endpoint for the s3 storage
|
||||||
|
endpoint: https://play.minio.io:9000
|
||||||
|
# forcePathStyle if set to true forces requests to use path style
|
||||||
|
# (host/bucket instead of bucket.host)
|
||||||
|
forcePathStyle: true
|
||||||
|
# bucket is the name of the bucket
|
||||||
|
bucket: vault
|
||||||
|
|
||||||
# backupjob describes the backup cronjob
|
# backupjob describes the backup cronjob
|
||||||
backupJob:
|
backupJob:
|
||||||
# enable enables the backup job
|
# suspend suspends the backup job
|
||||||
enable: true
|
suspend: false
|
||||||
# schedule gives the cron schedule for the backup job
|
# schedule gives the cron schedule for the backup job
|
||||||
schedule: "0 12 * * 1"
|
schedule: "0 12 * * 1"
|
||||||
|
|
||||||
@ -40,10 +47,12 @@ etcd-operator:
|
|||||||
tag: v0.9.2
|
tag: v0.9.2
|
||||||
backupOperator:
|
backupOperator:
|
||||||
image:
|
image:
|
||||||
tag: v0.9.2
|
repository: fdlk/etcd-operator
|
||||||
|
tag: latest
|
||||||
restoreOperator:
|
restoreOperator:
|
||||||
image:
|
image:
|
||||||
tag: v0.9.2
|
repository: fdlk/etcd-operator
|
||||||
|
tag: latest
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
name: "vault-ui"
|
name: "vault-ui"
|
||||||
|
8
molgenis/Chart.yaml
Normal file
8
molgenis/Chart.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
appVersion: "1.0"
|
||||||
|
description: MOLGENIS - helm stack (in BETA)
|
||||||
|
name: molgenis-beta
|
||||||
|
version: 0.3.0
|
||||||
|
sources:
|
||||||
|
- https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm.git
|
||||||
|
icon: https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-helm/raw/master/molgenis/catalogIcon-molgenis.svg
|
122
molgenis/README.md
Normal file
122
molgenis/README.md
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
# MOLGENIS
|
||||||
|
This chart is used for acceptance and production use cases.
|
||||||
|
|
||||||
|
## Containers
|
||||||
|
This chart spins up a MOLGENIS instance with HTTPD. The created containers are:
|
||||||
|
|
||||||
|
- MOLGENIS
|
||||||
|
|
||||||
|
## Provisioning
|
||||||
|
You can choose from which registry you want to pull. There are 2 registries:
|
||||||
|
- https://registry.molgenis.org
|
||||||
|
- https://hub.docker.com
|
||||||
|
|
||||||
|
The registry.molgenis.org contains the bleeding edge versions (PR's and master merges). The hub.docker.com contains the released artifacts (MOLGENIS releases and release candidates).
|
||||||
|
|
||||||
|
The three properties you need to specify are:
|
||||||
|
- ```molgenis.image.repository```
|
||||||
|
- ```molgenis.image.name```
|
||||||
|
- ```molgenis.image.tag```
|
||||||
|
|
||||||
|
Besides determining which image you want to pull, you also have to set an administrator password. You can do this by specifying the following property.
|
||||||
|
- ```molgenis.adminPassword```
|
||||||
|
|
||||||
|
## Services
|
||||||
|
When you start MOLGENIS you need:
|
||||||
|
- an elasticsearch instance (5.5.6)
|
||||||
|
- an postgres instance (9.6)
|
||||||
|
|
||||||
|
You can attach additional services like:
|
||||||
|
- an opencpu instance
|
||||||
|
|
||||||
|
### Elasticsearch
|
||||||
|
You can configure elasticsearch by giving in the cluster location.
|
||||||
|
|
||||||
|
To configure the transport address you can address the node communication channel but also the native JAVA API. Which MOLGENIS uses to communicate with Elasticsearch.
|
||||||
|
From Elasticsearch version 6 and further the JAVA API is not supported anymore. At this moment you can only use Elastic instance till major version 5.
|
||||||
|
- ```molgenis.services.elasticsearch.transportAddresses: localhost:9300```
|
||||||
|
|
||||||
|
To configure the index on a Elasticsearch cluster you can specify the clusterName property.
|
||||||
|
- ```molgenis.services.elasticsearch.clusterName: molgenis```
|
||||||
|
|
||||||
|
### Postgres
|
||||||
|
You can specify the location of the postgres instance by specify the following property:
|
||||||
|
- ```molgenis.services.postgres.host: localhost```
|
||||||
|
|
||||||
|
You can specify the schema by filling out this property:
|
||||||
|
- ```molgenis.services.postgres.scheme: molgenis```
|
||||||
|
|
||||||
|
You can specify credentials for the database scheme by specifying the following properties:
|
||||||
|
- ```molgenis.services.postgres.user: molgenis```
|
||||||
|
- ```molgenis.services.postgres.password: molgenis```
|
||||||
|
|
||||||
|
To test you can use the **PostgreSQL**-helm chart of Kubernetes and specify these answers:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# answers for postgresql chart
|
||||||
|
postgresUser=molgenis
|
||||||
|
postgresPassword=molgenis
|
||||||
|
postgresDatabase=molgenis
|
||||||
|
persistence.enabled=false
|
||||||
|
```
|
||||||
|
|
||||||
|
### OpenCPU
|
||||||
|
You can specify the location of the OpenCPU cluster by specifying this property:
|
||||||
|
- ```molgenis.services.opencpu.host: localhost```
|
||||||
|
|
||||||
|
You can test OpenCPU settings using the **OpenCPU**-helm chart of MOLGENIS.
|
||||||
|
|
||||||
|
## Resources
|
||||||
|
You can specify resources by resource type. There are 2 resource types.
|
||||||
|
- memory of container
|
||||||
|
- maximum heap space JVM
|
||||||
|
|
||||||
|
Specify memory usage of container:
|
||||||
|
- ```molgenis.resources.limits.memory```
|
||||||
|
|
||||||
|
Specify memory usage for Java JVM:
|
||||||
|
- ```molgenis.javaOpts.maxHeapSpace```
|
||||||
|
|
||||||
|
Select the resources you need dependant on the customer you need to serve.
|
||||||
|
|
||||||
|
## Persistence
|
||||||
|
You can enable persistence on your MOLGENIS stack by specifying the following property.
|
||||||
|
|
||||||
|
- ```persistence.enabled```
|
||||||
|
|
||||||
|
You can also choose to retain the volume of the NFS.
|
||||||
|
- ```persistence.retain```
|
||||||
|
|
||||||
|
The size and claim name can be specified per service. There are now two services that can be persist.
|
||||||
|
|
||||||
|
- MOLGENIS
|
||||||
|
- ElasticSearch
|
||||||
|
|
||||||
|
MOLGENIS persistent properties.
|
||||||
|
- ```molgenis.persistence.claim```
|
||||||
|
- ```molgenis.persistence.size```
|
||||||
|
|
||||||
|
ElasticSearch persistent properties.
|
||||||
|
- ```elasticsearch.persistence.claim```
|
||||||
|
- ```elasticsearch.persistence.size```
|
||||||
|
|
||||||
|
|
||||||
|
### Resolve you persistent volume
|
||||||
|
You do not know which volume is attached to your MOLGENIS instance. You can resolve this by executing:
|
||||||
|
|
||||||
|
```
|
||||||
|
kubectl get pv
|
||||||
|
```
|
||||||
|
|
||||||
|
You can now view the persistent volume claims and the attached volumes.
|
||||||
|
|
||||||
|
| NAME | CAPACITY | ACCESS | MODES | RECLAIM | POLICY | STATUS | CLAIM | STORAGECLASS | REASON | AGE |
|
||||||
|
| ---- | -------- | ------ | ----- | ------- | ------ | ------ | ----- | ------------ | ------ | --- |
|
||||||
|
| pvc-45988f55-900f-11e8-a0b4-005056a51744 | 30G | RWX | | Retain | Bound | molgenis-solverd/molgenis-nfs-claim | nfs-provisioner-retain | | | 33d |
|
||||||
|
| pvc-3984723d-220f-14e8-a98a-skjhf88823kk | 30G | RWO | | Delete | Bound | molgenis-test/molgenis-nfs-claim | nfs-provisioner | | | 33d |
|
||||||
|
|
||||||
|
You see the ```molgenis-test/molgenis-nfs-claim``` is bound to the volume: ```pvc-3984723d-220f-14e8-a98a-skjhf88823kk```.
|
||||||
|
When you want to view the data in the this volume you can go to the nfs-provisioning pod and execute the shell. Go to the directory ```export``` and lookup the directory ```pvc-3984723d-220f-14e8-a98a-skjhf88823kk```.
|
||||||
|
|
||||||
|
## Firewall
|
||||||
|
Is defined at cluster level. This chart does not facilitate firewall configuration.
|
1024
molgenis/catalogIcon-molgenis.svg
Normal file
1024
molgenis/catalogIcon-molgenis.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 77 KiB |
131
molgenis/questions.yml
Normal file
131
molgenis/questions.yml
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
|
||||||
|
categories:
|
||||||
|
- MOLGENIS
|
||||||
|
questions:
|
||||||
|
- variable: ingress.hosts[0].name
|
||||||
|
label: Hostname
|
||||||
|
default: "test.molgenis.org"
|
||||||
|
description: "Hostname for your stack"
|
||||||
|
type: hostname
|
||||||
|
required: true
|
||||||
|
group: "Load Balancing"
|
||||||
|
- variable: molgenis.image.repository
|
||||||
|
label: Registry
|
||||||
|
default: "registry.hub.docker.com"
|
||||||
|
description: "Select a registry to pull from"
|
||||||
|
type: enum
|
||||||
|
options:
|
||||||
|
- "registry.hub.docker.com"
|
||||||
|
- "registry.molgenis.org"
|
||||||
|
required: true
|
||||||
|
group: "Provisioning"
|
||||||
|
- variable: molgenis.image.tag
|
||||||
|
label: Version
|
||||||
|
default: ""
|
||||||
|
description: "Select a MOLGENIS version (check the registry.molgenis.org or hub.docker.com for released tags)"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
group: "Provisioning"
|
||||||
|
- variable: molgenis.adminPassword
|
||||||
|
label: Administrator password
|
||||||
|
default: ""
|
||||||
|
description: "Enter an administrator password"
|
||||||
|
type: password
|
||||||
|
required: true
|
||||||
|
group: "Provisioning"
|
||||||
|
- variable: molgenis.services.opencpu.host
|
||||||
|
label: OpenCPU cluster
|
||||||
|
default: "localhost"
|
||||||
|
description: "Specify the OpenCPU cluster"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
group: "Services"
|
||||||
|
- variable: molgenis.services.postgres.host
|
||||||
|
label: Postgres cluster location
|
||||||
|
default: "postgresql.molgenis-postgresql.svc"
|
||||||
|
description: "Set the location of the postgres cluster"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
group: "Services"
|
||||||
|
- variable: molgenis.services.postgres.scheme
|
||||||
|
label: Database scheme
|
||||||
|
default: "molgenis"
|
||||||
|
description: "Set the database scheme"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
group: "Services"
|
||||||
|
- variable: molgenis.services.postgres.user
|
||||||
|
label: Database username
|
||||||
|
default: "molgenis"
|
||||||
|
description: "Set user of the database scheme"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
group: "Services"
|
||||||
|
- variable: molgenis.services.postgres.password
|
||||||
|
label: Database password
|
||||||
|
default: "molgenis"
|
||||||
|
description: "Set the password of the database scheme"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
group: "Services"
|
||||||
|
- variable: molgenis.resources.limits.memory
|
||||||
|
label: Container memory limit
|
||||||
|
default: 1250Mi
|
||||||
|
description: "Memory limit for this MOLGENIS container"
|
||||||
|
type: enum
|
||||||
|
options:
|
||||||
|
- "1250Mi"
|
||||||
|
- "2500Mi"
|
||||||
|
required: true
|
||||||
|
group: "Resources"
|
||||||
|
- variable: molgenis.resources.requests.memory
|
||||||
|
label: Container memory reservation
|
||||||
|
default: 1250Mi
|
||||||
|
description: "Memory reservation for this MOLGENIS container (must fit in the selected memory limit for the container)"
|
||||||
|
type: enum
|
||||||
|
options:
|
||||||
|
- "1250Mi"
|
||||||
|
- "2500Mi"
|
||||||
|
required: true
|
||||||
|
group: "Resources"
|
||||||
|
- variable: molgenis.javaOpts.maxHeapSpace
|
||||||
|
label: Maximum heap space (JVM)
|
||||||
|
default: "1g"
|
||||||
|
description: "Maximum heap space MOLGENIS container JVM. Please not this should fit in your container memory limit"
|
||||||
|
type: enum
|
||||||
|
options:
|
||||||
|
- "1g"
|
||||||
|
- "2g"
|
||||||
|
group: "Resources"
|
||||||
|
- variable: persistence.enabled
|
||||||
|
default: false
|
||||||
|
description: "Do you want to use persistence"
|
||||||
|
type: boolean
|
||||||
|
required: true
|
||||||
|
group: "Persistence"
|
||||||
|
label: Persistence
|
||||||
|
show_subquestion_if: true
|
||||||
|
subquestions:
|
||||||
|
- variable: persistence.retain
|
||||||
|
default: false
|
||||||
|
description: "Do you want to retain the persistent volume"
|
||||||
|
type: boolean
|
||||||
|
label: Retain volume
|
||||||
|
- variable: molgenis.persistence.size
|
||||||
|
default: "30Gi"
|
||||||
|
description: "Size of MOLGENIS filestore (PostgreSQL and ElasticSearch excluded)"
|
||||||
|
type: enum
|
||||||
|
options:
|
||||||
|
- "30Gi"
|
||||||
|
- "50Gi"
|
||||||
|
- "100Gi"
|
||||||
|
label: Size MOLGENIS filestore
|
||||||
|
- variable: elasticsearch.persistence.size
|
||||||
|
default: "50Gi"
|
||||||
|
description: "Size of ElasticSearch data (directory that is persist: /usr/share/elasticsearch/data)"
|
||||||
|
type: enum
|
||||||
|
options:
|
||||||
|
- "50Gi"
|
||||||
|
- "100Gi"
|
||||||
|
- "200Gi"
|
||||||
|
label: Size for ElasticSearch data
|
19
molgenis/templates/NOTES.txt
Normal file
19
molgenis/templates/NOTES.txt
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
1. Get the application URL by running these commands:
|
||||||
|
{{- if .Values.ingress.enabled }}
|
||||||
|
{{- range .Values.ingress.hosts }}
|
||||||
|
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
|
||||||
|
{{- end }}
|
||||||
|
{{- else if contains "NodePort" .Values.service.type }}
|
||||||
|
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "molgenis.fullname" . }})
|
||||||
|
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
||||||
|
echo http://$NODE_IP:$NODE_PORT
|
||||||
|
{{- else if contains "LoadBalancer" .Values.service.type }}
|
||||||
|
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||||
|
You can watch the status of by running 'kubectl get svc -w {{ template "molgenis.fullname" . }}'
|
||||||
|
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "molgenis.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||||
|
echo http://$SERVICE_IP:{{ .Values.service.port }}
|
||||||
|
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||||
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "molgenis.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||||
|
echo "Visit http://127.0.0.1:8080 to use your application"
|
||||||
|
kubectl port-forward $POD_NAME 8080:80
|
||||||
|
{{- end }}
|
32
molgenis/templates/_helpers.tpl
Normal file
32
molgenis/templates/_helpers.tpl
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "molgenis.name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
|
If release name contains chart name it will be used as a full name.
|
||||||
|
*/}}
|
||||||
|
{{- define "molgenis.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride -}}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
|
{{- if contains $name .Release.Name -}}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "molgenis.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
126
molgenis/templates/deployment.yaml
Normal file
126
molgenis/templates/deployment.yaml
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
apiVersion: apps/v1beta2
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
{{- with .Values.ingress.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml . | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
name: {{ template "molgenis.fullname" . }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "molgenis.name" . }}
|
||||||
|
chart: {{ template "molgenis.chart" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
spec:
|
||||||
|
replicas: {{ .Values.replicaCount }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: {{ template "molgenis.name" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: {{ template "molgenis.name" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: molgenis
|
||||||
|
{{- with .Values.molgenis }}
|
||||||
|
image: {{ .image.repository }}/{{ .image.name }}:{{ .image.tag }}
|
||||||
|
imagePullPolicy: {{ .image.pullPolicy }}
|
||||||
|
env:
|
||||||
|
- name: molgenis.home
|
||||||
|
value: /home/molgenis
|
||||||
|
- name: opencpu.uri.host
|
||||||
|
value: {{ .services.opencpu.host }}
|
||||||
|
- name: elasticsearch.transport.addresses
|
||||||
|
value: {{ .services.elasticsearch.transportAddresses }}
|
||||||
|
- name: elasticsearch.cluster.name
|
||||||
|
value: {{ .services.elasticsearch.clusterName }}
|
||||||
|
- name: db_uri
|
||||||
|
value: jdbc:postgresql://{{ .services.postgres.host }}/{{ .services.postgres.scheme }}
|
||||||
|
- name: db_user
|
||||||
|
value: {{ .services.postgres.user }}
|
||||||
|
- name: db_password
|
||||||
|
value: {{ .services.postgres.password }}
|
||||||
|
- name: admin.password
|
||||||
|
value: {{ .adminPassword }}
|
||||||
|
- name: CATALINA_OPTS
|
||||||
|
value: "-Xmx{{ .javaOpts.maxHeapSpace }} -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
{{- if $.Values.persistence.enabled }}
|
||||||
|
volumeMounts:
|
||||||
|
- name: molgenis-nfs
|
||||||
|
mountPath: /home/molgenis
|
||||||
|
{{- end }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 5
|
||||||
|
failureThreshold: 25
|
||||||
|
successThreshold: 1
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/v2/version
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 120
|
||||||
|
periodSeconds: 30
|
||||||
|
failureThreshold: 3
|
||||||
|
successThreshold: 1
|
||||||
|
resources:
|
||||||
|
{{ toYaml .resources | indent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
- name: elasticsearch
|
||||||
|
{{- with .Values.elasticsearch }}
|
||||||
|
image: "{{ .image.repository }}:{{ .image.tag }}"
|
||||||
|
imagePullPolicy: {{ .image.pullPolicy }}
|
||||||
|
env:
|
||||||
|
- name: cluster.name
|
||||||
|
value: {{ .clusterName }}
|
||||||
|
- name: bootstrap.memory_lock
|
||||||
|
value: "true"
|
||||||
|
- name: ES_JAVA_OPTS
|
||||||
|
value: "{{ .javaOpts }}"
|
||||||
|
- name: xpack.security.enabled
|
||||||
|
value: "false"
|
||||||
|
- name: discovery.type
|
||||||
|
value: single-node
|
||||||
|
ports:
|
||||||
|
- containerPort: 9200
|
||||||
|
- containerPort: 9300
|
||||||
|
{{- if $.Values.persistence.enabled }}
|
||||||
|
volumeMounts:
|
||||||
|
- name: elasticsearch-nfs
|
||||||
|
mountPath: /usr/share/elasticsearch/data
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
resources:
|
||||||
|
{{ toYaml .resources | indent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if .Values.persistence.enabled }}
|
||||||
|
volumes:
|
||||||
|
- name: molgenis-nfs
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.molgenis.persistence.claim }}
|
||||||
|
- name: elasticsearch-nfs
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.elasticsearch.persistence.claim }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- with .Values.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{ toYaml . | indent 8 }}
|
||||||
|
{{- end }}
|
38
molgenis/templates/ingress.yaml
Normal file
38
molgenis/templates/ingress.yaml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{{- if .Values.ingress.enabled -}}
|
||||||
|
{{- $fullName := include "molgenis.fullname" . -}}
|
||||||
|
{{- $ingressPath := .Values.ingress.path -}}
|
||||||
|
apiVersion: extensions/v1beta1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "molgenis.name" . }}
|
||||||
|
chart: {{ template "molgenis.chart" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
{{- with .Values.ingress.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml . | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
{{- if .Values.ingress.tls }}
|
||||||
|
tls:
|
||||||
|
{{- range .Values.ingress.tls }}
|
||||||
|
- hosts:
|
||||||
|
{{- range .hosts }}
|
||||||
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
secretName: {{ .secretName }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
rules:
|
||||||
|
{{- range .Values.ingress.hosts }}
|
||||||
|
- host: {{ .name }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: {{ $ingressPath }}
|
||||||
|
backend:
|
||||||
|
serviceName: {{ $fullName }}
|
||||||
|
servicePort: 8080
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
19
molgenis/templates/persistence/elasticsearchPVC.yaml
Normal file
19
molgenis/templates/persistence/elasticsearchPVC.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{{- if .Values.persistence.enabled -}}
|
||||||
|
apiVersion: extensions/v1beta1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.elasticsearch.persistence.claim }}
|
||||||
|
annotations:
|
||||||
|
{{- if .Values.persistence.retain }}
|
||||||
|
volume.beta.kubernetes.io/storage-class: "nfs-provisioner-retain"
|
||||||
|
{{- else }}
|
||||||
|
volume.beta.kubernetes.io/storage-class: "nfs-provisioner"
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.elasticsearch.persistence.size }}
|
||||||
|
{{- end }}
|
19
molgenis/templates/persistence/molgenisPVC.yaml
Normal file
19
molgenis/templates/persistence/molgenisPVC.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{{- if .Values.persistence.enabled -}}
|
||||||
|
apiVersion: extensions/v1beta1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.molgenis.persistence.claim }}
|
||||||
|
annotations:
|
||||||
|
{{- if .Values.persistence.retain }}
|
||||||
|
volume.beta.kubernetes.io/storage-class: "nfs-provisioner-retain"
|
||||||
|
{{- else }}
|
||||||
|
volume.beta.kubernetes.io/storage-class: "nfs-provisioner"
|
||||||
|
{{- end }}
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.molgenis.persistence.size }}
|
||||||
|
{{- end }}
|
17
molgenis/templates/service.yaml
Normal file
17
molgenis/templates/service.yaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ template "molgenis.fullname" . }}
|
||||||
|
labels:
|
||||||
|
app: {{ template "molgenis.name" . }}
|
||||||
|
chart: {{ template "molgenis.chart" . }}
|
||||||
|
release: {{ .Release.Name }}
|
||||||
|
heritage: {{ .Release.Service }}
|
||||||
|
spec:
|
||||||
|
type: {{ .Values.service.type }}
|
||||||
|
ports:
|
||||||
|
- name: molgenis
|
||||||
|
port: {{ .Values.service.port }}
|
||||||
|
selector:
|
||||||
|
app: {{ template "molgenis.name" . }}
|
||||||
|
release: {{ .Release.Name }}
|
77
molgenis/values.yaml
Normal file
77
molgenis/values.yaml
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
# Default values for molgenis.
|
||||||
|
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
service:
|
||||||
|
type: LoadBalancer
|
||||||
|
port: 8080
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
|
path: /
|
||||||
|
hosts:
|
||||||
|
- name: test.molgenis.org
|
||||||
|
tls: []
|
||||||
|
|
||||||
|
molgenis:
|
||||||
|
image:
|
||||||
|
repository: registry.hub.docker.com
|
||||||
|
name: molgenis/molgenis-app
|
||||||
|
tag: stable
|
||||||
|
pullPolicy: Always
|
||||||
|
adminPassword:
|
||||||
|
javaOpts:
|
||||||
|
maxHeapSpace: "1g"
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 1
|
||||||
|
memory: 1250Mi
|
||||||
|
requests:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 1250Mi
|
||||||
|
persistence:
|
||||||
|
claim: molgenis-nfs-claim
|
||||||
|
size: 30Gi
|
||||||
|
services:
|
||||||
|
opencpu:
|
||||||
|
host: localhost
|
||||||
|
elasticsearch:
|
||||||
|
transportAddresses: localhost:9300
|
||||||
|
clusterName: molgenis
|
||||||
|
postgres:
|
||||||
|
host: localhost
|
||||||
|
scheme: molgenis
|
||||||
|
user: molgenis
|
||||||
|
password: molgenis
|
||||||
|
|
||||||
|
elasticsearch:
|
||||||
|
image:
|
||||||
|
repository: docker.elastic.co/elasticsearch/elasticsearch
|
||||||
|
tag: 5.5.3
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
javaOpts: "-Xms1g -Xmx1g"
|
||||||
|
clusterName: molgenis
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 2
|
||||||
|
memory: 3Gi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 1Gi
|
||||||
|
persistence:
|
||||||
|
claim: elasticsearch-nfs-claim
|
||||||
|
size: 50Gi
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
enabled: false
|
||||||
|
retain: false
|
||||||
|
|
||||||
|
nodeSelector: {
|
||||||
|
deployPod: "true"
|
||||||
|
}
|
||||||
|
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
|
affinity: {}
|
Reference in New Issue
Block a user