Skip to content

Commit 8d0355f

Browse files
committed
test sealos install ok
1 parent 1edac85 commit 8d0355f

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

Note.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
1-
v2.0.4
2-
* fixed config overwrite bug
1+
# 使用方法
2+
本地拉取:
3+
```
4+
sealos install --pkg-url dashboard.tar
5+
```
6+
远程拉取:
7+
```
8+
sealos install --pkg-url https://github.com/sealstore/dashboard/releases/download/v1.10.0-alpha.0/dashboard.tar
9+
```
10+
11+
# dashboard.tar如何构造
12+
dashboard.tar里包含yaml文件与镜像文件等
13+
14+
```
15+
[root@iZj6c2ihvsz4y7barissm4Z test]# cat config
16+
LOAD docker load -i image.tar
17+
APPLY kubectl apply -f manifests
18+
DELETE kubectl delete -f manifests
19+
REMOVE sleep 10 && docker rmi -f k8s.gcr.io/kubernetes-dashboard-amd64:v1.10.0
20+
[root@iZj6c2ihvsz4y7barissm4Z test]# ls
21+
config image.tar manifests
22+
```
23+
把上述三个文件打包
24+
25+
```
26+
[root@iZj6c2ihvsz4y7barissm4Z test]# tar cvf dashboard.tar config image.tar manifests
27+
```

0 commit comments

Comments
 (0)