k8s.io/klog/v2.InitFlags
third-partyThe 5371st most-called third-party function by production calls. Called 207 times across 43 modules; 111 of those run outside tests and generated code.
No change in production calls since 2026-W37.
- prod calls
- 111
- non-test, non-generated
- all calls
- 207
- total callsites
- modules
- 43
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 46%
- 96 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into InitFlags from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 71 64%
- KEDA 3 3%
- Argo 2 2%
- containerd 2 2%
- Istio 2 2%
where it's called
Callsites in the wild
12 representative callsites of 207, prioritizing in-loop and non-test usage. We link to source, never display it.
-
kubernetes/kubernetes @master
staging/src/k8s.io/apiserver/pkg/storage/etcd3/block_logger_test.go:88 ↗
in loop test -
k8s.io/apiserver @v0.37.0
pkg/storage/etcd3/block_logger_test.go:88
in loop test -
klog/v2 @v2.140.0
stderr_threshold_test.go:340
in loop test -
k8s.io/client-go @v0.37.0
transport/round_trippers_test.go:619
in loop test - in loop test
- in loop test
- in loop test
- in loop test
-
k8s.io/client-go @v0.37.0
rest/request_test.go:4210
in loop test -
argoproj/pkg @v0.13.6
-
-
top callers
The modules that reach for it
The modules that call InitFlags most in this snapshot.
- github.com/kubernetes/kubernetes5527%
- k8s.io/kubernetes178%
- k8s.io/klog/v2157%
- k8s.io/code-generator115%
- github.com/google/certificate-transparency-go105%
siblings
More from k8s.io/klog/v2
The other most-called functions in this package. See all →