Skip to content

Commit

Permalink
Add Hyperpod cluster tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Reham Tarek committed Aug 28, 2024
1 parent 766e41a commit 289d373
Show file tree
Hide file tree
Showing 12 changed files with 747 additions and 3 deletions.
4 changes: 4 additions & 0 deletions generator/test_case_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ var testTypeToTestConfig = map[string][]testConfig{
testDir: "./test/awsneuron", terraformDir: "terraform/eks/daemon/awsneuron",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
{
testDir: "./test/hyperpod", terraformDir: "terraform/eks/daemon/hyperpod",
targets: map[string]map[string]struct{}{"arc": {"amd64": {}}},
},
},
"eks_deployment": {
{testDir: "./test/metric_value_benchmark"},
Expand Down
4 changes: 2 additions & 2 deletions terraform/eks/daemon/awsneuron/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ resource "aws_eks_node_group" "this" {
min_size = 1
}

ami_type = "AL2_x86_64"
ami_type = var.ami_type
capacity_type = "ON_DEMAND"
disk_size = 20
instance_types = ["t3.medium"]
instance_types = [var.instance_type]

depends_on = [
aws_iam_role_policy_attachment.node_AmazonEC2ContainerRegistryReadOnly,
Expand Down
9 changes: 9 additions & 0 deletions terraform/eks/daemon/awsneuron/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,12 @@ variable "k8s_version" {
default = "1.28"
}

variable "ami_type" {
type = string
default = "AL2_x86_64"
}

variable "instance_type" {
type = string
default = "t3.medium"
}
Loading

0 comments on commit 289d373

Please sign in to comment.