Kubeflow on mac m1



我正在尝试在mac m1上安装Kubeflow。

  1. 我有一个从Docker Desktop运行的单节点Kubernetes集群。版本为V1.25.0。kubectl get-nodes返回单个节点。

  2. 我正在尝试用kfctl 安装Kubeflow

kfctl版本提供kfctl v1.2.0-0-gbc038f9

  1. 执行命令时kfctl apply -V -f https://raw.githubusercontent.com/kubeflow/manifests/v1.2-branch/kfdef/kfctl_k8s_istio.v1.2.0.yaml

我得到以下错误

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[0012] Encountered error applying application application:  (kubeflow.error): Code 500 with message: Apply.Run : [unable to recognize "/tmp/kout706984614": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1", unable to recognize "/tmp/kout706984614": no matches for kind "Application" in version "app.k8s.io/v1beta1"]  filename="kustomize/kustomize.go:284"
WARN[0012] Will retry in 4 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[0018] Encountered error applying application application:  (kubeflow.error): Code 500 with message: Apply.Run : [unable to recognize "/tmp/kout783197161": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1", unable to recognize "/tmp/kout783197161": no matches for kind "Application" in version "app.k8s.io/v1beta1"]  filename="kustomize/kustomize.go:284"
WARN[0018] Will retry in 6 seconds.                      filename="kustomize/kustomize.go:285"

看起来有些版本不匹配,知道K8、Kfctl和YAML文件之间的正确版本组合应该是什么吗?

我无法在M1上设置此项,因为不支持64位VM。作为一个变通方案,我使用了AWS市场中托管的Arrkito的MiniKF

https://aws.amazon.com/marketplace/pp/prodview-7shm7yqkubjhg?sr=0-1&ref_=比格犬&applicationId=AWSMPContessa

这将在单个EC2实例上设置Kubeflow。

最新更新