Skip to content

Install karmada on kind cluster fails for macOS #6346

Description

@tomwang57

What happened:
Installing karmada on kind cluster fails for macOS following the doc:
https://karmada.io/docs/installation/#install-karmada-in-kind-cluster

error log:

I0501 10:44:10.581598   72936 deploy.go:302] kubeconfig file: /Users/57block/.kube/host.config, kubernetes: https://127.0.0.1:59323
I0501 10:44:10.622921   72936 deploy.go:322] karmada apiserver ip: [172.19.0.2]
I0501 10:44:11.631291   72936 cert.go:254] Generate ca certificate success.
I0501 10:44:12.138753   72936 cert.go:254] Generate karmada certificate success.
I0501 10:44:12.523476   72936 cert.go:254] Generate apiserver certificate success.
I0501 10:44:12.701436   72936 cert.go:254] Generate front-proxy-ca certificate success.
I0501 10:44:13.522632   72936 cert.go:254] Generate front-proxy-client certificate success.
I0501 10:44:14.144712   72936 cert.go:254] Generate etcd-ca certificate success.
I0501 10:44:14.649926   72936 cert.go:254] Generate etcd-server certificate success.
I0501 10:44:14.983772   72936 cert.go:254] Generate etcd-client certificate success.
I0501 10:44:14.984077   72936 deploy.go:425] download crds file:https://github.com/karmada-io/karmada/releases/download/v1.13.1/crds.tar.gz
Downloading...[ 100.00% ]
Download complete.
I0501 10:44:16.541725   72936 deploy.go:678] Create karmada kubeconfig success.
I0501 10:44:16.551333   72936 idempotency.go:272] Namespace karmada-system has been created or updated.
I0501 10:44:17.152047   72936 idempotency.go:296] Service karmada-system/etcd has been created or updated.
I0501 10:44:17.152096   72936 deploy.go:508] Create etcd StatefulSets
I0501 10:45:29.174269   72936 deploy.go:517] Create karmada ApiServer Deployment
I0501 10:45:29.184034   72936 idempotency.go:296] Service karmada-system/karmada-apiserver has been created or updated.
I0501 10:45:55.200809   72936 deploy.go:529] Create karmada aggregated apiserver Deployment
I0501 10:45:55.221521   72936 idempotency.go:296] Service karmada-system/karmada-aggregated-apiserver has been created or updated.
F0501 10:46:39.307999   72936 deploy.go:74] unable to create Namespace: Post "https://172.19.0.2:32443/api/v1/namespaces": dial tcp 172.19.0.2:32443: connect: no route to host

What you expected to happen:
Installing Karmada in Kind cluster succeeds.

How to reproduce it (as minimally and precisely as possible):
Exactly the same instruction as the above doc

Anything else we need to know?:

Environment:

  • Karmada version:
  • kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
    kubectl karmada version: version.Info{GitVersion:"v1.13.1", GitCommit:"7c4af1bc914f4998893ce3e5b69baf7dc619803b", GitTreeState:"clean", BuildDate:"2025-03-29T03:27:17Z", GoVersion:"go1.22.12", Compiler:"gc", Platform:"darwin/arm64"}
  • others
    macOS/docker destop

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions