diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index 4363f0b3b1af7..62c772be57ae3 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -405,7 +405,7 @@ func NewMainKubelet( imageBackOff, serializeImagePulls, enableCustomMetrics, - hairpinMode == componentconfig.HairpinVeth, + klet.hairpinMode == componentconfig.HairpinVeth, containerRuntimeOptions..., ) case "rkt":