Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

[Error] errors occured when install kube-batch #657

Closed
zoux86 opened this issue Mar 22, 2019 · 10 comments · Fixed by #658
Closed

[Error] errors occured when install kube-batch #657

zoux86 opened this issue Mar 22, 2019 · 10 comments · Fixed by #658
Assignees

Comments

@zoux86
Copy link

zoux86 commented Mar 22, 2019

A error occured When i run kube-batch in my local k8s cluster followed by this guide:
https://github.com/kubernetes-sigs/kube-batch/blob/master/doc/usage/tutorial.md

when i run the command:
" helm install $GOPATH/src/github.com/kubernetes-sigs/kube-batch/deployment/kube-batch --namespace kube-system"
i meet the error:
Error: apiVersion "scheduling.incubator.k8s.io/v1alpha1" in kube-batch/templates/default.yaml is not available

i think i should use the correct apiVersion for my k8s cluster. i run these command:
image

And i modified the default.yaml with some apiVersion above. it did not work.

SomeOne else had met this problem? can someone give me some advice?
Thanks!!!

Environment:

  • Kubernetes version (use kubectl version): V1.13.4
  • Kernel (e.g. uname -a): ubuntu 16.04
  • Install tools: kubeadm
  • Others:
@k82cn
Copy link
Contributor

k82cn commented Mar 22, 2019

which version are you using? I think that's fixed by #631

@zoux86
Copy link
Author

zoux86 commented Mar 22, 2019

kube-batch v0.4.1
i used these commod:
docker pull kubesigs/kube-batch:v0.4.1
git clone --branch v0.4.1 https://github.com/kubernetes-sigs/kube-batch

@k82cn
Copy link
Contributor

k82cn commented Mar 22, 2019

ok, I think we need to cherry pick #631 :) If can not wait next release, maybe you can update deployment/kube-batch/templates/scheduling_v1alpha1_podgroup.yaml according to the PR .

@zoux86
Copy link
Author

zoux86 commented Mar 23, 2019

@k82cn i checked the deployment/kube-batch/templates/scheduling_v1alpha1_podgroup.yaml, and the queue.yam。 The file already contains the contents (crd-install).
image

@k82cn
Copy link
Contributor

k82cn commented Mar 23, 2019

@asifdxtreme , would you help to check that?

@zoux86
Copy link
Author

zoux86 commented Mar 23, 2019

@k82cn
I successed install kube-batch v0.2.0 in my local k8s cluster. But The same error occured when i install the v0.4.
image
image

Environment:
Kubernetes version (use kubectl version): V1.8.7
Kernel (e.g. uname -a): ubuntu 16.04
Install tools: kubeadm
helm: 2.9.0
kube-batch V0.2.0 : success
kube-batch V0.4: fail

@hex108
Copy link
Contributor

hex108 commented Mar 23, 2019

hi @zoux86 , I just tried it and it succeeded. There are some bugs for helm 2.9.0 to support crd-install , the latest version of helm(my version is helm 2.13.0) should work. :) Could you please try it?

@hex108
Copy link
Contributor

hex108 commented Mar 23, 2019

/assign

@k82cn
Copy link
Contributor

k82cn commented Mar 24, 2019

I successed install kube-batch v0.2.0 in my local k8s cluster.

We did not have default queue to install for 0.2 , so no such error :)

@zoux86
Copy link
Author

zoux86 commented Mar 24, 2019

@k82cn @hex108 Thanks, i have successed in installing the kube-batch:v0.4.1 with the helm 2.13.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants