Skip to content

Conversation

tardieu
Copy link
Member

@tardieu tardieu commented Jul 22, 2024

This PR makes it possible to designate a cluster queue as slack, for example:

    appwrapper:
      enableKueueIntegrations: true
      defaultQueueName: default-queue
      slackQueueName: slack-cluster-queue
      autopilot:
        injectAntiAffinities: true
        migrateImpactedWorkloads: true
        resourceUnhealthyConfig:
          nvidia.com/gpu:
            autopilot.ibm.com/gpuhealth: ERR

The AppWrapper controller will dynamically inject and adjust lending limits on the resources in this cluster queue. These limits are computed by subtracting unhealthy resource counts (as reported via autopilot labels) to the nominal quotas for these resources.

For instance, if an eight-gpu node reports an error (via label autopilot.ibm.com/gpuhealth: ERR), the following lending limit is injected in the slack cluster queue:

     resources:
      - name: cpu
        nominalQuota: "8"
      - name: memory
        nominalQuota: 128Gi
      - lendingLimit: "16"
        name: nvidia.com/gpu
        nominalQuota: "24"

@tardieu tardieu merged commit 22e852a into main Jul 23, 2024
2 checks passed
@dgrove-oss dgrove-oss added the enhancement New feature or request label Jul 23, 2024
@tardieu tardieu deleted the slack branch July 24, 2024 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants