【发布时间】:2020-01-14 14:31:49
【问题描述】:
描述错误
嗨,我按照这个指南测试了 githubsource。
->knative/GitHubSource
但是我收到了这个错误。
error: unable to recognize "github-source.yaml": no matches for kind "GitHubSource" in version "sources.eventing.knative.dev/v1alpha1"
复制
步骤:
- 安装 CRD
$ kubectl apply --selector knative.dev/crd-install=true \
--filename https://github.com/knative/serving/releases/download/v0.11.0/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/v0.11.0/release.yaml \
--filename https://github.com/knative/serving/releases/download/v0.11.0/monitoring.yaml
- 安装资源
$ kubectl apply --filename https://github.com/knative/serving/releases/download/v0.11.0/serving.yaml \
--filename https://github.com/knative/eventing/releases/download/v0.11.0/release.yaml \
--filename https://github.com/knative/serving/releases/download/v0.11.0/monitoring.yaml
并遵循本指南 -> knative/GitHubSource
“为 GitHub 事件创建事件源”中出现错误
Knative 发布版本
v0.11
附加上下文
根据这个article,我可以用kubectl get sources 列出所有现有的源。但我找不到任何来源。
谢谢
【问题讨论】: