mirror of
https://github.com/labring/sealos.git
synced 2026-09-24 15:46:19 +08:00
add v3.0 config reference
This commit is contained in:
@@ -23,6 +23,12 @@ install支持离线安装各种app
|
||||
sealos install prometheus.tar.gz # 离线安装
|
||||
```
|
||||
|
||||
命令格式,如果不指定cmd就使用默认config文件中的cmd,可能是kubectl apply -f xxx 或者kubectl apply -k xxx 或者一个shell:
|
||||
```
|
||||
sealos install [package name] [cmd]
|
||||
```
|
||||
|
||||
|
||||
安装包会放在github的release pages中
|
||||
|
||||
安装包包含镜像文件与kustomize(yaml)配置文件
|
||||
@@ -36,6 +42,13 @@ prometheus.tar # 镜像文件
|
||||
manager.yaml
|
||||
```
|
||||
|
||||
> 关于config 配置
|
||||
|
||||
```
|
||||
name: cloudkernel
|
||||
cmd: cd shell && sh init.sh # other app may be kubectl apply -f or kubectl apply -k, using sealos install [package name] [cmd]
|
||||
```
|
||||
|
||||
> 关于kubeconfig文件
|
||||
|
||||
sealos install需要kubeconfig文件, 默认在执行sealos命令的机器.sealos/config, 用户可以拷贝之
|
||||
|
||||
Reference in New Issue
Block a user