static-pod

This commit is contained in:
Shao Huan Qing
2022-11-19 22:26:15 +08:00
parent 75b08e667a
commit 0ef9c1c405
4 changed files with 40 additions and 1 deletions

View File

@ -55,6 +55,7 @@ let sidebar = {
'v3/install-github',
'v3/install-ldap',
'v3/install-in-k8s',
'v3/install-static-pod',
'v3/install-ha',
]
},

View File

@ -14,6 +14,8 @@ meta:
1. 使用 hostPath 提供持久化存储,将 kuboard 所依赖的 Etcd 部署到 Master 节点,并将 etcd 的数据目录映射到 Master 节点的本地目录;<badge>推荐</badge>
2. 使用 StorageClass 动态创建 PV 为 etcd 提供数据卷;<badge type="error">不推荐</badge>
<strong>如果使用此方法安装 Kuboard 碰到问题,强烈建议您使用 [docker run](./install-built-in.html) 或者 [static-pod](./install-static-pod.html) 的方式安装 kuboard .</strong>
## 方法一:使用 hostPath 提供持久化
### 安装

View File

@ -0,0 +1,36 @@
---
lessAds: false
description: 在 Kubernetes 集群中安装 Kuboard_V3
meta:
- name: keywords
content: Kubernetes Dashboard安装,Kuboard安装,K8S Dashboard安装
---
# 安装 Kuboard v3 - static pod
如果您想以一种简单的方式将 kuboard 安装在 kubernetes master 节点上,您可以尝试使用 static pod 的方式安装 kuboard。使用此方式安装 kuboard 时kuboard 将使用该节点的 80 端口暴露服务,并且将数据存储在 /usr/share/kuboard 目录下。
## static pod 安装 kuboard
在 Kubernetes master 节点上,执行如下两行指令,即可在根据提示完成 kuboard 安装。
```sh
curl -fsSL https://addons.kuboard.cn/kuboard/kuboard-static-pod.sh -o kuboard.sh
sh kuboard.sh
```
kuboard-v3 容器组进入 `Running` 状态后Kuboard 安装成功。
## 访问 kuboard v3
在浏览器输入 `http://your-host-ip:80` 即可访问 Kuboard v3.x 的界面,登录方式:
* 用户名: `admin`
* 密 码: `Kuboard123`
::: tip 浏览器兼容性
<li>请使用 Chrome / FireFox / Safari 等浏览器</li>
<li>不兼容 IE 以及以 IE 为内核的浏览器</li>
:::

View File

@ -54,7 +54,7 @@ Kuboard v3.x 支持 Kubernetes 多集群管理。如果您从 Kuboard v1.0.x 或
* [LDAP 认证](./install-ldap.html)
* [高可用](./install-ha.html)
此外,您也可以通过一行命令,即可 [将 Kuboard 安装到 Kubernetes 集群中](./install-in-k8s.html)
此外,您也可以通过一行命令,即可 [将 Kuboard 安装到 Kubernetes 集群中](./install-in-k8s.html),或者 [作为 static pod 运行](./install-static-pod.html)。
## 安全提示