在aks中安装Service mesh Linkerd服务网格时安装错误

问题描述 投票:0回答:1

我已按照此处的入门说明进行操作:https://linkerd.io/2/getting-started/用于安装linkerd,但在步骤3中遇到错误。详细信息如下。

请参阅命令:linkerd install | kubectl适用-f-

请参见下面的错误:

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

任何人都可以在这个问题上帮助我。

kubernetes kubernetes-helm azure-aks linkerd
1个回答
0
投票

您最好使用Microsoft文档-Install Linkerd in Azure Kubernetes Service (AKS)

以下步骤对我有用:


# 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

#Install Linkerd on AKS
 if linkerd check --pre; then
        linkerd install | kubectl apply -f -
    fi
© www.soinside.com 2019 - 2024. All rights reserved.