101 lines
3.0 KiB
Markdown
101 lines
3.0 KiB
Markdown
<div style="text-align: center"></div>
|
||
<p align="center">
|
||
<img src="https://user-images.githubusercontent.com/42825450/201523059-ed28e427-e1b6-443a-8326-100460e6dec9.jpg" width="250px" height="220px">
|
||
<br>
|
||
<i>Make the project development and release simpler, easier and more efficient.</i>
|
||
</p>
|
||
</div>
|
||
|
||
|
||
|
||
## What is DKube
|
||
This is a K8s cluster management platform;DKube Provides a wizard-style operation interface for K8s cluster management to help your team manage your cluster environment quickly and easily
|
||
|
||
## 功能
|
||
|
||
<details>
|
||
<summary><b> K8s集群管理</b></summary>
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b> 平台化界面</b></summary>
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b> 更加便捷的管理K8s</b></summary>
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b> 支持YAML信息查看\变更</b></summary>
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b> 平台化管理控制器</b></summary>
|
||
</details>
|
||
|
||
<details>
|
||
<summary><b> 实时查看容器日志</b></summary>
|
||
</details>
|
||
|
||
## 截图
|
||
<br/>
|
||
<table>
|
||
<tr>
|
||
<td width="50%" align="center"><b>登入认证管理</b></td>
|
||
<td width="50%" align="center"><b>集群信息状态</b></td>
|
||
</tr>
|
||
<tr>
|
||
<td width="50%" align="center"><img src="https://user-images.githubusercontent.com/42825450/193593148-4d258b30-b972-4583-b359-32978a8a8637.jpg?raw=true"></td>
|
||
<td width="50%" align="center"><img src="https://user-images.githubusercontent.com/42825450/193593170-3373dabd-8d5d-4a01-a59f-49851f11f433.jpg?raw=true"></td>
|
||
</tr>
|
||
<tr>
|
||
<td width="50%" align="center"><b>节点资源管理</b></td>
|
||
<td width="50%" align="center"><b>名称空间管理</b></td>
|
||
</tr>
|
||
<td width="50%" align="center"><img src="https://user-images.githubusercontent.com/42825450/193593569-daebc649-f6c4-45a2-88f6-2aa4860c3dea.jpg?raw=true"></td>
|
||
<td width="50%" align="center"><img src="https://user-images.githubusercontent.com/42825450/193593579-e0539ab0-6b22-4060-b254-c6495fb87cbd.jpg?raw=true"></td>
|
||
<tr>
|
||
</tr>
|
||
<tr>
|
||
<td width="50%" align="center"><b>YAML信息管理</b></td>
|
||
<td width="50%" align="center"><b>Pod副本管理</b></td>
|
||
</tr>
|
||
<td width="50%" align="center"><img src="https://user-images.githubusercontent.com/42825450/193593867-4a98bd0f-a910-4b90-92e3-6a3164d0c241.jpg?raw=true"></td>
|
||
<td width="50%" align="center"><img src="https://user-images.githubusercontent.com/42825450/193593871-ee004cb8-42cb-427a-a0cc-fa1e15e7d466.jpg?raw=true"></td>
|
||
<tr>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
## 部署
|
||
- 修改kube-config路径: `config/config.go`
|
||
|
||
```shell
|
||
Kubeconfig = "/root/.kube/config"
|
||
```
|
||
|
||
- 后端
|
||
```go
|
||
env GOOS=linux GOARCH=amd64 go build -o DKube-Server main.go
|
||
|
||
~]# chmod +x DKube-Server
|
||
~]# ./DKube-Server
|
||
```
|
||
|
||
- 数据库: `config/config.go`
|
||
```shell
|
||
//数据库配置
|
||
DbType = "mysql"
|
||
DbHost = "xx.xx.xx.xx"
|
||
DbPort = 3306
|
||
DbName = "dkube"
|
||
DbUser = "root"
|
||
DbPwd = "123456"
|
||
```
|
||
|
||
- 前端 `dkube-web`,后端接口:`src\views\common\Config.js`
|
||
```shell
|
||
npm install
|
||
npm run build
|
||
```
|