Merge pull request #86583 from libnux/change_random_fully_log_level

Change log level to 3 when --random-fully is not supported
This commit is contained in:
Kubernetes Prow Robot 2019-12-27 19:47:39 -08:00 committed by GitHub
commit 8bf6504661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -869,7 +869,7 @@ func (proxier *Proxier) syncProxyRules() {
masqRule = append(masqRule, "--random-fully")
klog.V(3).Info("Using `--random-fully` in the MASQUERADE rule for iptables")
} else {
klog.V(2).Info("Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of iptables does not support it")
klog.V(3).Info("Not using `--random-fully` in the MASQUERADE rule for iptables because the local version of iptables does not support it")
}
writeLine(proxier.natRules, masqRule...)