Integrate with Alauda DevOps Pipelines
This page shows how to leverage the Alauda Build of Kueue's scheduling and resource management capabilities when running the Alauda DevOps Pipelines(Tekton Pipelines).
TOC
Prerequisites
- You have installed the Alauda DevOps Pipelines.
- You have installed the Alauda Build of Kueue.
- You have installed the Alauda Build of Hami(for demonstrating vGPU).
- The Alauda Container Platform Web CLI has communication with your cluster.
Procedure
-
Create a project and namespace in Alauda Container Platform, for example, the project name is
test, and the namespace name istest-1. -
Create the assets by running the following command:
-
Create a
Pipelineresource in the Alauda Container Platform by Web CLI or UI: -
Create a
PipelineRunresource in the Alauda Container Platform by Web CLI or UI:kueue.x-k8s.io/queue-name: testlabel: Specifies theLocalQueuethat manages all pods of thePipelineRun.spec.pipelineRef.name: Specifies thePipelineresource that is referenced by thePipelineRun.
-
Observe pods of the
PipelineRun:You will see that this pod is in a
SchedulingGatedstate: -
Update the
nvidia.com/total-gpucoresquotas:You will see that this pod is in a
Runningstate: