Repository navigation
Conversation
…stry The external_ipv6 service option starts a socat DaemonSet that used docker.io/alpine/socat:1.8.0.0. Clusters without Docker Hub egress can't pull that image, so the proxy never starts and nothing listens on the IPv6 NodePort. Use a mirror of alpine/socat:1.8.1.3 in the public KNE Artifact Registry (us-west1-docker.pkg.dev/kne-external/kne), alongside init-wait and bridge, and pre-pull it into the internal GCE VM image so the proxy starts without any network pull.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
external_ipv6service option starts ahostNetworksocat DaemonSet (v6proxy-<node>) to forward the IPv6 NodePort to the IPv4 one. Its image wasdocker.io/alpine/socat:1.8.0.0. Clusters without Docker Hub egress can't pull it, so the pod stays inImagePullBackOffand nothing listens on the IPv6 NodePort.This change:
DefaultV6ProxyImageatus-west1-docker.pkg.dev/kne-external/kne/alpine/socat:1.8.1.3. This is an unmodified mirror ofalpine/socat:1.8.1.3(same index digest,sha256:466c8a03…) in the public KNE Artifact Registry, next toinit-waitandbridge. Anyone can read it.k8s.io) pre-pull list incloudbuild/internal.pkr.hcl, so the proxy starts on internal VM images without pulling anything over the network.The
v6proxysecurity context and resource limits are unchanged: the container still runs as UID/GID 65532 with no capabilities.Testing
go test -race ./topo/node/ ./topo/passes.golangci-lint run --new-from-rev=origin/main ./topo/node/...reports 0 issues. codespell and gofmt are clean.kne-external/kne.