This commit is contained in:
ZhaoYu Dong 2018-08-15 10:58:22 +08:00
Родитель a832e4e504
Коммит b584cc83d5
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -26,7 +26,7 @@ After the cluster is up, the cluster nodes can be retrieved by command:
etcdctl --endpoints=http://CONFIGUED_ETCD_NODE_ADDRESS:2380 member list
```
The `CONFIGUED_ETCD_NODE_ADDRESS` is the one of the node addresses you configured to deploy etcd. This command will return all
the etcd nodes with their status. The nodes will be deployed successfully if its status is `started`.
the etcd nodes with their status. The nodes will be deployed successfully if their status are `started`.
## Upgrading and rolling back
@ -61,6 +61,12 @@ python paictl.py machine etcd-fix -p /path/to/configuration/directory -l /path/t
```
Please follow instructions in [machine maintenance](./machine-maintenance.md) for the details.
## Data Stored on Etcd
In OpenPAI cluster the data on etcd comes from two service:
- Kubernetes: All of the Kubernetes objects like deployment, pod or service information will be stored to etcd.
- Rest-Server: The OpenPAI user account information will be stored to etcd.
## Reference
- [Etcd document](https://coreos.com/etcd/docs/latest/docs.html#documentation)