Skip to content
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

Merged

Conversation

andreyvelich
Copy link
Member

Related: #1479.

I removed PV from the MySQL component as we decided.
Also, I added startupProbe and left only periodSeconds and failureThreshold in the MySQL deployment as @heilerich proposed here: #1479 (comment).

For the katib-db-manager I removed readinessProbe, we can add it later if we need it.

Please take a look @heilerich @maanur @gaocegege @johnugeorge @yanniszark @davidspek

Add startupProbe to mySQL
@google-oss-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -2,8 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- mysql.yaml
- pv.yaml
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

LGTM 👍
/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants