Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

[kube-runtime] remove kube-runtime #4311

Merged
merged 8 commits into from
Mar 23, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
29 changes: 0 additions & 29 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,35 +66,6 @@ jobs:
cd src/yarn-exporter/test
python -m unittest discover .

kube-runtime:
name: Test kube-runtime on python-${{ matrix.python}}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: [3.7]
os: [ubuntu-16.04, ubuntu-latest]

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install kubernetes pyyaml requests jinja2 pystache pylint responses
- name: Lint kube-runtime
run: |
cd src/kube-runtime
pylint --rcfile=.pylintrc src
- name: Test kube-runtime
run: |
cd src/kube-runtime/test
python -m unittest discover .

watchdog:
name: Test watchdog on go-${{ matrix.go }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand Down
29 changes: 29 additions & 0 deletions docs/kube-runtime/kube-runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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 commands, note to replace `/path/to/cluster-configuration/dir` with your own cluster configuration path.

```sh
python pai_build.py build -c /path/to/cluster-configuration/dir -s kube-runtime

python pai_build.py push -c /path/to/cluster-configuration/dir -i 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)

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.