File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
testcases/promtorture/scripts Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 24
24
|select(
25
25
(.kind != "CustomResourceDefinition")
26
26
and (.kind != "AlertManager")
27
- )' | " ${kubectl[@]} " apply --server-side -f -
28
- " ${kubectl[@]} " apply --server-side -f .cache/kube-prometheus.yaml
27
+ )' .cache/kube-prometheus.yaml | \
28
+ " ${kubectl[@]} " apply --server-side --force-conflicts -f -
29
29
30
- # Scale down to 1 replica and don't deploy alertmanager
31
- " ${kubectl[@]} " patch -n monitoring prometheus k8s --type merge --patch-file /dev/stdin << '__END__ '
30
+ # Scale down to 1 replica and don't deploy alertmanager, add resources,
31
+ # enable some feature flags, and set a low GOMEMLIMIT
32
+ " ${kubectl[@]} " patch -n monitoring prometheus/k8s \
33
+ --type merge \
34
+ --patch-file /dev/stdin << '__END__ '
32
35
apiVersion: monitoring.coreos.com/v1
33
36
kind: Prometheus
34
37
spec:
You can’t perform that action at this time.
0 commit comments