Skip to content

IPV6 bug from using deprecated kubernetes client-node library #99

@gattytto

Description

@gattytto

Checks

Kubeflow Version

all

Kubeflow Platform

manifests

Kubernetes Distribution

on premises pure ipv6 calico+cri-o

Kubernetes Version

Client Version: v1.30.13
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.31.2

Description

according to https://github.com/kubernetes-client/javascript/blob/release-1.x/FETCH_MIGRATION.md kubernetes client-node library has switched out from request module.
Current version of centraldashboard uses a deprecated version of kubernetes/client-node module which fails to resolve a host address in ipv6 format.
This results in central dashboard landing breaking

Image

temprary workaround by editing the centraldashboard deployment:

    spec:
      containers:
      - env:
        - name: KUBERNETES_SERVICE_HOST
          value: kubernetes.default
        - name: KUBERNETES_PORT_443_TCP_ADDR
          value: kubernetes.default

logs before the workaround:

Unable to fetch ConfigMap: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: 1101. is not in the cert's altnames: DNS:kubernetes, DNS:kubernetes.default, DNS:kubernetes.default.svc, DNS:kubernetes.default.svc.cluster.local, DNS:localhost, IP Address:1101:300:1:2:0:0:0:1, IP Address:2001:470:1B1E:C000:216:3EFF:FE45:4D4, IP Address:2001:470:1B1E:C000:0:0:0:1, IP Address:0:0:0:0:0:0:0:1, IP Address:1100:200:0:0:0:0:0:1, IP Address:1101:300:1:2:0:0:0:A

Proposed solution: I don't know enough about nodejs but a start would be to upgrade the client-node reference in all packages (this may affect pipelines and other deployments).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions