dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

expose 30486 port failure when deploying karmada-dashboard

Open chenyanjunyjy opened this issue 3 years ago • 2 comments

I'm trying to deploy karmada-dashboard on karmada host following the README.md.

  • The karmada-dashboard pod is created and the status is running
  • The karmada-dashboard service is created with type of NodePort

When using netstat to check port info on karmada host, port 30486 is not listening. Is it caused by the limitation of kind? since there is no kube-proxy running?

Thanks.

chenyanjunyjy avatar Feb 24 '22 08:02 chenyanjunyjy

image image

We use "local-up-karmada.sh" to start karmada before deploying dashboard.

chenyanjunyjy avatar Feb 25 '22 07:02 chenyanjunyjy

The cluster deployed through kind is running in a docker container, which does not map 30486 to the host. You can modify the /home/karmada/artifacts/kindClusterConfig/karmada-host.yaml file to add port mappings like this:

kind: Cluster
apiVersion: "kind.x-k8s.io/v1alpha4"
networking:
  apiServerAddress: "{{host_ipaddress}}"
nodes:
  - role: control-plane
    extraPortMappings:
      - containerPort: 5443
        hostPort: 5443
        protocol: TCP
        listenAddress: "{{host_ipaddress}}"
      - containerPort: 30486
        hostPort: 30486
        protocol: TCP
        listenAddress: "0.0.0.0"

At the same time, add the startup parameters of ip when starting local-up-karmada.sh, for example

local-up-karmada.sh 192.168.X.X

luoMonkeyKing avatar Mar 10 '22 09:03 luoMonkeyKing

/close We are currently refactoring the dashboard, please look at the document on the readme file.

RainbowMango avatar Sep 30 '24 03:09 RainbowMango

@RainbowMango: Closing this issue.

In response to this:

/close We are currently refactoring the dashboard, please look at the document on the readme file.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

karmada-bot avatar Sep 30 '24 03:09 karmada-bot