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

Simplify local SSD setup #644

Merged
merged 5 commits into from
Jul 12, 2019
Merged

Simplify local SSD setup #644

merged 5 commits into from
Jul 12, 2019

Conversation

gregwebs
Copy link
Contributor

@gregwebs gregwebs commented Jul 9, 2019

The Ubuntu image has the right packages pre-installed
The same code can be ran on COS and Ubuntu.

on COS, this adds the nobarrier option, which is already on Ubuntu
remount with a UUID.
lvm has noticeable overhead, so if there is just 1 disk, don't use it.

Tests

This has been tested manually by creating several TiDB clusters with both COS and Ubuntu as the OS.

Code changes

manifests for GKE

Side effects

Breaking backward compatibility with the previous manifest.
Deploying this on a cluster that had a previous version of the manifests deployed could result in data loss. Upgrading this manifest must be done with great care.

Related changes

  • Need to update the documentation

Does this PR introduce a user-facing change?:

-->

Simplify GKE SSD setup.

The Ubuntu image has the right packages pre-installed
The same code can be ran on COS and Ubuntu.

on COS, this adds the nobarrier option, which is already on Ubuntu
remount with a UUID.
lvm has noticeable overhead, so if there is just 1 disk, don't use it.
@gregwebs gregwebs requested a review from tennix July 9, 2019 05:14
@gregwebs gregwebs changed the title Simplify local SDD setup Simplify local SSD setup Jul 9, 2019
@gregwebs
Copy link
Contributor Author

gregwebs commented Jul 9, 2019

/run-e2e-tests

1 similar comment
@gregwebs
Copy link
Contributor Author

gregwebs commented Jul 9, 2019

/run-e2e-tests

@gregwebs gregwebs merged commit d0dc13a into master Jul 12, 2019
@gregwebs gregwebs deleted the unify-ssd-setup branch July 12, 2019 17:18
weekface pushed a commit that referenced this pull request Jul 29, 2019
The same code can be ran on COS and Ubuntu now.

The Ubuntu image has the right packages pre-installed
on COS, this adds the nobarrier option, which is already on Ubuntu
remount with a UUID.
lvm has noticeable overhead, so if there is just 1 disk, don't use it.

(cherry picked from commit d0dc13a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants