在Kubernetes上部署heketi pod的问题

时间:2019-07-02 14:53:24

标签: kubernetes glusterfs

我想在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

0 个答案:

没有答案