Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose 30486 port failure when deploying karmada-dashboard #14

Open
chenyanjunyjy opened this issue Feb 24, 2022 · 2 comments
Open

expose 30486 port failure when deploying karmada-dashboard #14

chenyanjunyjy opened this issue Feb 24, 2022 · 2 comments
Labels
kind/question Indicates an issue that is a support question.

Comments

@chenyanjunyjy
Copy link

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 chenyanjunyjy added the kind/question Indicates an issue that is a support question. label Feb 24, 2022
@chenyanjunyjy
Copy link
Author

chenyanjunyjy commented Feb 25, 2022

image
image

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

@luoMonkeyKing
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

2 participants