diff --git a/jsonnet/kube-prometheus/components/prometheus.libsonnet b/jsonnet/kube-prometheus/components/prometheus.libsonnet
index 7306849f640a0ee4fd2880ee6a46d16058d7a429..15d16c286df36afb54cb325e2d46b958c42f1344 100644
--- a/jsonnet/kube-prometheus/components/prometheus.libsonnet
+++ b/jsonnet/kube-prometheus/components/prometheus.libsonnet
@@ -128,6 +128,18 @@ function(params) {
           port: 9090,
           protocol: 'TCP',
         }],
+      }, {
+        from: [{
+          podSelector: {
+            matchLabels: {
+              'app.kubernetes.io/name': 'thanos-query',
+            },
+          },
+        }],
+        ports: [{
+          port: 10901,
+          protocol: 'TCP',
+        }],
       }],
     },
   },