Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Added an option to Skip IOPS verification in ETCD #1828

Conversation

zonzamas
Copy link
Contributor

When provisioning ETCDs with EBS volumes and provisioned IOPS
the default check will wait for a full monitorization of the EBS
volume. This actually checks two things, io-enabled and io-performance
(See
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html)

The io-performance checks that the EBS volume is actually able to deliver
the provisioned IOPS. Since it is based on cloudwatch it is very slow
and usually takes more than 5m to be passed. The other check, io-enabled, is usually quite fast.

Since I have to constantly create and destroy clusters (sometimes with 3
or more ETCD nodes) I can save more than 15m per cluster skiping the io-performance verification and trusting io-enabled.

When provisioning ETCDs with EBS volumes and provisioned IOPS
the default check will wait for a full monitorization of the EBS
volume. This actually checks two things, io-enabled and io-performance
(See
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-status.html)

The io-performance checks that the EBS volume is actually able to deliver
the provisioned IOPS. Since it is based on cloudwatch it is very slow
and usually takes more than 5m to be passed.

Since I have to constantly create and destroy clusters (sometimes with 3
or more ETCD nodes) I can save more than 15m per cluster with this flag
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 28, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign c-knowles
You can assign the PR to them by writing /assign @c-knowles in a comment when ready.

The full list of commands accepted by this bot can be found 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

@codecov-io
Copy link

Codecov Report

Merging #1828 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1828      +/-   ##
==========================================
- Coverage   24.59%   24.58%   -0.01%     
==========================================
  Files          98       98              
  Lines        5071     5072       +1     
==========================================
  Hits         1247     1247              
- Misses       3684     3685       +1     
  Partials      140      140
Impacted Files Coverage Δ
pkg/api/types.go 0% <ø> (ø) ⬆️
pkg/api/cluster.go 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6e6901...25e2901. Read the comment docs.

Copy link
Contributor

@davidmccormick davidmccormick left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 13, 2020
@davidmccormick
Copy link
Contributor

/lgtm

@davidmccormick davidmccormick merged commit c0c702c into kubernetes-retired:master Feb 13, 2020
@davidmccormick davidmccormick added this to the v0.16.0 milestone Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants