Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 2.22 KB

how-to-bootup-k8s.md

File metadata and controls

60 lines (37 loc) · 2.22 KB

Deploy kubernetes cluster with OpenPAI

Prerequires

Before deploying kubernete with OpenPAI, please be sure that your hardware and os meet the requirement in the link

Command

cd pai

python paictl.py cluster k8s-bootup \
  -p ~/pai-config

The paictl tool does the following things:

  • Install kubectl command in the current machine (or the dev-box).

  • Generate Kubernetes-related configuration files based on layout.yaml, kubernetes-configuration.yaml and k8s-role-definition.yaml.

  • Use kubectl to boot up Kubernetes on target machines.

How to check

After this step, the system maintainer can check the status of Kubernetes by accessing Kubernetes Dashboard:

http://<master>:9090

Where <master> denotes the IP address of the load balancer of Kubernetes master nodes. When there is only one master node and a load balancer is not used, it is usually the IP address of the master node itself.

Help