k8s的几个常用可视化管理工具
【摘要】 1, lens 2,octant 3, rancher 4, weave-scope 5,kubord 6,kubesphere 7, kubebox 8, k9s
1, lens
lens 是开发工具,地址是https://k8slens.dev/
下载这个工具,可以用这个工具 管理k8s集群
2, octant
yum install octant_0.6.0_Linux-64bit.rpm
依赖于 admin.conf,运行后会在你本地打开浏览器
效果跟 dashbaord 类似
3, rancher
著名的 多集群管理软件
4, weave-scope
weave 是weaveworks 推出的,就是那个weave cni 插件的公司。
https://github.com/weaveworks/scope
两种方式,如果只是想看单个服务器上的容器等信息
sudo curl -L git.io/scope -o /usr/local/bin/scope (有时候不行,直接放/usr/bin/scope)
sudo chmod a+x /usr/local/bin/scope
scope launch
另外可以在 整个k8s上部署
[root@rancher weave]# kubectl apply -f "https://cloud.weave.works/k8s/scope.yaml?k8s-version=$(kubectl version | base64 | tr -d '\n')"
namespace/weave created
serviceaccount/weave-scope created
clusterrole.rbac.authorization.k8s.io/weave-scope created
clusterrolebinding.rbac.authorization.k8s.io/weave-scope created
deployment.apps/weave-scope-app created
service/weave-scope-app created
deployment.apps/weave-scope-cluster-agent created
daemonset.apps/weave-scope-agent created
5,kubord
网址:https://www.kuboard.cn/
kubectl apply -f https://kuboard.cn/install-script/kuboard.yaml
kubectl apply -f https://addons.kuboard.cn/metrics-server/0.3.7/metrics-server.yaml
kubectl get pods -l k8s.kuboard.cn/name=kuboard -n kube-system
echo $(kubectl -n kube-system get secret $(kubectl -n kube-system get secret | grep kuboard-user | awk '{print $1}') -o go-template='{{.data.token}}' | base64
-d)
拿到 token 在 http://nodeip:32567 登录
6,kubesphere
kubesphere 是青云(qingcloud)的产品
kubectl apply -f https://raw.githubusercontent.com/kubesphere/ks-installer/v3.0.0/deploy/kubesphere-installer.yaml
kubectl apply -f https://raw.githubusercontent.com/kubesphere/ks-installer/v3.0.0/deploy/cluster-configuration.yaml
如果数顺利的话,在https://nodeip:30880 登录
admin
p@88wrd
7, kubebox
9, compass
https://github.com/withlin/compass
10,k9s
https://github.com/derailed/k9s
11,goldpinger
https://github.com/bloomberg/goldpinger
【声明】本内容来自华为云开发者社区博主,不代表华为云及华为云开发者社区的观点和立场。转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息,否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)