fabric8io / kubernetes-client

Java client for Kubernetes & OpenShift
http://fabric8.io
Apache License 2.0
3.39k stars 1.46k forks source link

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

Open mafei-github opened 4 weeks ago

mafei-github commented 4 weeks ago

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 commented 3 weeks ago

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

smlHao commented 3 weeks ago

@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

mafei-github commented 3 weeks ago

@smlHao Please help me take a look, thank you kubernets-client version is 6.13.0

6.13.0 Valcano version is 1.7.0 volcanosh/vc-scheduler:v1.7.0 kubectl version v1.23.1
smlHao commented 3 weeks ago

@smlHao Please help me take a look, thank you kubernets-client version is 6.13.0 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 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

mafei-github commented 3 weeks ago

@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 图片

smlHao commented 3 weeks ago

@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 commented 3 weeks ago

@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

mafei-github commented 3 weeks ago

@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

smlHao commented 3 weeks ago

@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?