-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from vishnuchalla/vchalla
Adding queries for quay performance testing and containerizing touchstone for easy installation
- Loading branch information
Showing
5 changed files
with
260 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ubuntu | ||
|
||
WORKDIR /tmp | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install necessary libraries for subsequent commands | ||
RUN apt-get update && apt-get install -y podman wget git dumb-init python3.6 python3-distutils python3-pip python3-apt | ||
|
||
# Install and setup snafu for storing vegeta results into ES | ||
RUN mkdir -p /opt/touchstone/ \ | ||
&& git clone https://github.com/cloud-bulldozer/benchmark-comparison \ | ||
&& cd benchmark-comparison \ | ||
&& cp -R . /opt/touchstone/ \ | ||
&& pip3 install --upgrade pip \ | ||
&& pip3 install -e /opt/touchstone/ | ||
|
||
# Cleanup the installation remainings | ||
RUN apt-get clean autoclean && \ | ||
apt-get autoremove --yes && \ | ||
rm -rf /var/lib/{apt,dpkg,cache,log}/ | ||
|
||
# Start the command | ||
ENTRYPOINT ["/usr/bin/dumb-init", "--"] | ||
# Keeping this command as sleep infinity for now. | ||
# Can be changed according to the development requirements. | ||
CMD ["sleep", "infinity"] |
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,103 @@ | ||
{ | ||
"elasticsearch": { | ||
"metadata": { | ||
"cpuinfo-metadata": { | ||
"additional_fields": [ | ||
"pod_name" | ||
], | ||
"fields": [ | ||
"value.Model name", | ||
"value.Architecture", | ||
"value.CPU(s)" | ||
] | ||
}, | ||
"meminfo-metadata": { | ||
"additional_fields": [ | ||
"pod_name" | ||
], | ||
"fields": [ | ||
"value.MemTotal" | ||
] | ||
} | ||
}, | ||
"clair-test-index": [ | ||
{ | ||
"filter": {}, | ||
"buckets": [ | ||
"targets.keyword" | ||
], | ||
"aggregations": { | ||
"rps": [ | ||
"avg" | ||
], | ||
"throughput": [ | ||
"avg" | ||
], | ||
"requests": [ | ||
"avg" | ||
], | ||
"req_latency": [ | ||
"avg" | ||
], | ||
"p95_latency": [ | ||
"avg" | ||
], | ||
"p99_latency": [ | ||
"avg" | ||
], | ||
"max_latency": [ | ||
"avg" | ||
], | ||
"min_latency": [ | ||
"avg" | ||
], | ||
"bytes_in": [ | ||
"avg" | ||
], | ||
"bytes_out": [ | ||
"avg" | ||
], | ||
"status_codes.0": [ | ||
"sum" | ||
], | ||
"status_codes.200": [ | ||
"sum" | ||
], | ||
"status_codes.201": [ | ||
"sum" | ||
], | ||
"status_codes.204": [ | ||
"sum" | ||
], | ||
"status_codes.400": [ | ||
"sum" | ||
], | ||
"status_codes.401": [ | ||
"sum" | ||
], | ||
"status_codes.403": [ | ||
"sum" | ||
], | ||
"status_codes.404": [ | ||
"sum" | ||
], | ||
"status_codes.408": [ | ||
"sum" | ||
], | ||
"status_codes.500": [ | ||
"sum" | ||
], | ||
"status_codes.502": [ | ||
"sum" | ||
], | ||
"status_codes.503": [ | ||
"sum" | ||
], | ||
"status_codes.504": [ | ||
"sum" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} |
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,26 @@ | ||
{ | ||
"elasticsearch": { | ||
"quay-push-pull-index": [ | ||
{ | ||
"filter": {}, | ||
"buckets": [ | ||
"targets.keyword" | ||
], | ||
"aggregations": { | ||
"elapsed_time": [ | ||
"avg", | ||
"max", | ||
"min" | ||
], | ||
"failures": [ | ||
"sum" | ||
], | ||
"successes": [ | ||
"sum" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
|
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,104 @@ | ||
{ | ||
"elasticsearch": { | ||
"metadata": { | ||
"cpuinfo-metadata": { | ||
"additional_fields": [ | ||
"pod_name" | ||
], | ||
"fields": [ | ||
"value.Model name", | ||
"value.Architecture", | ||
"value.CPU(s)" | ||
] | ||
}, | ||
"meminfo-metadata": { | ||
"additional_fields": [ | ||
"pod_name" | ||
], | ||
"fields": [ | ||
"value.MemTotal" | ||
] | ||
} | ||
}, | ||
"quay-vegeta-results": [ | ||
{ | ||
"filter": {}, | ||
"buckets": [ | ||
"targets.keyword" | ||
], | ||
"aggregations": { | ||
"rps": [ | ||
"avg" | ||
], | ||
"throughput": [ | ||
"avg" | ||
], | ||
"requests": [ | ||
"avg" | ||
], | ||
"req_latency": [ | ||
"avg" | ||
], | ||
"p95_latency": [ | ||
"avg" | ||
], | ||
"p99_latency": [ | ||
"avg" | ||
], | ||
"max_latency": [ | ||
"avg" | ||
], | ||
"min_latency": [ | ||
"avg" | ||
], | ||
"bytes_in": [ | ||
"avg" | ||
], | ||
"bytes_out": [ | ||
"avg" | ||
], | ||
"status_codes.0": [ | ||
"sum" | ||
], | ||
"status_codes.200": [ | ||
"sum" | ||
], | ||
"status_codes.201": [ | ||
"sum" | ||
], | ||
"status_codes.204": [ | ||
"sum" | ||
], | ||
"status_codes.400": [ | ||
"sum" | ||
], | ||
"status_codes.401": [ | ||
"sum" | ||
], | ||
"status_codes.403": [ | ||
"sum" | ||
], | ||
"status_codes.404": [ | ||
"sum" | ||
], | ||
"status_codes.408": [ | ||
"sum" | ||
], | ||
"status_codes.500": [ | ||
"sum" | ||
], | ||
"status_codes.502": [ | ||
"sum" | ||
], | ||
"status_codes.503": [ | ||
"sum" | ||
], | ||
"status_codes.504": [ | ||
"sum" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
|
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 |
---|---|---|
|
@@ -60,4 +60,4 @@ | |
] | ||
} | ||
} | ||
} | ||
} |