错误:找不到行进路线:stat行进路线:没有这样的文件或目录 [英] Error: could not find skywalking: stat skywalking: no such file or directory

查看:72
本文介绍了错误:找不到行进路线:stat行进路线:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照 docs 的要求,使用头盔3.2.1来安装空中漫步:

I am follow this docs to install skywalking using helm 3.2.1 :

helm repo add elastic https://helm.elastic.co
helm dep up skywalking

但是当我执行第二个命令时:

but when I execute the second command:

[miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm dep up skywalking
Error: could not find skywalking: stat skywalking: no such file or directory

然后我创建了天行者目录:

and I create skywalking directory:

[miaoyou@MeowK8SMaster1 linux-amd64]$ mkdir skywalking
[miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm dep up skywalking
Error: validation: chart.metadata is required

那么我应该怎么做才能使其正常工作?这是我正在尝试遵循的方法:

so what should I do to make it work? This is I am trying follow:

[miaoyou@MeowK8SMaster1 chart]$ helm dep up skywalking
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "incubator" chart repository
...Successfully got an update from the "riskfocus" chart repository
...Successfully got an update from the "traefik" chart repository
...Successfully got an update from the "elastic" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading elasticsearch from repo https://helm.elastic.co/
Deleting outdated charts
[miaoyou@MeowK8SMaster1 chart]$ helm install apm-skywalking skywalking -n monitoring
Error: rendered manifests contain a resource that already exists. Unable to continue with install: PodDisruptionBudget "elasticsearch-master-pdb" in namespace "monitoring" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "apm-skywalking": current value is "elasticsearch"
[miaoyou@MeowK8SMaster1 chart]$ helm install skywalking --generate-name -n monitoring
Error: rendered manifests contain a resource that already exists. Unable to continue with install: PodDisruptionBudget "elasticsearch-master-pdb" in namespace "monitoring" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "skywalking-1591790123": current value is "elasticsearch"
[miaoyou@MeowK8SMaster1 chart]$ helm install elasticsearch skywalking -n monitoring
Error: cannot re-use a name that is still in use

推荐答案

  1. 将存储库克隆到您的计算机上,

$ git clone git@github.com:apache/skywalking-kubernetes.git

  1. 转到图表目录

$ cd skywalking-kubernetes/chart

  1. 现在执行以下命令(从 chart dir),
  1. Now perform the following commands (from chart dir),

$ helm repo add elastic https://helm.elastic.co

$ helm dep up skywalking

$ helm install <release_name> skywalking -n <namespace> 

这篇关于错误:找不到行进路线:stat行进路线:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆