部署kubernetes-dashboard
发表于:2024-10-24 作者:千家信息网编辑
千家信息网最后更新 2024年10月24日,在线部署kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/
千家信息网最后更新 2024年10月24日部署kubernetes-dashboard
在线部署
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml
为了方便使用,修改Service 类型为NodePort
kubectl edit service/kubernetes-dashboard -n kubernetes-dashboard
添加 type: NodePort
修改 nodePort: 30001
并保存
apiVersion: v1kind: Servicemetadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"k8s-app":"kubernetes-dashboard"},"name":"kubernetes-dashboard","namespace":"kubernetes-dashboard"},"spec":{"ports":[{"port":443,"targetPort":8443}],"selector":{"k8s-app":"kubernetes-dashboard"}}} creationTimestamp: "2020-01-07T16:31:17Z" labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard namespace: kubernetes-dashboard resourceVersion: "13889" selfLink: /api/v1/namespaces/kubernetes-dashboard/services/kubernetes-dashboard uid: 26fbfe40-bace-40e5-9a59-efdbb38cca4fspec: clusterIP: 10.110.70.158 externalTrafficPolicy: Cluster ports: - nodePort: 30001 port: 443 protocol: TCP targetPort: 8443 selector: k8s-app: kubernetes-dashboard sessionAffinity: None type: NodePortstatus: loadBalancer: {}
之后,应用dashboard-adminuser.yaml:
apiVersion: v1kind: ServiceAccountmetadata: name: admin-user namespace: kubernetes-dashboard---apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingmetadata: name: admin-userroleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-adminsubjects:- kind: ServiceAccount name: admin-user namespace: kubernetes-dashboard
类型
在线
应用
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
幸福东台网络安全技术能手
网络安全法 环保局
修改完善与确定软件开发计划
分布式数据库冗余技术
软件开发优惠税
无锡计算机软件开发流程
湖北大学网络安全
勤哲服务器初级教程11
分布式数据库在石油领域的应用
grp-u8 数据库字典
服务器可以管理多少系统
数据库技术发展概述
亚马逊云服务器 中国
查看域名dns服务器
网络安全资料顺口溜
泰山杯网络安全大赛分数
帧是什么意思网络技术
普通服务器如何申请域名
比较好的软件开发电话
数据库查询表信息
数据库中 dts是指
我学的计算机网络技术
基因网络技术重建病毒
电信时间服务器
深圳网络技术怎么样
阿里云发布最强服务器
反右数据库
软件开发总监的职责
世邦ip广播服务器
安全数据摆渡服务器