-
Notifications
You must be signed in to change notification settings - Fork 2
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
Miscellaneous kubernetes deployment fixes #507
Conversation
rtuck99
commented
Sep 18, 2024
- Enable hostNetwork in helmchart in order to access instrumentation network
- Fix version extraction from folder path
- Change image name to mx-bluesky to match the release CI workflow
- Fix helmchart default log folder to not clash with non-containerised version
- Do final docker image pip install with no-deps to prevent editable dodal being clobbered
* Enable hostNetwork to helmchart in order to access instrumentation network * Fix version extraction from folder path * Change helmchart image name to mx-bluesky to match the release CI workflow * Fix helmchart default log folder to not clash with non-containerised version * Do final docker image pip install with no-deps to prevent editable dodal being clobbered
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks. Happy to merge as is with the spun off issue. Would be good to understand hostNetwork
better but not urgent.
@@ -111,3 +150,4 @@ spec: | |||
name: logs | |||
- mountPath: "/dls/{{ .Values.hyperion.beamline }}/data" | |||
name: data | |||
hostNetwork: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@callumforrester or @DiamondJoseph why do we need this to talk to EPICS but blueapi
seems fine without it?
drop: | ||
- AUDIT_WRITE | ||
- CHOWN | ||
- DAC_OVERRIDE | ||
- FOWNER | ||
- FSETID | ||
- KILL | ||
- MKNOD | ||
- NET_BIND_SERVICE | ||
- NET_RAW | ||
- SETFCAP | ||
- SETGID | ||
- SETPCAP | ||
- SETUID | ||
- SYS_CHROOT | ||
- AUDIT_CONTROL | ||
- BLOCK_SUSPEND | ||
- DAC_READ_SEARCH | ||
- IPC_LOCK | ||
- IPC_OWNER | ||
- LEASE | ||
- LINUX_IMMUTABLE | ||
- MAC_ADMIN | ||
- MAC_OVERRIDE | ||
- SYS_ADMIN | ||
- SYS_BOOT | ||
- SYS_MODULE | ||
- SYS_NICE | ||
- SYS_PACCT | ||
- SYS_MODULE | ||
- SYS_PTRACE | ||
- SYS_RESOURCE | ||
- SYS_TIME | ||
- SYS_TTY_CONFIG | ||
- SYSLOG | ||
- WAKE_ALARM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should: As discussed, this may not be necessary or it may be better to drop ALL. Can you make an issue to chase up, feel free to add other k8s tidying to that issue if you think there's some needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raised #534
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #507 +/- ##
=======================================
Coverage 77.90% 77.90%
=======================================
Files 89 89
Lines 6711 6711
=======================================
Hits 5228 5228
Misses 1483 1483
|