Skip to content

ydye/RBAC-Enabled-K8S-OpenPAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RBAC-Enabled-K8S-OpenPAI

Deploy OpenPAI on the k8s with RBAC

Deploy k8s-Dashboard for OpenPAI

cd dashboard/
cp dashboard.yaml dashboard.fin.yaml
sed -i "s/{nodename}/${YOUR_NODE_NAME}/g" dashboard.fin.yaml
kubectl create -f dashboard.fin.yaml

Build paictl-env image for batch-job (Optional)

Build
cd paictl
sudo docker build -t openpai-batch .
Tag the image
sudo docker tag openpai-batch ${your_registry_url}/openpai-batch
Push your image into your docker registry
sudo docker push ${your_registry_url}/openpai-batch

Create ServiceAccount for paictl

cd paictl
kubectl create -f paictl-sa.yaml
kubectl create -f paictl.yaml

Prepare your cluster configuration

Write you cluster configuration

OpenPAI's configuration example

Create a configmap for the Patch Job to mount

About

Deploy OpenPAI on the k8s with RBAC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published