Skip to main content
CKS clusters support running different types of workloads using Pods, Deployments, StatefulSets, DaemonSets, Jobs, and CronJobs. Before deployment, select the workload type based on whether the task needs to run continuously, requires stable identities, node-level replicas, or needs to be scheduled periodically.

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.
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

  1. Log in to the GPU Cloud console and go to the Clusters page.
  2. Click the name of the target cluster to access the cluster workspace.
  3. In the left navigation pane, go to the Workloads page.
  4. Switch to the tab corresponding to the selected workload type.
  5. Use the creation entry provided on the page, select a namespace, enter the prepared YAML, and then submit to create.
  6. Return to the relevant tab and verify that the newly created resource is displayed.

Confirm Workload Status

  1. On the Workloads page, switch to the tab for the corresponding resource.
  2. Search for the target resource as needed.
  3. Confirm the workload status. When checking Pods, focus on the node, namespace, container readiness, and restart count.
If the workload is not running as expected, check the Pod logs, resource details, and events in the following order.

Troubleshoot Workloads That Are Not Running Properly

View Pod Logs

  1. On the Pods tab, locate the target pod.
  2. In the Actions column, click Log.
  3. View the Pod logs.
To filter logs by time range, keyword, or field, go to the Logs page. For more information, see Querying and Analyzing Logs.

View Resource Details and Events

  1. On the corresponding resource tab, locate the target workload.
  2. In the Actions column, click View.
  3. View resource configuration, status, events, and other information.
If a Pod remains in Pending status for an extended period or restarts frequently, check the node status, PVC binding status, Logs, and Monitor metrics to identify the cause.