/paddle-on-k8s-operator

Kubernetes operator for managing the lifecycle of PaddlePaddle job.

Primary LanguageGoApache License 2.0Apache-2.0

paddle-on-k8s-operator

Get Started

We use dep for dependency management, to compile the project:

dep ensure -v

cd ./cmd/operator

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build

./operator -kubeconfig ~/.kube/config -autoclean

You can have a quick start by using example/examplejob.yaml.

You can also try to use new gang-scheduling mode to schedule your trainingjob, first you can follow this link to start up the kube-batch in helm, and then try example/examplejob_with_kube_batch.yaml.

License

paddle-on-k8s-operator is under the Apache-2.0 license.