mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
Fixing nginx module service
This commit is contained in:
parent
9b0050c17d
commit
8537ec4186
@ -18,7 +18,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
||||
local servicePort = k.core.v1.service.mixin.spec.portsType;
|
||||
local nginxPort = servicePort.newNamed('prometheus', 10254, 10254);
|
||||
|
||||
service.new('nginx-ingress-metrics', {'app.kubernetes.io/name': 'ingress-nginx'}, nginxPort) +
|
||||
service.new('ingress-nginx-metrics', {'app.kubernetes.io/name': 'ingress-nginx'}, nginxPort) +
|
||||
service.mixin.metadata.withNamespace('ingress-nginx') +
|
||||
service.mixin.metadata.withLabels({'app.kubernetes.io/name': 'ingress-nginx'}) +
|
||||
service.mixin.spec.withClusterIp('None'),
|
||||
|
Loading…
Reference in New Issue
Block a user