Skip to content
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

fix: Disable spark-operator podmonitor #742

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions analytics/terraform/spark-k8s-operator/addons.tf
Original file line number Diff line number Diff line change
Expand Up @@ -394,16 +394,18 @@ module "eks_data_addons" {
endpoint: /metrics
prefix: ""
# Prometheus pod monitor for controller pods
podMonitor:
# -- Specifies whether to create pod monitor.
create: true
labels: {}
# -- The label to use to retrieve the job name from
jobLabel: spark-operator-podmonitor
# -- Prometheus metrics endpoint properties. `metrics.portName` will be used as a port
podMetricsEndpoint:
scheme: http
interval: 5s
# Note: The kube-prometheus-stack addon must deploy before the PodMonitor CRD is available.
# This can cause the terraform apply to fail since the addons are deployed in parallel
# podMonitor:
# # -- Specifies whether to create pod monitor.
# create: true
# labels: {}
# # -- The label to use to retrieve the job name from
# jobLabel: spark-operator-podmonitor
# # -- Prometheus metrics endpoint properties. `metrics.portName` will be used as a port
# podMetricsEndpoint:
# scheme: http
# interval: 5s
EOT
]
}
Expand Down
Loading