1

我试图在 Ubuntu 16.04 中安装 halyard。

我已经使用 curl curl -O https://raw.githubusercontent.com/spinnaker/halyard/master/install/debian/InstallHalyard.sh下载了 installhalyard 脚本

在我执行 sudo bash InstallHalyard.sh 来安装 halyard 命令之后。但它没有安装并显示以下错误

jayanth@jayanth-VirtualBox:~$ sudo bash InstallHalyard.sh 
[sudo] password for jayanth: 
Please supply a non-root user to run Halyard as: jayanth
Halyard version will be stable 
Halyard will be downloaded from gs://spinnaker-artifacts/halyard 
Halyard config will come from bucket gs://halconfig 
Halconfig will be stored at /home/jayanth/.hal/config
Uninstall script is located at /home/jayanth/.hal/uninstall.sh
Running ubuntu 16.04
gpg: keyring `/tmp/tmptyeoozb6/secring.gpg' created
gpg: keyring `/tmp/tmptyeoozb6/pubring.gpg' created
gpg: requesting key 86F44E2A from hkp server keyserver.ubuntu.com
**Error: retrieving gpg key timed out.**
gpg: /tmp/tmptyeoozb6/trustdb.gpg: trustdb created
gpg: key 86F44E2A: public key "Launchpad OpenJDK builds (all archs)" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

由于上述错误,我无法安装 Halyard。请在这里帮助我。

BR贾扬斯

4

3 回答 3

0

看起来好像您的网络连接有问题或系统无法访问主机的其他原因keyserver.ubuntu.com.确保您可以访问该服务器(例如尝试 ping 它)并且您的安装应该可以工作。

于 2018-05-25T21:52:18.877 回答
0

sudo apt-get update这次我再次尝试并安装了open ssh client and server.

这次奏效了。

于 2018-05-31T14:25:53.303 回答
0

我使用下面的命令来部署 halyard

kubectl create deployment hal --image gcr.io/spinnaker-marketplace/halyard:1.20.2
于 2019-09-20T11:44:58.613 回答