[英]no kind “APIService” is registered error when running `linkerd upgrade --from-manifests`
When running linkerd upgrade --from-manifests
the following error occurs:运行linkerd upgrade --from-manifests
时出现以下错误:
linkerd upgrade --from-manifests install.yaml > install-new.yaml
× Failed to parse Kubernetes objects from manifest install.yaml: no kind "APIService" is registered for version "apiregistration.k8s.io/v1" in scheme "pkg/runtime/scheme.go:101"
This is a known issue with a workaround.这是一个解决方法的已知问题。
The workaround is to export the secret/linkerd-identity-issuer
and configmap/linkerd-config
resources to a separate manifest file, then use the generated file as an argument to linkerd upgrade --from-manifests
:解决方法是将secret/linkerd-identity-issuer
和configmap/linkerd-config
资源导出到单独的清单文件,然后使用生成的文件作为linkerd upgrade --from-manifests
的参数:
kubectl -n linkerd get \
secret/linkerd-identity-issuer \
configmap/linkerd-config \
-oyaml > linkerd-manifests.yaml
then:然后:
linkerd upgrade --from-manifests linkerd-manifests.yaml
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.