Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

SUBMARINE-1025. Use minio client in init container to create bucket #750

Closed
wants to merge 2 commits into from

Conversation

jeff-901
Copy link
Contributor

What is this PR for?

Migrate the minio logic to init container for submarine and mlflow pod. If the init container fails, let it restart.

What type of PR is it?

Bug Fix

Todos

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-1025

How should this be tested?

Original e2e test.

Screenshots (if appropriate)

Questions:

  • Do the license files need updating? No
  • Are there breaking changes for older versions? No
  • Does this need new documentation? No

@jeff-901
Copy link
Contributor Author

@KUAN-HSUN-LI @pingsutw Please helm me review the code, thanks.

@KUAN-HSUN-LI
Copy link
Member

The init container will always restart until minio pod is running. If minio pod fails, both submarine and mlflow pods will still restart the init container. Is this a serious problem? @pingsutw

Copy link
Member

@pingsutw pingsutw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks.

@asfgit asfgit closed this in 33201e6 Sep 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants