Repository navigation
Optionally enforce that $ETCD_DATA_DIR is on tmpfs - #18161
openshift-merge-robot merged 1 commit into
Conversation
5f6d59a to
6ad9716
Compare
|
I didn't look, I assume your other PR set OS_TMPFS_REQUIRED in our CI jobs? |
|
@bparees I haven't set it yet, merging this will give us warning messages to help debug what is going on, then in a PR whoever is making sure the mount happens correctly can set the var themselves in the job, once that merges and we are in stable state we can add it to the CI env for all jobs |
6ad9716 to
3374c66
Compare
|
@stevekuznetsov makes sense. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, deads2k, stevekuznetsov The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
hack/test-cmd.sh: line 7: ETCD_DATA_DIR: unbound variable |
|
yuck |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@stevekuznetsov still that |
In AWS EC2, we must use `tmpfs` instead of the default EBS volumes for etcd data, or long fsyncs can kill our server. When `$OS_TMPFS_REQUIRED` is set, we can be stringent about this check but otherwise we will default to being permissive. Signed-off-by: Steve Kuznetsov <[email protected]>
3374c66 to
c2d03c8
Compare
|
Forgot to push the commit up that fixed that issue... |
|
/retest |
|
/retest |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
Automatic merge from submit-queue. |
In AWS EC2, we must use
tmpfsinstead of the default EBS volumes foretcd data, or long fsyncs can kill our server. When
$OS_TMPFS_REQUIREDis set, we can be stringent about this check but otherwise we will
default to being permissive.
Signed-off-by: Steve Kuznetsov [email protected]
/cc @deads2k @bparees @smarterclayton
Supersedes #18160