docs: add how to add sealos icon

pull/90/head
moonrailgun 2 years ago
parent 263ce8bb2d
commit be78bf2e17

@ -110,3 +110,37 @@ Of course, as a distributed architecture system, Tailchat naturally supports hor
At this point, when we access `https://<xxxxxxxxxx>.cloud.sealos.io/health`, we can see that we can access different nodes.
![](/img/kubernetes/sealos/16.png)
## Add Tailchat entry to desktop
Open Terminal, enter `vim app.yml` to create and edit a configuration file
Enter the following content, note that the url should be replaced with the url deployed by yourself
```yml
apiVersion: app.sealos.io/v1
kind: App
metadata:
name: tailchat-app-entry
spec:
name: Tailchat
icon:
type: iframe
data:
url: <Your url>
desc:
icon: https://tailchat.msgbyte.com/img/logo.svg
menuData:
nameColor: text-black
helpDropDown:
helpDocs:
displayType: normal
```
Press `esc` to exit edit mode, press `:wq` to save and exit vim
Type `kubectl apply -f app.yml` to start the configuration.
After refreshing the page, we can see that our entry appears on the desktop of `sealos`
![](/img/kubernetes/sealos/17.png)

@ -139,3 +139,37 @@ title: 在 Sealos 上部署Tailchat
此时当我们访问 `https://<xxxxxxxxxx>.cloud.sealos.io/health` 可以看到我们可以访问到不同的节点
![](/img/kubernetes/sealos/16.png)
## 添加 Tailchat 入口到桌面
打开 Terminal, 输入`vim app.yml`创建并编辑一个配置文件
输入以下内容注意url要换成自己部署的网址
```yml
apiVersion: app.sealos.io/v1
kind: App
metadata:
name: tailchat-app-entry
spec:
name: Tailchat
icon:
type: iframe
data:
url: <Your url>
desc:
icon: https://tailchat.msgbyte.com/img/logo.svg
menuData:
nameColor: text-black
helpDropDown:
helpDocs:
displayType: normal
```
按`esc`退出编辑模式, 按`:wq`保存并退出vim
输入`kubectl apply -f app.yml`启动配置。
完毕后刷新页面,此时我们可以看到我们的入口就出现在`sealos`的桌面上了
![](/img/kubernetes/sealos/17.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Loading…
Cancel
Save