0

我已按照此处的入门说明进行操作:https : //linkerd.io/2/getting-started/ 用于安装链接器,但我无法安装链接器的 cli。

请看下面的命令:curl -sL https://run.linkerd.io/install | 嘘

请看下面的错误:

curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option

谁能帮我解决它。

4

2 回答 2

0

Linkerd 网站提供的安装说明确实含糊不清,它们为 Linux(shell)用户提供说明,brew install为 OSX 用户提供命令。

如果你有兴趣在你的 Windows 机器上安装 LinkerD,建议直接从他们的发布页面下载二进制文件(.exe - for Windows):https ://github.com/linkerd/linkerd2/releases

下载二进制文件后,您应该能够更新 %PATH% 环境变量以添加二进制文件的位置,这将允许您linkerd直接从命令提示符中引用。

于 2020-05-18T00:27:13.673 回答
0

Linkerd 开始使用 Chocolatey 包支持 Windows:https ://chocolatey.org/packages/Linkerd2

要使用它,请确保您已安装 Chocolatey 并运行:

choco install linkerd2

安装后,验证安装是否成功:

linkerd --help

您应该会看到 Linkerd CLI 可用的命令列表。

于 2020-09-02T04:33:37.337 回答