【问题标题】:no matches for kind "Profile" in version "kubeflow.org/v1beta1"在版本 \"kubeflow.org/v1beta1\" 中没有匹配类型 \"Profile\"
【发布时间】:2022-12-18 16:05:24
【问题描述】:

我安装了 kubeflow 并尝试在 here 之后手动创建配置文件,但得到了这个打印

error: unable to recognize "profile.yaml": no matches for kind "Profile" in version "kubeflow.org/v1beta1"

我该如何解决?

需要您宝贵的帮助。

我的资源是profile.yaml

apiVersion: kubeflow.org/v1beta1
kind: Profile
metadata:
  name: tmp_namespace   
spec:
  owner:
    kind: User
    name: example_01@gmail.com   

  resourceQuotaSpec:    
   hard:
     cpu: "2"
     memory: 2Gi
     requests.nvidia.com/gpu: "1"
     persistentvolumeclaims: "1"
     requests.storage: "5Gi"

索引中的用户信息:

- email: exam_01@gmail.com
  hash: $2a$12$lRDeywzDl4ds0oRR.erqt.b5fmNpvJb0jdZXE0rMNYdmbfseTzxNW
  userID: "example"
  username: example

当然我确实重启了dex

$ kubectl rollout restart deployment dex -n auth
$ kubectl version --client && kubeadm version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.13", GitCommit:"a43c0904d0de10f92aa3956c74489c45e6453d6e", GitTreeState:"clean", BuildDate:"2022-08-17T18:28:56Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
kubeadm version: &version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.13", GitCommit:"a43c0904d0de10f92aa3956c74489c45e6453d6e", GitTreeState:"clean", BuildDate:"2022-08-17T18:27:51Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}

【问题讨论】:

    标签: kubernetes kubeflow


    【解决方案1】:

    我找到了办法。

    如果您看到消息no matches for kind "Profile" in version "kubeflow.org/v1beta1,您可能没有完成这两个必要的安装。

    转到kubeflow/manifasts,然后按照命令安装Profiles + KFAMUser Namespace

    【讨论】:

      猜你喜欢
      • 2020-05-13
      • 1970-01-01
      • 1970-01-01
      • 2021-11-21
      • 1970-01-01
      • 1970-01-01
      • 2021-11-14
      • 2020-02-28
      • 1970-01-01
      相关资源
      最近更新 更多