Version 1.14. This version is no longer supported. For information about how to upgrade to version 1.15, see Upgrading Anthos on bare metal in the 1.15 documentation. For more information about supported and unsupported versions, see the Version history page in the latest documentation.
This document shows how to create a cluster that does not use kube-proxy.
kube-proxy is a controller that runs on each worker node in a cluster. It
watches Kubernetes Service objects, and creates
iptables
rules to forward packets that are sent to Service addresses. An alternative to
using kube-proxy and iptables for this purpose is to use Dataplane V2 in
kube-proxy-replacement mode. This allows for the removal of kube-proxy from
the cluster.
Supported operating systems
To create a cluster that does not use kube-proxy, use one of the supported
Red Hat Enterprise Linux
operating systems. Clusters that use Ubuntu do not support this feature.
Advantages of removing kube-proxy
Avoid the resource consumption required for maintaining a large set of
iptables rules.
Improve performance. Creating iptables rules is time consuming, especially
for large clusters.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-17 UTC."],[[["This feature allows the creation of a cluster without `kube-proxy`, using Dataplane V2 as a replacement for managing network traffic."],["Removing `kube-proxy` reduces resource consumption and improves performance by eliminating the need for managing extensive iptables rules."],["Only Red Hat Enterprise Linux operating systems are supported for creating a cluster without `kube-proxy`; Ubuntu is not supported for this feature."],["Enabling this feature is irreversible, once a cluster is created without `kube-proxy`, it cannot be added later."],["To create a cluster without `kube-proxy`, include the annotation `preview.baremetal.cluster.gke.io/kube-proxy-free: \"enable\"` in your cluster configuration file."]]],[]]