Select Workload Type
Prepare Workload Runtime Conditions
Based on the workload configuration, first prepare the resources required immediately after submission:- Ensure that the target namespace has been created.
- If runtime configuration or sensitive information needs to be read, first create a ConfigMap or Secret in the same namespace.
- If data needs to be retained, first create a PVC in the same namespace and ensure that the PVC status is
Bound. - If a private image needs to be pulled, prepare the image access credentials required by the workload.
- If GPU, RDMA, Ingress, or other extended capabilities are required, ensure that the corresponding cluster components are installed and operating normally.
Prepare the Workload YAML
Prepare the YAML based on the selected workload type, and adjust the configuration according to the business image, namespace, resource specifications, environment variables, and storage mount requirements.- Pod
- Deployment
- StatefulSet
- DaemonSet
- Job
- CronJob
Pods are suitable for validating images, debugging commands, or running temporary tasks. For long-running services, use a Deployment, StatefulSet, or DaemonSet for management.
Submit Workload
- Log in to the GPU Cloud console and go to the Clusters page.
- Click the name of the target cluster to access the cluster workspace.
- In the left navigation pane, go to the Workloads page.
- Switch to the tab corresponding to the selected workload type.
- Use the creation entry provided on the page, select a namespace, enter the prepared YAML, and then submit to create.
- Return to the relevant tab and verify that the newly created resource is displayed.
Confirm Workload Status
- On the Workloads page, switch to the tab for the corresponding resource.
- Search for the target resource as needed.
- Confirm the workload status. When checking Pods, focus on the node, namespace, container readiness, and restart count.
Troubleshoot Workloads That Are Not Running Properly
View Pod Logs
- On the Pods tab, locate the target pod.
- In the Actions column, click Log.
- View the Pod logs.
View Resource Details and Events
- On the corresponding resource tab, locate the target workload.
- In the Actions column, click View.
- View resource configuration, status, events, and other information.
Pending status for an extended period or restarts frequently, check the node status, PVC binding status, Logs, and Monitor metrics to identify the cause.
