pai icon indicating copy to clipboard operation
pai copied to clipboard

Can we install the PAI based on existed k8s cluster?

Open gemfield opened this issue 3 years ago • 2 comments

If so, where can find the document?

gemfield avatar Feb 19 '21 03:02 gemfield

It is not tested by us. You can try it if you are interested:

  1. Set up Kubernetes. We only test Kubernetes 1.14 and we enable RBAC in the cluster.
  2. Set up a dev box container, as described in https://openpai.readthedocs.io/en/latest/manual/cluster-admin/basic-management-operations.html#pai-service-management-and-paictl
  3. Set up services-configuration.yaml and layout.yaml Unfortunately, we don't have a convenient tool for this. Please check the source code under contrib/kubespray to find out how we generate these two files.
  4. Put the two files in a <config-folder>, and update the config and start the service.
./paictl.py config push -p <config-folder> -m service
./paictl.py service start

hzy46 avatar Feb 22 '21 07:02 hzy46

@hzy46 Sounds plenty of work to do...may be I just wait for this feature comes in future :-)

gemfield avatar Feb 23 '21 03:02 gemfield