Skip to content

Commit

Permalink
Decouple the TGI PodMonitoring from HPA
Browse files Browse the repository at this point in the history
Today, we only deploy a PodMonitoring object if HPA is enabled to
autoscale based on TGI metrics. But, TGI metrics are useful for
Observability anyway, so let's decouple this from the HPA deployment.
  • Loading branch information
laoj2 committed Mar 8, 2024
1 parent 68dd0f8 commit d4ec614
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ resource "kubernetes_manifest" "hpa-cpu" {
}

resource "kubernetes_manifest" "tgi-pod-monitoring" {
count = local.custom_metrics_enabled ? 1 : 0
manifest = yamldecode(templatefile(local.tgi_podmonitoring, {
namespace = var.namespace
}))
Expand Down

0 comments on commit d4ec614

Please sign in to comment.