diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index 2d4338cfef74a..a3398d9aa9bba 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":