Skip to content

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
Srikanth Nemana committed Nov 12, 2024
1 parent b4bab5c commit 9e3165f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/eks/daemon/kueue/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ resource "kubernetes_daemonset" "exporter" {
"/bin/sh",
"-c",
]
args = [
"bin/echo 'kueue_pending_workloads{queue="default",namespace="kueue-system"} 3\nkueue_pending_workloads{queue="high-priority",namespace="kueue-system"} 1\nkueue_evicted_workloads_total{queue="default",namespace="kueue-system"} 5\nkueue_evicted_workloads_total{queue="high-priority",namespace="kueue-system"} 0 \nkueue_admitted_active_workloads{queue="default",namespace="kueue-system"} 7 \nkueue_admitted_active_workloads{queue="high-priority",namespace="kueue-system"} 2 \nkueue_cluster_queue_resource_usage{queue="default",resource="cpu",namespace="kueue-system"} 75 \nkueue_cluster_queue_resource_usage{queue="default",resource="memory",namespace="kueue-system"} 60 \nkueue_cluster_queue_resource_usage{queue="high-priority",resource="cpu",namespace="kueue-system"} 90 \nkueue_cluster_queue_resource_usage{queue="high-priority",resource="memory",namespace="kueue-system"} 80 \nkueue_cluster_queue_nominal_quota{queue="default",resource="cpu",namespace="kueue-system"} 100 \nkueue_cluster_queue_nominal_quota{queue="default",resource="memory",namespace="kueue-system"} 100 \nkueue_cluster_queue_nominal_quota{queue="high-priority",resource="cpu",namespace="kueue-system"} 200 \nkueue_cluster_queue_nominal_quota{queue="high-priority",resource="memory",namespace="kueue-system"} 200' >> /usr/local/apache2/htdocs/metrics && sed -i -e \"s/hostname1/$HOST_NAME/g\" /usr/local/apache2/htdocs/metrics && httpd-foreground -k restart"
]
args = [
"bin/echo 'kueue_pending_workloads{queue="default",namespace="kueue-system"} 3\nkueue_pending_workloads{queue="high-priority",namespace="kueue-system"} 1\nkueue_evicted_workloads_total{queue="default",namespace="kueue-system"} 5\nkueue_evicted_workloads_total{queue="high-priority",namespace="kueue-system"} 0 \nkueue_admitted_active_workloads{queue="default",namespace="kueue-system"} 7 \nkueue_admitted_active_workloads{queue="high-priority",namespace="kueue-system"} 2 \nkueue_cluster_queue_resource_usage{queue="default",resource="cpu",namespace="kueue-system"} 75 \nkueue_cluster_queue_resource_usage{queue="default",resource="memory",namespace="kueue-system"} 60 \nkueue_cluster_queue_resource_usage{queue="high-priority",resource="cpu",namespace="kueue-system"} 90 \nkueue_cluster_queue_resource_usage{queue="high-priority",resource="memory",namespace="kueue-system"} 80 \nkueue_cluster_queue_nominal_quota{queue="default",resource="cpu",namespace="kueue-system"} 100 \nkueue_cluster_queue_nominal_quota{queue="default",resource="memory",namespace="kueue-system"} 100 \nkueue_cluster_queue_nominal_quota{queue="high-priority",resource="cpu",namespace="kueue-system"} 200 \nkueue_cluster_queue_nominal_quota{queue="high-priority",resource="memory",namespace="kueue-system"} 200' >> /usr/local/apache2/htdocs/metrics && sed -i -e \"s/hostname1/$HOST_NAME/g\" /usr/local/apache2/htdocs/metrics && httpd-foreground -k restart",
]
volume_mount {
mount_path = "/etc/amazon-cloudwatch-observability-kueue-cert"
name = "kueuetls"
Expand Down

0 comments on commit 9e3165f

Please sign in to comment.