kubernetes OpenFaas Arkade安装中的问题

waxmsbnn  于 12个月前  发布在  Kubernetes
关注(0)|答案(1)|浏览(113)

我尝试使用以下命令在Kubernetes上安装OpenFaas CE

arkade install openfaas

字符串
但我得到了这个错误:

Release "openfaas" does not exist. Installing it now.
Error: Unable to continue with install: CustomResourceDefinition "profiles.openfaas.com" in namespace "" exists and cannot be 
imported into the current release: invalid ownership metadata; 
label validation error: missing key "app.kubernetes.io/managed-by": must be 
set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "openfaas"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "openfaas"

Error: exit code 1, stderr: Error: Unable to continue with install: CustomResourceDefinition "profiles.openfaas.com" in namespace "" exists and 
cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "openfaas"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "openfaas"


有人知道是什么原因吗?

qzwqbdag

qzwqbdag1#

通过阅读错误消息,似乎集群中与“profiles.openfaas.com”同名的现有CRD存在问题。此外,Helm中的所有权元数据可能也不匹配,您可能需要仔细检查。检查后,您可能需要尝试重新安装并查看问题是否仍然存在。有关详细信息和故障排除指南,我附上了一份openfaas的文档。[1]
[1][https://docs.openfaas.com/deployment/troubleshooting/](https://docs.openfaas.com/deployment/troubleshooting/)的

相关问题