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

no matches for kind "Queue" in version "scheduling.volcano.sh/v1beta1" #2958

Closed
wangyiyang opened this issue Jul 10, 2023 · 1 comment
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@wangyiyang
Copy link

wangyiyang commented Jul 10, 2023

What happened:

cat <<EOF | kubectl apply -f -
apiVersion: scheduling.volcano.sh/v1beta1
kind: Queue
metadata:
  name: test
spec:
  weight: 1
  reclaimable: false
  capability:
    cpu: 2
EOF

# RESULT
error: unable to recognize "STDIN": no matches for kind "Queue" in version "scheduling.volcano.sh/v1beta1"

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Volcano Version: v1.7.0

  • Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:18:45Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:12:29Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}

  • Cloud provider or hardware configuration:

  • OS (e.g. from /etc/os-release): CentOS8

  • Kernel (e.g. uname -a): Linux master-01 4.18.0-193.28.1.el8_2.x86_64 Rename hpw.cloud keyword to volcano.sh #1 SMP Thu Oct 22 00:20:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  • Install tools: yaml

  • Others:

@wangyiyang wangyiyang added the kind/bug Categorizes issue or PR as related to a bug. label Jul 10, 2023
@wangyiyang
Copy link
Author

The issue is only observed when using kubeconfig remotely, executing kubectl on the master node works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant