我是新手Kubernetes
,正在尝试使用 构建集群minikube
。尝试使用 启动集群时minikube
,它失败并出现以下错误
$ minikube start --vm-driver=kvm
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Downloading Minikube ISO
140.01 MB / 140.01 MB [============================================] 100.00% 0s
E1107 12:30:30.581841 13820 start.go:150] Error starting host: Error creating host: Error with pre-create check: "Unable to connect to kvm driver, did you add yourself to the libvirtd group?".
==========================================================================
我已将该用户添加到 libvirt 组。
$ id
uid=1010(zaman) gid=1011(zaman) groups=1011(zaman),498(libvirt)
操作系统信息如下:
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
$ minikube version
minikube version: v0.23.0
请建议如何解决该问题。