Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/lib/elasticsearch/pods_query.json')
-rw-r--r--spec/fixtures/lib/elasticsearch/pods_query.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/spec/fixtures/lib/elasticsearch/pods_query.json b/spec/fixtures/lib/elasticsearch/pods_query.json
new file mode 100644
index 00000000000..90d162b871a
--- /dev/null
+++ b/spec/fixtures/lib/elasticsearch/pods_query.json
@@ -0,0 +1,28 @@
+{
+ "aggs": {
+ "pods": {
+ "aggs": {
+ "containers": {
+ "terms": {
+ "field": "kubernetes.container.name",
+ "size": 500
+ }
+ }
+ },
+ "terms": {
+ "field": "kubernetes.pod.name",
+ "size": 500
+ }
+ }
+ },
+ "query": {
+ "bool": {
+ "must": {
+ "match_phrase": {
+ "kubernetes.namespace": "autodevops-deploy-9-production"
+ }
+ }
+ }
+ },
+ "size": 0
+}