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

temporarily remove serviceMonitor manifest for coredns #472

Merged
merged 1 commit into from
Aug 15, 2024
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
9 changes: 5 additions & 4 deletions tests/tasks/generators/clusterloader/load-slos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ spec:
effect: NoSchedule
EOF
cat $(workspaces.source.path)/perf-tests/clusterloader2/pkg/prometheus/manifests/exporters/kube-state-metrics/deployment.yaml

# TODO: Remove this once we fix https://github.com/kubernetes/kubernetes/issues/126578 or find a better way to work around it.
rm $(workspaces.source.path)/perf-tests/clusterloader2/pkg/prometheus/manifests/default/prometheus-serviceMonitorCoreDNS.yaml
rm $(workspaces.source.path)/perf-tests/clusterloader2/pkg/prometheus/manifests/default/prometheus-serviceMonitorLegacyKubeDNS.yaml

fi
# Building clusterloader2 binary
cd $(workspaces.source.path)/perf-tests/clusterloader2/
Expand All @@ -162,10 +167,6 @@ spec:
fi
cat $(workspaces.source.path)/perf-tests/clusterloader2/testing/load/config.yaml
cd $(workspaces.source.path)/perf-tests/clusterloader2/
# [ToDo] To temporarily stop bleeding we delete these.
# Related issue - https://github.com/kubernetes/kubernetes/issues/126578
kubectl --kubeconfig=$KUBECONFIG delete servicemonitor kube-dns -n monitoring
kubectl --kubeconfig=$KUBECONFIG delete servicemonitor coredns -n monitoring
ENABLE_EXEC_SERVICE=false ./clusterloader --kubeconfig=$KUBECONFIG --testconfig=$(workspaces.source.path)/perf-tests/clusterloader2/testing/load/config.yaml --testoverrides=$(workspaces.source.path)/overrides.yaml --nodes=$(params.nodes) --provider=eks --report-dir=$(workspaces.results.path) --alsologtostderr --v=2
exit_code=$?
if [ $exit_code -eq 0 ]; then
Expand Down
Loading