Skip to content

Commit

Permalink
feat: Resolved yace conflict (#239)
Browse files Browse the repository at this point in the history
Resolved yace conflict
  • Loading branch information
amanpruthi authored Jul 9, 2024
1 parent 001cfe5 commit 08ed7fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 49 deletions.
2 changes: 1 addition & 1 deletion data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ data "aws_sqs_queue" "file_storage" {
name = local.bucket_queue_name
}

data "aws_region" "current" { }
data "aws_region" "current" {}
49 changes: 1 addition & 48 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ module "wandb" {
}, var.app_wandb_env)
}

# To support otel rds and redis metrics need operator-wandb chart minimum version 0.13.8 ( yace subchart)
# To support otel rds and redis metrics, we need operator-wandb chart min version 0.13.8 (yace subchart)
yace = var.enable_yace ? {
install = true
regions = [data.aws_region.current.name]
Expand Down Expand Up @@ -368,53 +368,6 @@ module "wandb" {
}
}

# To support otel rds and redis metrics need operator-wandb chart minimum version 0.13.8 ( yace subchart)
yace = var.enable_yace ? {
install = true
regions = [data.aws_region.current.name]
serviceAccount = { annotations = { "eks.amazonaws.com/role-arn" = module.iam_role[0].role_arn} }
} : {
install = false
regions = []
serviceAccount = {}
}

otel = {
daemonset = var.enable_yace ? {
config = {
receivers = {
prometheus = {
config = {
scrape_configs = [
{ job_name = "yace"
scheme = "http"
metrics_path = "/metrics"
dns_sd_configs = [
{ names = ["yace"]
type = "A"
port = 5000
}
]
}
]
}
}
}
service = {
pipelines = {
metrics = {
receivers = ["hostmetrics", "k8s_cluster", "kubeletstats", "prometheus"]
}
}
}
}
} : { config = {
receivers = {}
service = {}
}
}
}

mysql = { install = false }
redis = { install = false }

Expand Down

0 comments on commit 08ed7fa

Please sign in to comment.