-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix kubernetes cloud deployment issues #8447
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
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.
Stellar Work @yashgorana 💯
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.
looks good, just minor comments.
|
||
class ImageUtils: | ||
@staticmethod | ||
def parse_tag(tag: str) -> Tuple[Optional[str], str, str]: |
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.
NITPICK: I think we can make them as independent functions, instead of static methods.
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.
This is just a way to group similarly related functions in a namespace in this case "ImageUtils", so i get all the functions in one import. Also keeps the code a bit neater. Is it a much-needed change?
Description
Closes https://github.com/OpenMined/Heartbeat/issues/964, https://github.com/OpenMined/Heartbeat/issues/966, https://github.com/OpenMined/Heartbeat/issues/971, https://github.com/OpenMined/Heartbeat/issues/968
This change fixes PVC MultiAttach error with the following fixes:
credentials-data
volume is now a Secret that is mounted to all the worker pods. This way credentials-data will becomeReadWriteOnce
mounted only by the backend pod.worker-builds
PVC is removed and internal registry is added as a cache. Build always pushes to internal registry. Push copies it from internal to remote registry.Additionally refactored core kubernetes helper functions
Affected Dependencies
List any dependencies that are required for this change.
How has this been tested?
Checklist