-
Notifications
You must be signed in to change notification settings - Fork 453
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
[docker] add image for setting recommended sysctls #1436
Conversation
ae75e35
to
74a4a48
Compare
Codecov Report
@@ Coverage Diff @@
## master #1436 +/- ##
========================================
+ Coverage 70.8% 70.9% +<.1%
========================================
Files 836 836
Lines 71507 71507
========================================
+ Hits 50696 50701 +5
+ Misses 17514 17511 -3
+ Partials 3297 3295 -2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1436 +/- ##
=========================================
- Coverage 70.9% 59.5% -11.4%
=========================================
Files 836 571 -265
Lines 71507 48466 -23041
=========================================
- Hits 50709 28876 -21833
+ Misses 17506 17283 -223
+ Partials 3292 2307 -985
Continue to review full report at Codecov.
|
74a4a48
to
3ba3f17
Compare
This PR provides users with a docker image and Kubernetes DaemonSet that will set the host's sysctls to our recommended settings. We try to be careful about this and recommend pinning to a docker image SHA so that the content is immutable (i.e. someone who controlled our Quay repo couldn't run arbitrary root containers on hosts that have the image).
3ba3f17
to
9e5f822
Compare
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, maybe add this to the existing Kube guide too
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
@schallert Should we add a comment somewhere that explains all the places you need to update values if you want to change the recommended defaults? Need to update constants in code, constants in documentation, and also this script now |
This PR provides users with a docker image and Kubernetes DaemonSet that
will set the host's sysctls to our recommended settings. We try to be
careful about this and recommend pinning to a docker image SHA so that
the content is immutable (i.e. someone who controlled our Quay repo
couldn't run arbitrary root containers on hosts that have the image).