Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/dromara/CloudEon into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandas886 committed Dec 25, 2023
2 parents aef3988 + 32c3918 commit 8264cdc
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@
"contributions": [
"code"
]
},
{
"login": "stdnt-xiao",
"name": "stdnt-xiao",
"avatar_url": "https://avatars.githubusercontent.com/u/20313983?v=4",
"profile": "https://github.com/stdnt-xiao",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rugalcrimson"><img src="https://avatars.githubusercontent.com/u/15381951?v=4?s=100" width="100px;" alt="rugalcrimson"/><br /><sub><b>rugalcrimson</b></sub></a><br /><a href="https://github.com/dromara/CloudEon/commits?author=rugalcrimson" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/q443048756"><img src="https://avatars.githubusercontent.com/u/47968271?v=4?s=100" width="100px;" alt="buer"/><br /><sub><b>buer</b></sub></a><br /><a href="https://github.com/dromara/CloudEon/commits?author=q443048756" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/stdnt-xiao"><img src="https://avatars.githubusercontent.com/u/20313983?v=4?s=100" width="100px;" alt="stdnt-xiao"/><br /><sub><b>stdnt-xiao</b></sub></a><br /><a href="https://github.com/dromara/CloudEon/commits?author=stdnt-xiao" title="Code">💻</a></td>
</tr>
</tbody>
</table>

Expand Down
53 changes: 53 additions & 0 deletions cloudeon-docs/docs/安装部署/minikube.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
## 1. 简介

本文介绍使用minikube部署轻量kubernetes,用于CloudEon测试环境搭建。

## 2. 环境准备
安装minikube、vmware。
```text
注:不能使用docker作为虚拟节点驱动,因为无法直接访问节点ip和端口。
```

## 3. 部署kubernetes环境
```shell
minikube start --vm-driver=vmware --nodes 3
```

## 4. 设置所有节点root远程登录密码
### 4.1 查看kubernetes节点列表
```shell
minikube node list
```
```text
minikube 192.168.142.135
minikube-m02 192.168.142.136
minikube-m03 192.168.142.137
```
### 4.2 登录kubernetes子节点
```shell
minikube ssh -n minikube-m03
```
### 4.3 设置root密码
```shell
sudo passwd
```
### 4.4 允许root用户远程登录
```shell
sudo vi /etc/ssh/sshd_config
```
修改
```shell
PermitRootLogin yes
```
重启sshd服务
```shell
sudo systemctl restart sshd
```
### 4.5 验证root用户远程登录
```shell
ssh root@minikube-m03
```
## 5. 获取kubernetes的kubeConfig
```shell
cat ~/.kube/config
```
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ nohup java $JAVA_OPTS \
-Dlogging.config=$DINKY_CONF/log4j2.xml -Dspring.config.location=$DINKY_CONF/dinky-application.yaml,$DINKY_CONF/application.properties com.dlink.Dlink > $log 2>&1 &

echo $! > $pid
tail -f /dev/null
tail -f /opt/edp/${service.serviceName}/log/dinky-$HOSTNAME.out

0 comments on commit 8264cdc

Please sign in to comment.