简体   繁体   English

在 aks 中安装服务网格 Linkerd 服务网格时出现安装错误

[英]Installation error while installing Service mesh Linkerd service mesh in aks

I have followed the getting started instructions here: https://linkerd.io/2/getting-started/ for installing linkerd but i am facing error at step 3. The details are as follows.我已按照此处的入门说明进行操作: https://linkerd.io/2/getting-started/安装链接器,但我在第 3 步遇到错误。详细信息如下。

Please see the command: linkerd install |请看命令: linkerd install | kubectl apply -f - kubectl 应用 -f -

Please see the error below:请看下面的错误:

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

Can anyone please help me regarding this issue.谁能帮我解决这个问题。

You better work with Microsoft documentation - Install Linkerd in Azure Kubernetes Service (AKS) .您最好使用 Microsoft 文档 - 在 Azure Kubernetes 服务 (AKS) 中安装 Linkerd

The following steps worked for me:以下步骤对我有用:


# 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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM