MindIE PyMotor Cloud-Native Helm Chart

This chart packages examples/cloud_native_deploy as direct Helm operations. It creates the deployer ConfigMap, ServiceAccount, cluster-scoped RBAC, and one deploy/scale/cleanup Job selected by operation.

Runtime Controller, Coordinator, Engine, KV Pool, and KV Conductor resources are generated by examples/deployer/deploy.py inside the Job.

Deploy

cp examples/cloud_native_deploy/helm/values.yaml /tmp/pymotor-values.yaml

helm upgrade --install pymotor examples/cloud_native_deploy/helm \
  --namespace mindie \
  --create-namespace \
  --values /tmp/pymotor-values.yaml \
  --set operation=deploy

Set image.repository/image.tag to the deployer image and set motor_deploy_config.image_name in the userConfig JSON string to the Motor runtime image before deployment. Both userConfig and envConfig are JSON strings embedded in values.yaml.

Scale and cleanup

After changing instance counts, run the same command with --set operation=scale. Before uninstalling, run it with --set operation=cleanup, then execute:

helm uninstall pymotor --namespace mindie

The cleanup script deletes Deployments and Services in the namespace configured by userConfig.motor_deploy_config.job_id. Use a dedicated namespace for each deployment.