檢視次數:
設定檔適用性:等級 1 - 主節點
確保 scheduler.conf 檔案的所有權已設定為 root:root
scheduler.conf 檔案是排程器的 kubeconfig 檔案。您應該設定其檔案擁有權以維護檔案的完整性。該檔案應由 root:root 擁有。
注意
注意
預設情況下,scheduler.conf 檔案的所有權設定為 root:root

稽核

在控制平面節點上執行以下命令(根據您系統上的檔案位置)。
stat -c %U:%G /etc/kubernetes/scheduler.conf
驗證所有權是否設定為root:root

補救

在控制平面節點上執行以下命令(根據您系統上的檔案位置)。
chown root:root /etc/kubernetes/scheduler.conf