microsoft / microsoft/pai

Add manual for adding node to existing PAI cluster

Open
#5,267 1 comment 0 reactions 3 assignees View on GitHub

@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:

  1. run ansible-playbook -i ${HOME}/pai-deploy/cluster-cfg/hosts.yml docker-runtime-setup.yml --limit=nodelist to change docker daemon config
  2. run ansible-playbook -i inventory/pai/hosts.yml cluster.yml --become --become-user=root -e "@inventory/gcrv100/openpai.yml" --limit=node list to add node to k8s cluster.
  3. If you encounter cert related error. Please make sure all etcd master node has: /usr/local/bin/etcd-scripts and has /etc/ssl/etcd/openssl.conf. If not, copy it from other etcd masters
  4. After add node to k8s cluster, if you want to remove CNI, please follow doc to remove it
  5. Change PAI layout.yaml to add node to layout.yaml. Change services-configuration.yaml to update hived config
  6. Update pai config by ./paictl config push -p /udpated-config
  7. run ./paictl service start -n cluster-configuration to update config
  8. Restart rest-server, hived, job-exporter

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.