Skip to content

Commit

Permalink
temporarily remove serviceMonitor manifest for coredns (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
mengqiy authored Aug 15, 2024
1 parent d54095f commit 6b5b513
Showing 1 changed file with 5 additions and 4 deletions.
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

0 comments on commit 6b5b513

Please sign in to comment.