Merge pull request #1701 from JoaoBraveCoding/add-port-name
Adds port name to prometheus-adapter
This commit is contained in:
@@ -240,7 +240,7 @@ function(params) {
|
|||||||
periodSeconds: 5,
|
periodSeconds: 5,
|
||||||
failureThreshold: 5,
|
failureThreshold: 5,
|
||||||
},
|
},
|
||||||
ports: [{ containerPort: 6443 }],
|
ports: [{ containerPort: 6443, name: 'https' }],
|
||||||
volumeMounts: [
|
volumeMounts: [
|
||||||
{ name: 'tmpfs', mountPath: '/tmp', readOnly: false },
|
{ name: 'tmpfs', mountPath: '/tmp', readOnly: false },
|
||||||
{ name: 'volume-serving-cert', mountPath: '/var/run/serving-cert', readOnly: false },
|
{ name: 'volume-serving-cert', mountPath: '/var/run/serving-cert', readOnly: false },
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ spec:
|
|||||||
name: prometheus-adapter
|
name: prometheus-adapter
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 6443
|
- containerPort: 6443
|
||||||
|
name: https
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
|
|||||||
Reference in New Issue
Block a user