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

List pods with "kubectl-karmada get pods --kubeconfig /etc/karmada/karmada-apiserver.config" failed #4926

Open
zhucan opened this issue May 10, 2024 · 2 comments
Labels
kind/question Indicates an issue that is a support question.

Comments

@zhucan
Copy link

zhucan commented May 10, 2024

Please provide an in-depth description of the question you have:

  • register cluster with "Push mode" successfully
kubectl --kubeconfig /etc/karmada/karmada-apiserver.config get clusters
NAME      VERSION   MODE   READY   AGE
member1   v1.22.7   Push   True    84m
  • list pods failed with
kubectl-karmada get pods --kubeconfig /etc/karmada/karmada-apiserver.config
error: cluster(member1) is inaccessible, please check authorization or network
  • logs of karmada-apiserver
    v1alpha1.cluster.karmada.io failed with: failing or missing response from https://karmada-aggregated-apiserver.karmada-system.svc:443/apis/cluster.karmada.io/v1alpha1: Get "https://karmada-aggregated-apiserver.karmada-system.svc:443/apis/cluster.karmada.io/v1alpha1": dial tcp: lookup karmada-aggregated-apiserver.karmada-system.svc on 10.96.0.10:53: no such host

dns resolution failed?but cluster register successfully, why?
What do you think about this question?:

Environment:

  • Karmada version: v1.9.1
  • Kubernetes version: v1.22.7
  • Others:
@zhucan zhucan added the kind/question Indicates an issue that is a support question. label May 10, 2024
@liangyuanpeng
Copy link
Contributor

liangyuanpeng commented May 11, 2024

what is your install karmada tools, helm/karmadactl/operator?

it should using the nodePort and you can access it if you deploy the kramda with karmadactl.

@zhucan
Copy link
Author

zhucan commented May 13, 2024

use karmadactll, and how to use nodePort when init karmada?

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