8000 GitHub - acudovs/kube-proxy-healthz: The kube-proxy-healthz is a simple health check utility designed to replace the default kube-proxy binary.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

The kube-proxy-healthz is a simple health check utility designed to replace the default kube-proxy binary.

License

Notifications You must be signed in to change notification settings

acudovs/kube-proxy-healthz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-proxy-healthz

The eBPF-based kube-proxy replacement can coexist with the original kube-proxy. eBPF handles traffic earlier in the network stack, before it reaches the netfilter layer where kube-proxy rules are applied. See the Cilium kube-proxy-hybrid-modes for more information.

The kube-proxy-healthz is a simple health check utility designed to replace the default kube-proxy binary in RKE1 (Rancher Kubernetes Engine) clusters. The kube-proxy container in RKE1 is hardcoded and cannot be disabled. If the kube-proxy container does not report health, it is restarted, and the node is marked as NotReady. This utility allows to run the RKE1 cluster without the default kube-proxy by providing a health check that mimics the behavior of the kube-proxy.

There is an issue with kube-apiserver high availability (HA) that has been addressed in the Cilium Issue #37601 and documented in kubernetes-api-server-high-availability. However, in Rancher-managed clusters, there is the nginx-proxy on every node managed by the Rancher agent. The Kubernetes API is always accessible at 127.0.0.1:6443.

Migration Steps

  1. Ensure kube-proxy replacement (e.g. Cilium) is deployed on all nodes.
  2. Build the kube-proxy-healthz binary using the provided Makefile.
  3. Deploy the kube-proxy-healthz binary to all RKE1 nodes where kube-proxy is running.
  4. Bind mount the kube-proxy-healthz binary into the kube-proxy container to replace the default binary.
    kubeproxy:
      extra_binds:
        - '/usr/local/bin/kube-proxy-healthz:/usr/local/bin/kube-proxy'
  5. Restart the nodes to ensure that the old kube-proxy iptables rules are cleared. Alternatively, use the kube-proxy --cleanup command.

See the Rancher Terraform provider rke_config.services.kubeproxy.extra_binds resource for documentation.

References

About

The kube-proxy-healthz is a simple health check utility designed to replace the default kube-proxy binary.

Topics

Resources

License

Stars

Watchers

Forks

0