-
Notifications
You must be signed in to change notification settings - Fork 4
Nds adding developer docs #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
9cff552
adding helm, docs and upped package version
neildsouth fdf51a1
minor fixups to doc
neildsouth 3249eb9
tided up top pf doc
neildsouth 55caffc
adding missing licences
neildsouth 553311a
adding licence
neildsouth 3f9a19e
fix for helm deploy script
neildsouth 49bc997
fix for templates in dev
neildsouth c2ddc0d
small doc improvment around mc.exe
neildsouth 9c70ac6
improving docs
neildsouth 9238df3
fixs for helm
neildsouth a5feaca
merge in from develop
neildsouth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # 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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| 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" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| replicaCount: 1 | ||
neildsouth marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| 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 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| replicaCount: 1 | ||
neildsouth marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| image: | ||
| repository: registry.gitlab.com/answerdigital/londonai/aide/workflow-manager-images/workflow-manager | ||
| pullPolicy: IfNotPresent | ||
| tag: 2022-07-25 | ||
|
|
||
| imagePullSecrets: | ||
| - name: gitlab-image-pull | ||
|
|
||
| enviromentVariables: | ||
| WorkflowManager__storage__settings__endpoint: "minio:9000" | ||
| # WorkflowManager__messaging__publisherSettings__endpoint: "rabbitmq" | ||
| # WorkflowManager__messaging__subscriberSettings__endpoint: "rabbitmq" | ||
| WorkflowManager__messaging__publisherSettings__endpoint: "rabbit-monai" | ||
| WorkflowManager__messaging__subscriberSettings__endpoint: "rabbit-monai" | ||
| WorkloadManagerDatabase__ConnectionString: "mongodb://root:rootpassword@mongo-service-monai:27017" | ||
|
|
||
| service: | ||
| type: ClusterIP | ||
| port: 5000 | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
|
|
||
neildsouth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| replicaCount: 1 | ||
|
|
||
|
|
||
| service: | ||
| type: NodePort | ||
| port: 2746 | ||
| nodeport: 30046 | ||
| selector: | ||
| app: argo-server | ||
|
|
||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # Default values for deploy. | ||
neildsouth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # This is a YAML-formatted file. | ||
| # Declare variables to be passed into your templates. | ||
|
|
||
| replicaCount: 1 | ||
|
|
||
| image: | ||
| repository: 638262335746.dkr.ecr.eu-west-1.amazonaws.com/holiday-api | ||
| pullPolicy: IfNotPresent | ||
| tag: #{IMAGE_TAG}# | ||
|
|
||
|
|
||
| imagePullSecrets: | ||
| - name: regcred | ||
|
|
||
| nameOverride: "" | ||
| fullnameOverride: "" | ||
|
|
||
| serviceAccount: | ||
| create: false | ||
|
|
||
| service: | ||
| type: ClusterIP | ||
| port: 5000 | ||
|
|
||
|
|
||
| enviromentVariables: | ||
| ASPNETCORE_ENVIRONMENT: #{ASPENVIRONMENT}# | ||
| ASPNETCORE_URLS: "http://::5000" | ||
| MongoDbSettings__ConnectionString: "mongodb://mongo-holiday:27017" | ||
| MongoDbSettings__DatabaseName: #{MONGODB_NAME}# | ||
| Hangfire__ConnectionString: "mongodb://mongo-holiday:27017" | ||
| Hangfire__DatabaseName: #{HANGFIREDB_NAME}# | ||
|
|
||
| probes: | ||
| # enabled: true | ||
|
|
||
| ingress: | ||
| enabled: true | ||
| className: "" | ||
| annotations: {} | ||
| serviceName: #{APISERVICE_NAME}# | ||
| annotations: | ||
| kubernetes.io/ingress.class: nginx | ||
| nginx.ingress.kubernetes.io/enable-cors: "true" | ||
| hosts: | ||
| - host: #{APIHOST_NAME}# | ||
| paths: | ||
| - path: / | ||
| pathType: Prefix | ||
| tls: [] | ||
|
|
||
| autoscaling: | ||
| enabled: false | ||
|
|
||
|
|
||
| nodeSelector: {} | ||
|
|
||
| tolerations: [] | ||
|
|
||
| affinity: {} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Default values for deploy. | ||
neildsouth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # This is a YAML-formatted file. | ||
| # Declare variables to be passed into your templates. | ||
|
|
||
| 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 | ||
|
|
||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
|
|
||
neildsouth marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 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: {} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| replicaCount: 1 | ||
neildsouth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
|
|
||
| service: | ||
| type: NodePort | ||
| port: 27017 | ||
| nodeport: 30017 | ||
| selector: | ||
| app.kubernetes.io/instance: mongo | ||
| app.kubernetes.io/name: monai | ||
|
|
||
|
|
||
| affinity: {} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Default values for deploy. | ||
neildsouth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # This is a YAML-formatted file. | ||
| # Declare variables to be passed into your templates. | ||
|
|
||
| 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: {} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Default values for deploy. | ||
neildsouth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # This is a YAML-formatted file. | ||
| # Declare variables to be passed into your templates. | ||
|
|
||
| replicaCount: 1 | ||
|
|
||
| image: | ||
| repository: progress | ||
| pullPolicy: IfNotPresent | ||
| tag: latest | ||
|
|
||
| service: | ||
| type: ClusterIP | ||
| port: 80 | ||
|
|
||
| enviromentVariables: | ||
| POSTGRES_PASSWORD: mysecretpassword | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| replicaCount: 1 | ||
neildsouth marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| 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 | ||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| 1. Get the application URL by running these commands: | ||
| {{- if ((.Values.ingress).enabled) }} | ||
| {{- range $host := .Values.ingress.hosts }} | ||
| {{- range .paths }} | ||
| http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- else if contains "NodePort" .Values.service.type }} | ||
| export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "deploy.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 --namespace {{ .Release.Namespace }} svc -w {{ include "deploy.fullname" . }}' | ||
| export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "deploy.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") | ||
| 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.kubernetes.io/name={{ include "deploy.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") | ||
| export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") | ||
| echo "Visit http://127.0.0.1:8080 to use your application" | ||
| kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT | ||
| {{- end }} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.