首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装Service mesh Linkerd服务网格时的安装错误

安装Service mesh Linkerd服务网格时的安装错误
EN

Stack Overflow用户
提问于 2020-05-14 11:24:10
回答 1查看 377关注 0票数 0

我遵循了这里的入门说明:安装链接器的https://linkerd.io/2/getting-started/,但是在第3步我遇到了错误。详情如下。

请参阅以下命令:链接器安装\ kubectl应用-f -

请参阅以下错误:

代码语言:javascript
复制
Error: open /add-ons\grafana/Chart.yaml: file does not exist
Usage:
  linkerd install [flags]
  linkerd install [command]

Examples:
  # Default install.
  linkerd install | kubectl apply -f -

  # Install Linkerd into a non-default namespace.
  linkerd install -l linkerdtest | kubectl apply -f -

  # Installation may also be broken up into two stages by user privilege, via
  # subcommands.

Available Commands:
  config        Output Kubernetes cluster-wide resources to install Linkerd
  control-plane Output Kubernetes control plane resources to install Linkerd

有人能帮我解决这个问题吗。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-05-14 12:14:54

您最好使用Microsoft 在Azure Kubernetes服务(AKS)中安装Linkerd

以下步骤对我有效:

代码语言:javascript
复制
# Get AKS credentials
az aks get-credentials --resource-group $(resource_group_name) --name $(cluster_name)

# Download stable release
curl -sLO "https://github.com/linkerd/linkerd2/releases/download/stable-2.6.1/linkerd2-cli-stable-2.6.1-linux"

# Copy the linkerd client binary to the standard user program location in your PATH
sudo cp ./linkerd2-cli-stable-2.6.1-linux /usr/local/bin/linkerd  
sudo chmod +x /usr/local/bin/linkerd

#Check linkerd pre if pass with no issue - install Linkerd on AKS
 if linkerd check --pre; then
        linkerd install | kubectl apply -f -
    fi
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61796172

复制
相关文章

相似问题

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