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

Ovn-central or kube-ovn-controller pods that are not in the running state need to be filtered, when using kubectl ko #2650

Closed
geniusxiong opened this issue Apr 14, 2023 · 0 comments · Fixed by #2676
Assignees
Labels
bug Something isn't working ko

Comments

@geniusxiong
Copy link

Expected Behavior

kubectl ko commad can be used normally, for example, "kubectl ko nbctl show" can display switches and routers

Actual Behavior

kubeclt ko commad returns "error:connot exec into a container in p completed pod; current phase is Failed"

Steps to Reproduce the Problem

1.ovn-central or kube-ovn-controller state is NodeAffinity.
图片
图片

  1. execute a command "kubectl ko nbctl show", returns error.
    图片

  2. after deleting these wrong pods, the display is normal.
    图片

Additional Info

  • Kubernetes version:

    Output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.6+k3s1", GitCommit:"df033fa248bc2c9f636e4c0ff2b782cb8edbbf10", GitTreeState:"clean", BuildDate:"2021-11-04T00:25:14Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}


- kube-ovn version:

1.11.0


- operation-system/kernel version:

**Output of `awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release`:**
**Output of `uname -r`:**

CentOS Linux 7 (Core)


<!-- Any other additional information -->
@oilbeater oilbeater added the bug Something isn't working label Apr 17, 2023
@oilbeater oilbeater added wontfix This will not be worked on ko bug Something isn't working and removed bug Something isn't working wontfix This will not be worked on labels Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ko
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants