当我使用k8s kubeadm init时,我得到和无效的值错误

时间:2017-03-08 03:26:10

标签: kubernetes

当我在终端输入kubeadm init时,我得到了无效值错误:

root@kevin-Lenovo-Y430P:/home/kevin# kubeadm init 
[kubeadm] WARNING: kubeadm is in alpha, please do not use it for production clusters.
[preflight] Running pre-flight checks
[init] Using Kubernetes version: v1.5.4
discovery: Invalid value: null: exactly one discovery strategy can be provided
root@kevin-Lenovo-Y430P:/home/kevin# 

当我使用kubeadm init -h find时,输出为:

--discovery discovery  The discovery method kubeadm will use for connecting nodes to the master (default unknown)

那么我可以选择哪些发现方法?

1 个答案:

答案 0 :(得分:0)

这似乎已经通过禁用SELinux来解决。