Merge pull request #1701 from JoaoBraveCoding/add-port-name

Adds port name to prometheus-adapter
This commit is contained in:
Arthur Silva Sens
2022-03-31 07:41:30 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -240,7 +240,7 @@ function(params) {
periodSeconds: 5,
failureThreshold: 5,
},
ports: [{ containerPort: 6443 }],
ports: [{ containerPort: 6443, name: 'https' }],
volumeMounts: [
{ name: 'tmpfs', mountPath: '/tmp', readOnly: false },
{ name: 'volume-serving-cert', mountPath: '/var/run/serving-cert', readOnly: false },

View File

@@ -49,6 +49,7 @@ spec:
name: prometheus-adapter
ports:
- containerPort: 6443
name: https
readinessProbe:
failureThreshold: 5
httpGet: