How to use IPv6 for ip space for cubernets?

I work for a company where almost all private ipv4 spaces are already in use, so using 10.254.0.0/16 for a service address space is not a starter. I cut out / 64 ipv6 space that I can use, but I can't get it to work.

Here is my apiserver configuration:

# The address on the local server to listen to.
KUBE_API_ADDRESS="--address=::"

# The port on the local server to listen on.
KUBE_API_PORT="--port=8080"

# Port kubelets listen on
KUBELET_PORT="--kubelet-port=10250"

# Address range to use for services
# KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=10.254.0.0/16"
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range=fc00:dead:beef:cafe::/64"

# Add your own!
KUBE_API_ARGS=""

But when I try to start kube-apiserver.service, I get the error "invalid argument". Can I use IPv6 for kubernetes?

+4
source share
2 answers

, IPv6 . , , IPv6, - Google, Google Compute Engine (, , Google Container Engine) IPv6, Google IPv6. , AWS ( AWS IPv6), RedHat, .

PR, , (Google) - IPv6. , , , , Kubernetes .

+3

Source: https://habr.com/ru/post/1652649/


All Articles