-
Notifications
You must be signed in to change notification settings - Fork 442
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
Remove PV from MySQL component #1527
Remove PV from MySQL component #1527
Conversation
Add startupProbe to mySQL
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -2,8 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 | |||
kind: Kustomization | |||
|
|||
resources: | |||
- mysql.yaml | |||
- pv.yaml |
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.
Will we use the in-container FS to keep the db files?
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.
@gaocegege We mount PVC to the container FS here:
mountPath: /var/lib/mysql |
It depends on the user's StorageClass, how it will store once container is deleted.
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.
LGTM 👍
/lgtm
Related: #1479.
I removed PV from the MySQL component as we decided.
Also, I added
startupProbe
and left onlyperiodSeconds
andfailureThreshold
in the MySQL deployment as @heilerich proposed here: #1479 (comment).For the
katib-db-manager
I removedreadinessProbe
, we can add it later if we need it.Please take a look @heilerich @maanur @gaocegege @johnugeorge @yanniszark @davidspek