首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:找不到skywalking: skywalking:没有这样的文件或目录

错误:找不到skywalking: skywalking:没有这样的文件或目录
EN

Stack Overflow用户
提问于 2020-06-08 11:42:24
回答 1查看 1.2K关注 0票数 0

我按照这个文档使用helm3.2.1安装了天空行走:

代码语言:javascript
复制
helm repo add elastic https://helm.elastic.co
helm dep up skywalking

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

代码语言:javascript
复制
[miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm dep up skywalking
Error: could not find skywalking: stat skywalking: no such file or directory

我创建了skywalking目录:

代码语言:javascript
复制
[miaoyou@MeowK8SMaster1 linux-amd64]$ mkdir skywalking
[miaoyou@MeowK8SMaster1 linux-amd64]$ ./helm dep up skywalking
Error: validation: chart.metadata is required

那我该怎么做才能让它起作用呢?这是我试着遵循的:

代码语言:javascript
复制
[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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-06-08 12:06:04

  1. 把储存库克隆到你的机器上
代码语言:javascript
复制
$ git clone git@github.com:apache/skywalking-kubernetes.git
  1. 转到Chart目录,
代码语言:javascript
复制
$ cd skywalking-kubernetes/chart
  1. 现在执行以下命令(来自chart dir),
代码语言:javascript
复制
$ helm repo add elastic https://helm.elastic.co

$ helm dep up skywalking

$ helm install <release_name> skywalking -n <namespace> 
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62261285

复制
相关文章

相似问题

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