kubernetes-client icon indicating copy to clipboard operation
kubernetes-client copied to clipboard

No adapter available for type:class com.dmai.model.common.k8s.volcano.client.impl.V1alpha1APIGroupClient

Open mafei-github opened this issue 1 year ago • 9 comments

Describe the bug

图片 No adapter available for type:class com.dmai.model.common.k8s.volcano.client.impl.V1alpha1APIGroupClient

Fabric8 Kubernetes Client version

6.13.3

Steps to reproduce

图片 No adapter available for type:class com.dmai.model.common.k8s.volcano.client.impl.V1alpha1APIGroupClient

Expected behavior

图片 No adapter available for type:class com.dmai.model.common.k8s.volcano.client.impl.V1alpha1APIGroupClient

Runtime

Kubernetes (vanilla)

Kubernetes API Server version

1.23

Environment

Windows

Fabric8 Kubernetes Client Logs

No response

Additional context

No response

mafei-github avatar Aug 14 '24 09:08 mafei-github

@smlHao Have you encountered this problem before, but I still can't solve it according to your method? Can I ask for your advice?

mafei-github avatar Aug 16 '24 06:08 mafei-github

@smlHao Have you encountered this problem before, but I still can't solve it according to your method? Can I ask for your advice?

Hi, Don`t see this error, Maybe you should keep compatibility between kubernets-client version and Valcano version

smlHao avatar Aug 16 '24 07:08 smlHao

@smlHao Please help me take a look, thank you kubernets-client version is 6.13.0 <fabric.io.version>6.13.0</fabric.io.version>

Valcano version is 1.7.0 volcanosh/vc-scheduler:v1.7.0

kubectl version v1.23.1

mafei-github avatar Aug 16 '24 08:08 mafei-github

@smlHao Please help me take a look, thank you kubernets-client version is 6.13.0 <fabric.io.version>6.13.0</fabric.io.version>

Valcano version is 1.7.0 volcanosh/vc-scheduler:v1.7.0

kubectl version v1.23.1

@smlHao Please help me take a look, thank you kubernets-client version is 6.13.0 <fabric.io.version>6.13.0</fabric.io.version>

Valcano version is 1.7.0 volcanosh/vc-scheduler:v1.7.0

kubectl version v1.23.1

kubernets-client version 6.13.0 seems to don`t implement alpha1 version , try to modify your code or vocal.yaml with beta1 version ?

image

smlHao avatar Aug 16 '24 09:08 smlHao

@smlHao But does Volcano's API resources require v1alpha1 version? 图片 I know kubernets-client version 6.13.0 seems to don`t implement alpha1 version 图片 I manually created the V1alpha1 version myself in this way, and then there was a problem No adapter available for type:class com.dmai.model.common.k8s.volcano.client.impl.V1alpha1APIGroupClient 图片

mafei-github avatar Aug 16 '24 09:08 mafei-github

@smlHao But does Volcano's API resources require v1alpha1 version? 图片 I know kubernets-client version 6.13.0 seems to don`t implement alpha1 version 图片

You can ask the Volcano community whether Volcano1.7.0 already supports beta1 version or not , if not, lowered your Volcano version , look forward to your contribution

smlHao avatar Aug 16 '24 09:08 smlHao

@smlHao But does Volcano's API resources require v1alpha1 version? 图片 I know kubernets-client version 6.13.0 seems to don`t implement alpha1 version 图片

You can ask the Volcano community whether Volcano1.7.0 already supports beta1 version or not , if not, lowered your Volcano version , look forward to your contribution

smlHao avatar Aug 16 '24 09:08 smlHao

@smlHao I saw on the Volcano official website that when Volcano v1.7.0 was released, the support for Kubernetes was upgraded to v1.25. However, I am not sure if this is the reason why Kubernetes is currently v1.23.1 here Because in k8s, it is possible to create this type of job by directly applying - f

mafei-github avatar Aug 16 '24 09:08 mafei-github

@smlHao I saw on the Volcano official website that when Volcano v1.7.0 was released, the support for Kubernetes was upgraded to v1.25. However, I am not sure if this is the reason why Kubernetes is currently v1.23.1 here Because in k8s, it is possible to create this type of job by directly applying - f

WeChat search for 'smlhao', add me as a friend, and I'll invite you to the 'volcano' WeChat group?

smlHao avatar Aug 16 '24 10:08 smlHao

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Nov 16 '24 04:11 stale[bot]

The Volcano extension was completely refactored and updated for v7.0.0 which is now available:

  • https://repo1.maven.org/maven2/io/fabric8/kubernetes-client/7.0.0/
  • https://github.com/fabric8io/kubernetes-client/releases/tag/v7.0.0

Every type should be now available as part of the extension model.

manusa avatar Dec 10 '24 05:12 manusa