Merge pull request #70525 from seunghunee/issue-69743

Reduce leaderelection's renewed lease verbosity

Kubernetes-commit: 023892af3c64075473b325fbf4fa906ad4065f00
This commit is contained in:
Kubernetes Publisher 2018-11-02 10:47:11 -07:00
commit 6054fbfc65
2 changed files with 52 additions and 52 deletions

102
Godeps/Godeps.json generated
View File

@ -412,207 +412,207 @@
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/naming", "ImportPath": "k8s.io/apimachinery/pkg/util/naming",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "de5c567eef5cb050b5476484727b074df9185088" "Rev": "0aa9751e8aaff1b6afa1ca5270d8e280878797e4"
}, },
{ {
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto", "ImportPath": "k8s.io/kube-openapi/pkg/util/proto",

View File

@ -224,7 +224,7 @@ func (le *LeaderElector) renew(ctx context.Context) {
le.maybeReportTransition() le.maybeReportTransition()
desc := le.config.Lock.Describe() desc := le.config.Lock.Describe()
if err == nil { if err == nil {
glog.V(4).Infof("successfully renewed lease %v", desc) glog.V(5).Infof("successfully renewed lease %v", desc)
return return
} }
le.config.Lock.RecordEvent("stopped leading") le.config.Lock.RecordEvent("stopped leading")