-
Notifications
You must be signed in to change notification settings - Fork 543
Add GPU support to kubernetes_scale on EKS Karpenter #6313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
copybara-service
merged 23 commits into
GoogleCloudPlatform:master
from
kiryl-filatau:feature/kubernetes-scale-to-1-gpu
Jan 22, 2026
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
faeca24
Add GPU support to kubernetes_scale on EKS Karpenter
kiryl-filatau 84b234b
Merge branch 'GoogleCloudPlatform:master' into master
vofish 2f77176
Merge branch 'GoogleCloudPlatform:master' into master
vofish 633ce80
Move EKS Karpenter GPU NodePool setup to Prepare()
kiryl-filatau 71b9e47
Merge branch 'GoogleCloudPlatform:master' into master
vofish e6994b0
Merge branch 'GoogleCloudPlatform:master' into master
vofish b35fce0
Merge branch 'GoogleCloudPlatform:master' into master
vofish 8708dbc
Merge branch 'GoogleCloudPlatform:master' into master
vofish 1ae0f69
Merge branch 'GoogleCloudPlatform:master' into master
vofish 583f0a1
Merge branch 'GoogleCloudPlatform:master' into master
vofish 2b8985d
Refactor AWS EKS Karpenter GPU node selector application
kiryl-filatau 7bed7ad
Merge branch 'GoogleCloudPlatform:master' into master
vofish 561e34a
Merge branch 'GoogleCloudPlatform:master' into master
vofish ca8e619
Fix GPU toleration to apply only to EKS Karpenter clusters
kiryl-filatau d2a20b7
resolve conflict
kiryl-filatau d037155
pyink adjustments
kiryl-filatau faed023
adjust the style comments
kiryl-filatau 8c4e933
Merge branch 'GoogleCloudPlatform:master' into master
vofish 4213f64
pytype adjustments
kiryl-filatau 13cc20a
Merge branch 'master' into feature/kubernetes-scale-to-1-gpu
kiryl-filatau 326e088
add missed pytz to requirements.txt
kiryl-filatau 4652938
Merge branch 'GoogleCloudPlatform:master' into master
kiryl-filatau 5597d07
Merge branch 'master' into feature/kubernetes-scale-to-1-gpu
kiryl-filatau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
perfkitbenchmarker/data/container/kubernetes_scale/aws-gpu-nodepool.yaml.j2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| apiVersion: karpenter.sh/v1 | ||
| kind: NodePool | ||
| metadata: | ||
| name: {{ gpu_nodepool_name | default('gpu') }} | ||
| spec: | ||
| disruption: | ||
| consolidateAfter: {{ gpu_consolidate_after | default('1m') }} | ||
| consolidationPolicy: {{ gpu_consolidation_policy | default('WhenEmptyOrUnderutilized') }} | ||
| limits: | ||
| cpu: {{ gpu_nodepool_cpu_limit | default(1000) }} | ||
| template: | ||
| metadata: | ||
| labels: | ||
| pkb_nodepool: {{ gpu_nodepool_label | default('gpu') }} | ||
| spec: | ||
| nodeClassRef: | ||
| group: karpenter.k8s.aws | ||
| kind: EC2NodeClass | ||
| name: {{ karpenter_ec2nodeclass_name | default('default') }} | ||
| requirements: | ||
| - key: kubernetes.io/arch | ||
| operator: In | ||
| values: {{ gpu_arch | default(['amd64']) }} | ||
| - key: kubernetes.io/os | ||
| operator: In | ||
| values: {{ gpu_os | default(['linux']) }} | ||
| - key: karpenter.sh/capacity-type | ||
| operator: In | ||
| values: {{ gpu_capacity_types | default(['on-demand']) }} | ||
| - key: karpenter.k8s.aws/instance-category | ||
| operator: In | ||
| values: {{ gpu_instance_categories | default(['g']) }} | ||
| - key: karpenter.k8s.aws/instance-family | ||
| operator: In | ||
| values: {{ gpu_instance_families | default(['g6','g6e']) }} | ||
| taints: | ||
| - key: {{ gpu_taint_key | default('nvidia.com/gpu') }} | ||
| effect: NoSchedule | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.