-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a new test case where the receiver has a delay (simulating processing) between 10 and 550 seconds First commit is the test addition, second one generates the resources --------- Signed-off-by: Pierangelo Di Pilato <[email protected]>
- Loading branch information
Showing
224 changed files
with
24,895 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
tests/broker/kafka/p10-r3-unord-b20-t10-32kb-lp/additional.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
|
||
HTTP_TARGET=$(oc get brokers.eventing.knative.dev -n "${TEST_CASE_NAMESPACE}" p10-r3-unord-b20-t10-32kb-lp-0 -o jsonpath='{.status.address.url}') || exit 1 | ||
BENCHMARK_NAME=eventing-staircase | ||
|
||
export HTTP_TARGET BENCHMARK_NAME | ||
|
485 changes: 485 additions & 0 deletions
485
tests/broker/kafka/p10-r3-unord-b20-t10-32kb-lp/hf.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
119 changes: 119 additions & 0 deletions
119
...afka/p10-r3-unord-b20-t10-32kb-lp/resources/p10-r3-unord-b20-t10-32kb-lp-0-trigger-0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
|
||
--- | ||
apiVersion: eventing.knative.dev/v1 | ||
kind: Trigger | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-0-trigger-0 | ||
annotations: | ||
kafka.eventing.knative.dev/delivery.order: unordered | ||
spec: | ||
broker: p10-r3-unord-b20-t10-32kb-lp-0 | ||
subscriber: | ||
ref: | ||
apiVersion: v1 | ||
kind: Service | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
uri: "/p10-r3-unord-b20-t10-32kb-lp-0-trigger-0" | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
type: ClusterIP | ||
selector: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
ports: | ||
- port: 80 | ||
protocol: TCP | ||
targetPort: receiver | ||
name: http | ||
- port: 9090 | ||
protocol: TCP | ||
targetPort: http-metrics | ||
name: http-metrics | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: config-sacura | ||
data: | ||
sacura.yaml: | | ||
sender: | ||
disabled: true | ||
receiver: | ||
port: 8080 | ||
timeout: 5m | ||
maxDuplicatesPercentage: 1 | ||
fault: | ||
minSleepDuration: 10s | ||
maxSleepDuration: 550s | ||
duration: 10m | ||
timeout: 1m | ||
--- | ||
|
||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
endpoints: | ||
- path: /metrics | ||
port: http-metrics | ||
selector: | ||
matchLabels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
--- | ||
|
||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
template: | ||
metadata: | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
containers: | ||
- name: receiver | ||
image: ghcr.io/pierdipi/sacura/sacura-7befbbbc92911c6727467cfbf23af88f | ||
args: | ||
- "--config" | ||
- "/etc/sacura/sacura.yaml" | ||
imagePullPolicy: Always | ||
resources: | ||
requests: | ||
memory: "1Gi" | ||
cpu: "1" | ||
volumeMounts: | ||
- mountPath: /etc/sacura | ||
name: config | ||
ports: | ||
- containerPort: 8080 | ||
protocol: TCP | ||
name: receiver | ||
- containerPort: 9090 | ||
protocol: TCP | ||
name: http-metrics | ||
env: | ||
- name: OTEL_RESOURCE_ATTRIBUTES | ||
value: "service=p10-r3-unord-b20-t10-32kb-lp-svc" | ||
- name: OTEL_SERVICE_NAME | ||
value: "sacura" | ||
volumes: | ||
- name: config | ||
configMap: | ||
name: config-sacura | ||
|
119 changes: 119 additions & 0 deletions
119
...afka/p10-r3-unord-b20-t10-32kb-lp/resources/p10-r3-unord-b20-t10-32kb-lp-0-trigger-1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
|
||
--- | ||
apiVersion: eventing.knative.dev/v1 | ||
kind: Trigger | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-0-trigger-1 | ||
annotations: | ||
kafka.eventing.knative.dev/delivery.order: unordered | ||
spec: | ||
broker: p10-r3-unord-b20-t10-32kb-lp-0 | ||
subscriber: | ||
ref: | ||
apiVersion: v1 | ||
kind: Service | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
uri: "/p10-r3-unord-b20-t10-32kb-lp-0-trigger-1" | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
type: ClusterIP | ||
selector: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
ports: | ||
- port: 80 | ||
protocol: TCP | ||
targetPort: receiver | ||
name: http | ||
- port: 9090 | ||
protocol: TCP | ||
targetPort: http-metrics | ||
name: http-metrics | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: config-sacura | ||
data: | ||
sacura.yaml: | | ||
sender: | ||
disabled: true | ||
receiver: | ||
port: 8080 | ||
timeout: 5m | ||
maxDuplicatesPercentage: 1 | ||
fault: | ||
minSleepDuration: 10s | ||
maxSleepDuration: 550s | ||
duration: 10m | ||
timeout: 1m | ||
--- | ||
|
||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
endpoints: | ||
- path: /metrics | ||
port: http-metrics | ||
selector: | ||
matchLabels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
--- | ||
|
||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: p10-r3-unord-b20-t10-32kb-lp-svc | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
template: | ||
metadata: | ||
labels: | ||
app: p10-r3-unord-b20-t10-32kb-lp-svc | ||
spec: | ||
containers: | ||
- name: receiver | ||
image: ghcr.io/pierdipi/sacura/sacura-7befbbbc92911c6727467cfbf23af88f | ||
args: | ||
- "--config" | ||
- "/etc/sacura/sacura.yaml" | ||
imagePullPolicy: Always | ||
resources: | ||
requests: | ||
memory: "1Gi" | ||
cpu: "1" | ||
volumeMounts: | ||
- mountPath: /etc/sacura | ||
name: config | ||
ports: | ||
- containerPort: 8080 | ||
protocol: TCP | ||
name: receiver | ||
- containerPort: 9090 | ||
protocol: TCP | ||
name: http-metrics | ||
env: | ||
- name: OTEL_RESOURCE_ATTRIBUTES | ||
value: "service=p10-r3-unord-b20-t10-32kb-lp-svc" | ||
- name: OTEL_SERVICE_NAME | ||
value: "sacura" | ||
volumes: | ||
- name: config | ||
configMap: | ||
name: config-sacura | ||
|
Oops, something went wrong.