Add manual for adding node to existing PAI cluster
Open
@Binyang2014 is already working on this.
Since Jan 27, 2021.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 554
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 14
Description
To add node to existing PAI cluster we need to do:
- run
ansible-playbook -i ${HOME}/pai-deploy/cluster-cfg/hosts.yml docker-runtime-setup.yml --limit=nodelistto change docker daemon config - run
ansible-playbook -i inventory/pai/hosts.yml cluster.yml --become --become-user=root -e "@inventory/gcrv100/openpai.yml" --limit=node listto add node to k8s cluster. - If you encounter cert related error. Please make sure all etcd master node has:
/usr/local/bin/etcd-scriptsand has/etc/ssl/etcd/openssl.conf. If not, copy it from other etcd masters - After add node to k8s cluster, if you want to remove CNI, please follow doc to remove it
- Change PAI layout.yaml to add node to layout.yaml. Change services-configuration.yaml to update hived config
- Update pai config by ./paictl config push -p /udpated-config
- run
./paictl service start -n cluster-configurationto update config - Restart rest-server, hived, job-exporter
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.