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

yurthub can not running successfully when cert-mgr-mode set to "kubelet" #348

Closed
lclxg opened this issue Jun 10, 2021 · 3 comments · Fixed by #359
Closed

yurthub can not running successfully when cert-mgr-mode set to "kubelet" #348

lclxg opened this issue Jun 10, 2021 · 3 comments · Fixed by #359
Labels
kind/bug kind/bug kind/question kind/question

Comments

@lclxg
Copy link

lclxg commented Jun 10, 2021

the value of "cert-mgr-node" is hubslef in defalut, I want to test kubelet mode , so modify the yurhub.yml and add environment variable cert-mgr-node=kubelet,but the yurthub pod can not running with the error “panic: runtime error: invalid memory address or nil pointer dereference”

What you expected to happen: the yurthub running correctly with kubelet cert-mgr-mode

How to reproduce it (as minimally and precisely as possible):modify the yurhub.yml and add environment variable cert-mgr-node=kubelet

Anything else we need to know?:

Environment:

  • OpenYurt version: 0.4
  • Kubernetes version (use kubectl version): 1.20
  • OS (e.g: cat /etc/os-release): centos 8.3
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

others
/kind question

@lclxg lclxg added the kind/question kind/question label Jun 10, 2021
@rambohe-ch
Copy link
Member

@lclxg Thank you for filing issue.
Would you upload the detail log of yurthub?

@qclc
Copy link
Member

qclc commented Jun 11, 2021

@lclxg Thanks for reporting the bug. This error occurred in the process of using kubelet.conf to obtain *rest.Config, I will fix it.

@qclc
Copy link
Member

qclc commented Jun 11, 2021

/kind bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug kind/bug kind/question kind/question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants