0
當I型,kubeadm init
入端子,我得到和無效值錯誤:當我使用K8S kubeadm初始化,我得到和的值無效錯誤
[email protected]:/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
[email protected]:/home/kevin#
當我使用kubeadm init -h find
輸出爲:
--discovery discovery The discovery method kubeadm will use for connecting nodes to the master (default unknown)
那麼我可以選擇哪些發現方法?
你可以發佈的輸出:kubeadm版本 –
我已經自己解決了這個問題。這個問題的原因是我忘記禁用SElinux。 –