我想在3个VMS中在heketi
集群中部署kubernetes
集群来访问新的glusterfs
集群
我创建了heketi
键
ssh-keygen -f /etc/heketi/heketi_key -m PEM -t rsa
ssh-copy-id -i /etc/heketi/heketi_key.pub root@noeud1
ssh-copy-id -i /etc/heketi/heketi_key.pub root@noeud2
ssh-copy-id -i /etc/heketi/heketi_key.pub root@noeud3
./gk-deploy --yes -n glusterfs --ssh-keyfile /etc/heketi/heketi_key --ssh-user root --ssh-port 22 topology.json
在我的kubernetes中,此味精导致heketi pod崩溃
Heketi v9.0.0
[cmdexec] ERROR 2019/07/02 14:40:50
heketi/pkg/remoteexec/ssh/ssh.go:87:ssh.NewSshExecWithKeyFile: Unable to
get keyfile: ssh: no key found
[cmdexec] ERROR 2019/07/02 14:40:50
heketi/executors/sshexec/sshexec.go:126:sshexec.NewSshExecutor: Unable to
read private key file
[heketi] ERROR 2019/07/02 14:40:50
heketi/apps/glusterfs/app.go:158:glusterfs.(*App).setup: Unable to read
private key file
ERROR: Unable to start application: Unable to read private key file