# Kube-proxy keep CrashBackOff

**URL:** https://discuss.kubernetes.io/t/kube-proxy-keep-crashbackoff/20526
**Category:** General Discussions
**Created:** [July 5, 2022, 8:33pm UTC](https://discuss.kubernetes.io/t/kube-proxy-keep-crashbackoff/20526 "2022-07-05T20:33:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Pseudow](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/pseudow/32/10389_2.png) [@Pseudow](https://discuss.kubernetes.io/u/Pseudow)
#### Post date: [July 5, 2022, 8:33pm UTC](https://discuss.kubernetes.io/t/kube-proxy-keep-crashbackoff/20526/1 "2022-07-05T20:33:22Z")

</div>

Hi my kube-proxy pod always crash every 7min here are its event:

```auto
Events:
  Type Reason Age From Message
  ---- ------ ---- ---- -------
  Normal Scheduled 42m default-scheduler Successfully assigned kube-system/kube-proxy-jxctw to altarise-third
  Normal SandboxChanged 39m (x3 over 42m) kubelet Pod sandbox changed, it will be killed and re-created.
  Normal Created 39m (x4 over 42m) kubelet Created container kube-proxy
  Normal Started 39m (x4 over 42m) kubelet Started container kube-proxy
  Normal Pulled 37m (x5 over 42m) kubelet Container image "k8s.gcr.io/kube-proxy:v1.24.2" already present on machine
  Normal Killing 16m (x9 over 42m) kubelet Stopping container kube-proxy
  Warning BackOff 2m5s (x146 over 40m) kubelet Back-off restarting failed container

```

and I dont really understand why, here are the logs:

```auto
I0705 20:25:55.847082 1 node.go:163] Successfully retrieved node IP: 10.66.66.3
I0705 20:25:55.847248 1 server_others.go:138] "Detected node IP" address="10.66.66.3"
I0705 20:25:55.847320 1 server_others.go:578] "Unknown proxy mode, assuming iptables proxy" proxyMode=""
I0705 20:25:55.889134 1 server_others.go:206] "Using iptables Proxier"
I0705 20:25:55.889207 1 server_others.go:213] "kube-proxy running in dual-stack mode" ipFamily=IPv4
I0705 20:25:55.889246 1 server_others.go:214] "Creating dualStackProxier for iptables"
I0705 20:25:55.889294 1 server_others.go:501] "Detect-local-mode set to ClusterCIDR, but no IPv6 cluster CIDR defined, , defaulting to no-op detect-local for IPv6"
I0705 20:25:55.889373 1 proxier.go:259] "Setting route_localnet=1, use nodePortAddresses to filter loopback addresses for NodePorts to skip it https://issues.k8s.io/90259"
I0705 20:25:55.889701 1 proxier.go:259] "Setting route_localnet=1, use nodePortAddresses to filter loopback addresses for NodePorts to skip it https://issues.k8s.io/90259"
I0705 20:25:55.890371 1 server.go:661] "Version info" version="v1.24.2"
I0705 20:25:55.890611 1 server.go:663] "Golang settings" GOGC="" GOMAXPROCS="" GOTRACEBACK=""
I0705 20:25:55.904923 1 conntrack.go:52] "Setting nf_conntrack_max" nf_conntrack_max=262144
I0705 20:25:55.905407 1 config.go:226] "Starting endpoint slice config controller"
I0705 20:25:55.905460 1 shared_informer.go:255] Waiting for caches to sync for endpoint slice config
I0705 20:25:55.905674 1 config.go:317] "Starting service config controller"
I0705 20:25:55.905712 1 shared_informer.go:255] Waiting for caches to sync for service config
I0705 20:25:55.905673 1 config.go:444] "Starting node config controller"
I0705 20:25:55.905853 1 shared_informer.go:255] Waiting for caches to sync for node config
I0705 20:25:56.006205 1 shared_informer.go:262] Caches are synced for service config
I0705 20:25:56.006250 1 shared_informer.go:262] Caches are synced for endpoint slice config
I0705 20:25:56.006295 1 shared_informer.go:262] Caches are synced for node config

```

---

<div class="post-metadata">

### Author: ![Pseudow](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/pseudow/32/10389_2.png) [@Pseudow](https://discuss.kubernetes.io/u/Pseudow)
#### Post date: [July 6, 2022, 9:10am UTC](https://discuss.kubernetes.io/t/kube-proxy-keep-crashbackoff/20526/2 "2022-07-06T09:10:00Z")

</div>

Im having this error message: “services have not yet been read at least once, cannot construct envvars”
