Skip to content

Commit

Permalink
Add docs.
Browse files Browse the repository at this point in the history
Signed-off-by: huaiyou <huaiyou.cyz@alibaba-inc.com>
  • Loading branch information
VinceCui committed May 17, 2023
1 parent 8cf2761 commit fd82fb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 42 deletions.
23 changes: 2 additions & 21 deletions docs/user-guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,27 +257,8 @@ In ClusterFile's .spec.env, you can also modify the following configuration
- TrustedRegistry: The registry domain that needs to be trusted by the container runtime
- UseIPasNodeName: Whether to use the node IP as the NodeName, default is false
- DefaultIPRetain: Whether to enable the network plug-in IP retention function, default is true
```yaml
apiVersion: sealer.cloud/v2
kind: Cluster
metadata:
name: my-cluster # must be my-cluster
spec:
...
env: # all env are NOT necessary
- Addons=paralb,kube-prometheus-crds,ack-node-problem-detector # addons to install, now support paralb, kube-prometheus-crds, ack-node-problem-detector
- Network=hybridnet # support hybridnet/calico, default is hybridnet
- DNSDomain=cluster.local # default is cluster.local
- ServiceNodePortRange=30000-32767 # default is 30000-32767
- EnableLocalDNSCache=false # enable local dns cache component, default is false
- RemoveMasterTaint=false # remove master taint or not, default is false
- CertSANs=1.1.1.1 # extra cert sans, if gatewayInternalIP not empty, must set it in CertSANs too
- IgnoreErrors=OS # ignore errors for preflight
- TrustedRegistry=your.registry.url # Registry Domain to be trusted by container runtime
- ContainerDataRoot=/root/docker-root # modify docker data root, default is /var/lib/docker
...
```
- DockerVersion: which docker version to installed, include 19.03.15, 20.10.6. default is 19.03.15
- ContainerDataRoot: docker data root path, default is /var/lib/docker
### Operation and maintenance cluster
Expand Down
23 changes: 2 additions & 21 deletions docs/user-guide/getting-started_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,27 +263,8 @@ spec:
- TrustedRegistry: 需要让容器运行时信任的镜像仓库地址
- UseIPasNodeName: 是否使用节点ip作为NodeName,默认为false
- DefaultIPRetain: 是否开启网络插件ip保留功能,默认为true
```yaml
apiVersion: sealer.cloud/v2
kind: Cluster
metadata:
name: my-cluster # must be my-cluster
spec:
...
env: # all env are NOT necessary
- Addons=paralb,kube-prometheus-crds,ack-node-problem-detector # addons to install, now support paralb, kube-prometheus-crds, ack-node-problem-detector
- Network=hybridnet # support hybridnet/calico, default is hybridnet
- DNSDomain=cluster.local # default is cluster.local
- ServiceNodePortRange=30000-32767 # default is 30000-32767
- EnableLocalDNSCache=false # enable local dns cache component, default is false
- RemoveMasterTaint=false # remove master taint or not, default is false
- CertSANs=1.1.1.1 # extra cert sans, if gatewayInternalIP not empty, must set it in CertSANs too
- IgnoreErrors=OS # ignore errors for preflight
- TrustedRegistry=your.registry.url # Registry Domain to be trusted by container runtime
- ContainerDataRoot=/root/docker-root # modify docker data root, default is /var/lib/docker
...
```
- DockerVersion: docker版本,支持19.03.15/20.10.6,默认为19.03.15
- ContainerDataRoot: docker data root路径,默认为/var/lib/docker
### 运维ACK Distro集群
Expand Down

0 comments on commit fd82fb1

Please sign in to comment.