minikube-kubectl实践使用入门

查看集群信息

1
2
3
4
5
6
7
8
9
10
$ kubectl cluster-info
Kubernetes master is running at https://192.168.99.100:8443
KubeDNS is running at https://192.168.99.100:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.


$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
minikube Ready <none> 48m v1.16.0

Read More