K8s命令大全详解 一、查看集群信息1、查看集群节点kubectl get nodes输出:NAME STATUS ROLES master01 Ready control-plane node01 Ready worker node02 Ready worker查看更详细信息:kubectl get nodes-o wide2、查看集群状态kubectl cluster-info输出:Kubernetescontrol plane is running at https://10.0.0.1:6443 CoreDNSis running at https://10.0.0.1:6443/api/v1作用: