scaleway / docs-content

Scaleway Documentation contents
https://www.scaleway.com/en/docs/
80 stars 224 forks source link

🐞 Documentation Bug: Kubeflow on Kubernetes Kapsule #1362

Closed Jbertan42 closed 1 year ago

Jbertan42 commented 1 year ago

What content on scaleway.com/en/docs is affected?

https://www.scaleway.com/en/docs/tutorials/kubeflow-on-kapsule/

What part(s) of the content would you like to see updated?

Hello,

Trying to deploy kubeflow on kubernetes kapsule following this documentation and it seems it's not up to date.

As i'm trying to run kfctl apply -V -f ${CONFIG_URI} it just crash:


WARN[0018] Will retry in 8 seconds.                      filename="kustomize/kustomize.go:285"
serviceaccount/application-controller-service-account unchanged
clusterrole.rbac.authorization.k8s.io/application-controller-cluster-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/application-controller-cluster-role-binding unchanged
service/application-controller-service unchanged
statefulset.apps/application-controller-stateful-set configured
WARN[0027] Encountered error applying application application:  (kubeflow.error): Code 500 with message: Apply.Run : [unable to recognize "/tmp/kout006133288": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1", unable to recognize "/tmp/kout006133288": no matches for kind "Application" in version "app.k8s.io/v1beta1"]  filename="kustomize/kustomize.go:284"
WARN[0027] Will retry in 18 seconds.                     filename="kustomize/kustomize.go:285"
serviceaccount/application-controller-service-account unchanged
clusterrole.rbac.authorization.k8s.io/application-controller-cluster-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/application-controller-cluster-role-binding unchanged
service/application-controller-service unchanged
statefulset.apps/application-controller-stateful-set configured
WARN[0046] Encountered error applying application application:  (kubeflow.error): Code 500 with message: Apply.Run : [unable to recognize "/tmp/kout546473958": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1", unable to recognize "/tmp/kout546473958": no matches for kind "Application" in version "app.k8s.io/v1beta1"]  filename="kustomize/kustomize.go:284"
WARN[0046] Will retry in 16 seconds.                     filename="kustomize/kustomize.go:285"```

### Additional context

_No response_

### Related PR(s)

_No response_
jtherin commented 1 year ago

The apiextensions.k8s.io/v1beta1 API version of CustomResourceDefinition is no longer served as of v1.22. https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122

jtherin commented 1 year ago

Looks like kfctl is not compatible with 1.22+ see https://github.com/kubeflow/kfctl/issues/500

bene2k1 commented 1 year ago

Hello @Jbertan42,

As mentioned by @jtherin, some of the tools mentioned in the tutorial are no longer available for recent Kubernetes versions. We decided to remove the tutorial from our documentation.

Benedikt