Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Mar 23, 2020
1 parent ad96445 commit c887f3f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/kube-runtime/kube-runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Kube-runtime

## Goal
[kube-runtime](https://github.com/microsoft/openpai-runtime) is a module that provides runtime support for job containers. For more detail, please refer to [openpai-runtime](https://github.com/microsoft/openpai-runtime).

## Build
If you want to build [kube-runtime](https://github.com/microsoft/openpai-runtime) only, under the `build` directory, run the following command, note to replace `/path/to/cluster-configuration/dir` with your own cluster configuration path.

```sh
python pai_build.py -p /path/to/cluster-configuration/dir -n kube-runtime
```

## Deployment

The deployment of kube-runtime goes with the bootstrapping process of the whole PAI cluster, which is described in detail in [Tutorial: Booting up the cluster](../pai-management/doc/distributed-deploy.md).

If you want to redeploy kube-runtime only, you can run following commands, note to replace `/path/to/cluster-configuration/dir` with your own cluster configuration path:

```sh
python paictl.py service start -p /path/to/cluster-configuration/dir -n kube-runtime
```
For more details, please refer to [Maintain your service](../paictl/paictl-manual.md#Service).


## Reference

- [openpai-runtime](https://github.com/microsoft/openpai-runtime)

0 comments on commit c887f3f

Please sign in to comment.