Skip to content

feat: add GPU sharing settings to Node Template#496

Merged
kasia-kujawa merged 2 commits intomasterfrom
kkujawa_nodetemplates_gpu_sharing
Jun 10, 2025
Merged

feat: add GPU sharing settings to Node Template#496
kasia-kujawa merged 2 commits intomasterfrom
kkujawa_nodetemplates_gpu_sharing

Conversation

@kasia-kujawa
Copy link
Copy Markdown
Contributor

@kasia-kujawa kasia-kujawa commented Jun 5, 2025

example configuration:

resource "castai_node_template" "gpu_sharing" {
    cluster_id = castai_eks_clusterid.cluster_id.id

    name             = "gpu_sharing"
    is_default       = false
    is_enabled       = true
    configuration_id = "32354e7c-adac-4b7a-b82f-cdafaf86a4ab"
    should_taint     = false

    constraints {
      on_demand = true
    }

    gpu {
      default_shared_clients_per_gpu = 5
      enable_time_sharing            = true

      sharing_configuration {
        gpu_name = "L4"
        shared_clients_per_gpu = 8
      }
      sharing_configuration {
        gpu_name = "L5"
        shared_clients_per_gpu = 2
      }
      sharing_configuration {
        gpu_name = "Tesla T4"
        shared_clients_per_gpu = 4
      }
    }
  }

Related changes in terraform module for EKS: castai/terraform-castai-eks-cluster#128

@kasia-kujawa kasia-kujawa force-pushed the kkujawa_nodetemplates_gpu_sharing branch from 1647902 to 21ced7d Compare June 9, 2025 18:53
@kasia-kujawa kasia-kujawa force-pushed the kkujawa_nodetemplates_gpu_sharing branch 2 times, most recently from 8468ec9 to 2a6f35c Compare June 10, 2025 09:32
@kasia-kujawa kasia-kujawa force-pushed the kkujawa_nodetemplates_gpu_sharing branch from 2a6f35c to 5eea8ee Compare June 10, 2025 10:31
@kasia-kujawa kasia-kujawa marked this pull request as ready for review June 10, 2025 11:45
@kasia-kujawa kasia-kujawa requested a review from a team as a code owner June 10, 2025 11:45
@kasia-kujawa kasia-kujawa merged commit b83d926 into master Jun 10, 2025
10 of 16 checks passed
@kasia-kujawa kasia-kujawa deleted the kkujawa_nodetemplates_gpu_sharing branch June 10, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants