[BUG] Helm charts do not set the ipFamilies attribute of Services in dual-stack clusters with IPv6 as their default address family #7019
Labels
kind/bug
require/backport
Require backport. Only used when the specific versions to backport have not been definied.
require/qa-review-coverage
Require QA to review coverage
stale
Description
Helm charts do not set the
ipFamilies
attribute for thelonghorn-frontend
service. Thelonghorn-ui
does not support IPv6. For dual-stack clusters that have IPv6 as their primary family, theipFamilies
for thelonghorn-frontend
ends up being automatically set to["IPv6"]
, thus making the Longhorn UI inaccessible.To Reproduce
Create a K8S cluster with an IPv6 range as the first first value for
kube-apiserver
's--service-cluster-ip-range
option.Install Longhorn with the Helm charts.
Observe that the service automatically gets
ipFamilies
set to["IPv6"]
(kubectl get -o yaml -n longhorn-system service/longhorn-frontend
).Try to access the UI via
kubectl proxy
athttp://localhost:8001/api/v1/namespaces/longhorn-system/services/longhorn-frontend:http/proxy/
.Get an error that looks like this:
Expected behavior
The
longhorn-frontend
service have itsipFamilies
attribute "manually" set to["IPv4"]
(until #2259 is solved) by the Helm charts and is thus accessible.Support bundle for troubleshooting
N/A
Environment
Additional context
The text was updated successfully, but these errors were encountered: