首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在微型库贝上建立库贝流管道时应注意的问题

在微型库贝上建立库贝流管道时应注意的问题
EN

Stack Overflow用户
提问于 2021-12-20 10:11:02
回答 1查看 675关注 0票数 0

我在macos上有一台迷你车在运行。在尝试设置kubeflow管道时,我得到了以下输出:

代码语言:javascript
复制
(base) ~/ml $ export PIPELINE_VERSION=1.7.0
(base) ~/ml $ kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=$PIPELINE_VERSION"
namespace/kubeflow created
customresourcedefinition.apiextensions.k8s.io/clusterworkflowtemplates.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/cronworkflows.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workfloweventbindings.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workflows.argoproj.io unchanged
customresourcedefinition.apiextensions.k8s.io/workflowtemplates.argoproj.io unchanged
serviceaccount/kubeflow-pipelines-cache-deployer-sa created
clusterrole.rbac.authorization.k8s.io/kubeflow-pipelines-cache-deployer-clusterrole unchanged
clusterrolebinding.rbac.authorization.k8s.io/kubeflow-pipelines-cache-deployer-clusterrolebinding unchanged
unable to recognize "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.0": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.0": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.0": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

(base) ~/ml $ kubectl wait --for condition=established --timeout=60s crd/applications.app.k8s.io
Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "applications.app.k8s.io" not found
(base) ~/ml $  
(base) ~/ml $ kubectl get crd -A
NAME                                   CREATED AT
clusterworkflowtemplates.argoproj.io   2021-12-18T15:28:31Z
cronworkflows.argoproj.io              2021-12-18T15:28:31Z
workfloweventbindings.argoproj.io      2021-12-18T15:28:31Z
workflows.argoproj.io                  2021-12-18T15:28:31Z
workflowtemplates.argoproj.io          2021-12-18T15:28:31Z

具体而言,这意味着什么:

代码语言:javascript
复制
unable to recognize "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.0": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

是否是导致以下错误的根本原因:

代码语言:javascript
复制
Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "applications.app.k8s.io" not found

 (base) ~/ml $ minikube version
minikube version: v1.24.0
commit: 76b94fb3c4e8ac5062daf70d60cf03ddcc0a741b

(base) ~/ml $ kubectl api-resources --api-group=apiextensions.k8s.io -o wide
NAME                        SHORTNAMES   APIVERSION                NAMESPACED   KIND                       VERBS
customresourcedefinitions   crd,crds     apiextensions.k8s.io/v1   false        CustomResourceDefinition   [create delete deletecollection get list patch update watch]
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-12-22 14:46:22

结果表明,kubeflow管道1.7.0不适用于高于1.22的kubernetes版本。我使用kubernetes 1.21.8与minikube,没有问题安装库流管道1.7.0。

是的,这是正确的行为。

你提到:

具体而言,这意味着什么:

代码语言:javascript
复制
unable to recognize "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.0": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

这是直接连接到Kubernetes版本1.22 api更改

v1.22版本将停止为下面列出的API版本提供服务。这些都是以前不推荐的更新的、更稳定的API版本的beta API。

  • ValidatingWebhookConfigurationMutatingWebhookConfiguration API的Beta版本(MutatingWebhookConfiguration API版本)
  • beta CustomResourceDefinition API (apiextensions.k8s.io/v1beta1)
  • beta APIService API (apiregistration.k8s.io/v1beta1)
  • beta TokenReview API (authentication.k8s.io/v1beta1)
  • 贝塔API版本的SubjectAccessReviewLocalSubjectAccessReviewSelfSubjectAccessReview (API版本来自于SubjectAccessReview
  • beta CertificateSigningRequest API (certificates.k8s.io/v1beta1)
  • beta Lease API (coordination.k8s.io/v1beta1)
  • 所有beta extensions/v1beta1 API (extensions/v1beta1networking.k8s.io/v1beta1 API版本)

从1.22版本开始,就不可能使用apiextensions.k8s.io/v1beta1(此API不再可用),如果您想使用这种类型的API安装管道,则只能使用Kubernetes版本1.21。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70420241

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档