-
Notifications
You must be signed in to change notification settings - Fork 1
Container setup for TEM workflow + tomography/SPA bugfixes #503
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 all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8183266
Added Helm charts to create an instrument server for TEM workflow
tieneupin e511c22
Updated client secret to the TEM one
tieneupin e7bb542
Added TEM instrument server to master Helm chart
tieneupin 13526d1
Added 'rsync_url' as an attribute to 'MurfeyInstanceEnvironment' class
tieneupin 0823ea6
Get instrument name from database lookup instead of using the 'get_mi…
tieneupin 63d936d
Merged recent changes from 'main' branch
tieneupin 663a6ae
Use MachineConfig 'gain_directory_name' key to set the save path for …
tieneupin b544aee
Replaced hard-coded 'processing' with 'gain_directory_name' value fro…
tieneupin 71e4499
Stored 'gain_directory_name' as a variable to shorten file line count
tieneupin 3e87fdc
Added logs to report when the 'prepare_(eer_)_gain' functions fail
tieneupin 98f02b2
Added logic to use .mdoc files to work out the file extension to use …
tieneupin e24cd75
Added logs to track the gradual population of tilt series in the tomo…
tieneupin 62fd675
Added logic to properly handle case where workflow search turns up an…
tieneupin 834941b
Applied sentence case to logs
tieneupin 16d8a93
Optimised '_register_picked_particles_use_diameter' function
tieneupin 13f52e6
Locked Numpy to <2
tieneupin c99618e
Nack message if no workflow entry point is found
tieneupin 067c1d6
Merged recent changes from 'main' branch
tieneupin 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
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
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,4 @@ | ||
| apiVersion: v1 | ||
| name: murfey-instrument-server-tem | ||
| description: Helm chart for deploying a Murfey instrument server, which executes orders to detect, modify, and transfer files on the instrument PC, and notifies the backend server about transferred files | ||
| version: 0.16.12 |
68 changes: 68 additions & 0 deletions
68
Helm/charts/murfey-instrument-server-tem/templates/deployment.yaml
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,68 @@ | ||
| apiVersion: v1 | ||
| kind: Service | ||
| metadata: | ||
| name: {{ .Values.appName }} | ||
| namespace: {{ .Values.global.namespace }} | ||
| labels: | ||
| app: {{ .Values.appName }} | ||
| spec: | ||
| type: LoadBalancer | ||
| externalTrafficPolicy: Cluster | ||
| ports: | ||
| {{- toYaml .Values.servicePorts | nindent 2 }} | ||
| selector: | ||
| app: {{ .Values.appName }} | ||
| --- | ||
| apiVersion: apps/v1 | ||
| kind: Deployment | ||
| metadata: | ||
| name: {{ .Values.appName }} | ||
| namespace: {{ .Values.global.namespace }} | ||
| labels: | ||
| app: {{ .Values.appName }} | ||
| spec: | ||
| replicas: {{ .Values.replicas }} | ||
| selector: | ||
| matchLabels: | ||
| app: {{ .Values.appName }} | ||
| template: | ||
| metadata: | ||
| labels: | ||
| app: {{ .Values.appName }} | ||
| spec: | ||
| securityContext: | ||
| runAsUser: {{ .Values.global.runAsUser }} | ||
| runAsGroup: {{ .Values.global.runAsGroup }} | ||
| volumes: | ||
| # Mount config files from secrets | ||
| - name: murfey-client-config | ||
| secret: | ||
| secretName: {{ .Values.global.murfeyClientConfigTEMSecretName }} | ||
| items: | ||
| - key: {{ .Values.global.murfeyClientConfigTEMFileName }} | ||
| path: .murfey | ||
| # Mount data directories | ||
| {{- toYaml .Values.extraVolumes | nindent 8 }} | ||
| containers: | ||
| - name: {{ .Values.appName }} | ||
| image: {{ .Values.image }} | ||
| imagePullPolicy: Always | ||
| securityContext: | ||
| privileged: false | ||
| volumeMounts: | ||
| # Mount Murfey client config | ||
| - name: murfey-client-config | ||
| mountPath: /murfey/config/.murfey | ||
| subPath: .murfey | ||
| readOnly: false | ||
| # Mount data directories | ||
| {{- toYaml .Values.extraVolumeMounts | nindent 12 }} | ||
| env: | ||
| - name: MURFEY_CLIENT_CONFIG_HOME | ||
| value: "/tmp" | ||
| ports: | ||
| - containerPort: {{ .Values.containerPort }} | ||
| command: | ||
| {{- toYaml .Values.command | nindent 12 }} | ||
| args: | ||
| {{- toYaml .Values.args | nindent 12 }} |
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
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
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
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
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
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
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
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
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
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
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
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.