Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions deploy/helm/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
37 changes: 37 additions & 0 deletions deploy/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v2
name: monai
description: A Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
35 changes: 35 additions & 0 deletions deploy/helm/Gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
replicaCount: 1

image:
repository: 847264867502.dkr.ecr.eu-west-2.amazonaws.com/monai-deploy-informatics-gateway-dev
pullPolicy: IfNotPresent
tag: latest

enviromentVariables:
InformaticsGateway__messaging__publisherSettings__endpoint: "rabbitmq-monai"
InformaticsGateway__messaging__publisherSettings__username: "admin"
InformaticsGateway__messaging__publisherSettings__password: "admin"
InformaticsGateway__messaging__subscriberSettings__endpoint: "rabbitmq-monai"
InformaticsGateway__messaging__subscriberSettings__username: "admin"
InformaticsGateway__messaging__subscriberSettings__password: "admin"
InformaticsGateway__storage__settings__endpoint: "minio:9000"
InformaticsGateway__storage__settings__accessKey: "minioadmin"
InformaticsGateway__storage__settings__accessToken: "minioadmin"

service:
type: ClusterIP
port: 5000

55 changes: 55 additions & 0 deletions deploy/helm/MWM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

replicaCount: 1

image:
repository: registry.gitlab.com/answerdigital/londonai/aide/workflow-manager-images/workflow-manager
pullPolicy: IfNotPresent
tag: 2022-07-27-02

imagePullSecrets:
- name: gitlab-image-pull

enviromentVariables:
WorkflowManager__storage__settings__endpoint: "minio.monai:9000"
WorkflowManager__storage__settings__accessKey: "rootminio"
WorkflowManager__storage__settings__accessToken: "rootminio"
WorkflowManager__storage__settings__executableLocation: "mc"
WorkflowManager__messaging__publisherSettings__endpoint: "rabbitmq.monai"
WorkflowManager__messaging__subscriberSettings__endpoint: "rabbitmq.monai"
WorkflowManager__messaging__publisherSettings__username: "monaideploy"
WorkflowManager__messaging__subscriberSettings__username: "monaideploy"
WorkflowManager__messaging__subscriberSettings__password: "monaideploy"
WorkflowManager__messaging__publisherSettings__password: "monaideploy"
WorkloadManagerDatabase__ConnectionString: "mongodb://root:rootpassword@mongo-monai.monai:27017"

service:
type: ClusterIP
port: 5000

serviceAccount:
create: true
name: mwm
namespace: monai
clusterrole:
name: clusterrole-argo-secret-master
rules:
apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]




26 changes: 26 additions & 0 deletions deploy/helm/argo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
replicaCount: 1


service:
type: NodePort
port: 2746
nodeport: 30046
selector:
app: argo-server




43 changes: 43 additions & 0 deletions deploy/helm/minio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

replicaCount: 1

# image:
# repository: minio/minio
# pullPolicy: IfNotPresent
# tag: latest
# command:
# - "/bin/sh"
# - "-ce"
# - "/usr/bin/docker-entrypoint.sh minio server /data"

enviromentVariables:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
WorkflowManager__storage__settings__endpoint: "minio:9000"

service:
type: NodePort
port: 9000
nodeport: 30090
port2: 9001
nodeport2: 30091
selector:
app: minio




33 changes: 33 additions & 0 deletions deploy/helm/mongo-local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

replicaCount: 1

image:
repository: mongo
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "5.0"

enviromentVariables:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword

service:
type: NodePort
port: 27017
nodeport: 30017


affinity: {}
26 changes: 26 additions & 0 deletions deploy/helm/mongo-serviceOnly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

replicaCount: 1

service:
type: NodePort
port: 27017
nodeport: 30017
selector:
app.kubernetes.io/instance: mongo
app.kubernetes.io/name: monai


affinity: {}
43 changes: 43 additions & 0 deletions deploy/helm/mongo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

replicaCount: 1

image:
repository: mongo
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "5.0"

enviromentVariables:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: rootpassword

service:
type: ClusterIP
port: 27017

volumes:
name: mongo-storage
claimName: mongo-storage-claim
namespace: monai
storage: 5Gi
path: /var/local/mongodata # path on the host

volumeMounts:
mountPath: "/data/db"
name: mongo-storage


affinity: {}
37 changes: 37 additions & 0 deletions deploy/helm/rabbitmq.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 2022 MONAI Consortium
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

replicaCount: 1

image:
repository: rabbitmq
pullPolicy: IfNotPresent
tag: 3.8.18-management

enviromentVariables:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "admin"
RABBITMQ_DEFAULT_PASS: "admin"
RABBITMQ_DEFAULT_VHOST: "monaideploy"


service:
type: NodePort
port: 5672
nodeport: 30072
port2: 15672
nodeport2: 30672



Loading