-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
Enable --log-level=info for docker daemons for scalability jenkins jo… #22453
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,9 @@ | |
{% if pillar.get('network_provider', '').lower() == 'kubenet' %} | ||
{% set bridge_opts = "" %} | ||
{% endif -%} | ||
DOCKER_OPTS="{{grains_opts}} {{e2e_opts}} {{bridge_opts}} --iptables=false --ip-masq=false --log-level=warn" | ||
{% set log_level = pillar['log_level'] -%} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be:
or
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My fault! Copy&paste this code and forgot to remove. Sorry about this. |
||
{% if pillar['docker_test_log_level'] is defined -%} | ||
{% set log_level = pillar['docker_test_log_level'] -%} | ||
{% endif -%} | ||
DOCKER_OPTS="{{grains_opts}} {{e2e_opts}} {{bridge_opts}} --iptables=false --ip-masq=false {{log_level}}" | ||
DOCKER_NOFILE=1000000 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,6 +139,8 @@ | |
export REGISTER_MASTER="true" | ||
# Reduce logs verbosity | ||
export TEST_CLUSTER_LOG_LEVEL="--v=2" | ||
# TODO: Remove when we figure out #22166 and other docker potential slowness | ||
export DOCKER_TEST_LOG_LEVEL="--log-level=info" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we probably don't need this, since it's also specified in config-test.sh? |
||
# TODO: Remove when we figure out the reason for occasional failures #19048 | ||
export KUBELET_TEST_LOG_LEVEL="--v=4" | ||
# Increase resync period to simulate production | ||
|
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.
Why have it default to
info
instead of empty?kubernetes-e2e.yaml
;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.
kubernetes-e2e.yaml only affects jenkins project. I also want to enable this for dev's e2e tests.
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.
Generally we'd prefer that test clusters look as similar to prod clusters as possible. cc @spxtr @kubernetes/goog-testing