Merge pull request #14463 from HealthEngineAU/pod-identity-webhook-metrics-fix

Fix Prometheus scraping for pod-identity-webhook
This commit is contained in:
Kubernetes Prow Robot 2022-10-28 11:50:53 -07:00 committed by GitHub
commit 20b0595189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View File

@ -47,7 +47,7 @@ spec:
version: 9.99.0
- id: k8s-1.16
manifest: eks-pod-identity-webhook.addons.k8s.io/k8s-1.16.yaml
manifestHash: ca08e870a5c376a65d6b41ce9ddcf5a12db858e2971398f6a06ac3e7071bea49
manifestHash: a1573fc78e0b9cc5a30570251082c6af7d5f44fc4e383d80a68a84f0be392922
name: eks-pod-identity-webhook.addons.k8s.io
needsPKI: true
selector:

View File

@ -242,8 +242,8 @@ apiVersion: v1
kind: Service
metadata:
annotations:
prometheus.io/port: "443"
prometheus.io/scheme: https
prometheus.io/port: "9999"
prometheus.io/scheme: http
prometheus.io/scrape: "true"
creationTimestamp: null
labels:
@ -268,8 +268,8 @@ data:
kind: ConfigMap
metadata:
annotations:
prometheus.io/port: "443"
prometheus.io/scheme: https
prometheus.io/port: "9999"
prometheus.io/scheme: http
prometheus.io/scrape: "true"
creationTimestamp: null
labels:

View File

@ -184,8 +184,8 @@ metadata:
name: pod-identity-webhook
namespace: kube-system
annotations:
prometheus.io/port: "443"
prometheus.io/scheme: "https"
prometheus.io/port: "9999"
prometheus.io/scheme: "http"
prometheus.io/scrape: "true"
spec:
ports:
@ -201,8 +201,8 @@ metadata:
name: pod-identity-webhook
namespace: kube-system
annotations:
prometheus.io/port: "443"
prometheus.io/scheme: "https"
prometheus.io/port: "9999"
prometheus.io/scheme: "http"
prometheus.io/scrape: "true"
data:
config: {{ PodIdentityWebhookConfigMapData }}
@ -220,4 +220,4 @@ spec:
selector:
matchLabels:
app: pod-identity-webhook
maxUnavailable: 50%
maxUnavailable: 50%