disable Prometheus pod scraping
@@ -187,6 +187,7 @@ func makeDeploymentSpec(request requests.CreateFunctionRequest, existingSecrets
ObjectMeta: metav1.ObjectMeta{
Name: request.Service,
Labels: labels,
+ Annotations: map[string]string{"prometheus.io.scrape": "false"},
},
Spec: apiv1.PodSpec{
NodeSelector: nodeSelector,
