Skip to Content
Kubernetes即学即用(第二版)
book

Kubernetes即学即用(第二版)

by Brendan Burns, Joe Beda, Kelsey Hightower
June 2021
Intermediate to advanced
300 pages
5h 4m
Chinese
China Electric Power Press Ltd.
Content preview from Kubernetes即学即用(第二版)
部署
Kubernetes
集群
49
$
kubectl get services --namespace=kube-system kubernetes-dashboard
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes-dashboard 10.99.104.174 <nodes> 80:32551/TCP 45d
你可以使用
kubectl
提供的代理功能访问这个用户界面。使用以下命令即可
启动
Kubernetes
代理:
$
kubectl proxy
这个命令会启动一个在
localhost:8001
上运行的服务。通过
Web
浏览器中
访问
http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/
https:kubernetes-dashboard:/proxy/
,就可以看到
Kubernetes
的网络用户界面。
你可以使用这个界面浏览集群,并创建新容器。关于该界面的详细信息不在
本书讨论范围之内,而且随着仪表板的发展,这个界面也在迅速变化。
有些提供商并不会默认安装
Kubernetes
仪表板,所以如果你的集群中没有
仪表板,也不必担心。有关如何在集群中安装仪表板,请参照文档
https://
kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboar ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PyTorch深度学习

PyTorch深度学习

Posts & Telecom Press, Vishnu Subramanian
Python数据分析

Python数据分析

Posts & Telecom Press, Ivan Idris
Python贝叶斯分析(第2版)

Python贝叶斯分析(第2版)

Posts & Telecom Press, Osvaldo Martin
Python高级编程(第2版)

Python高级编程(第2版)

Posts & Telecom Press, Michał Jaworski, Tarek Ziadé

Publisher Resources

ISBN: 9787519856762