2017-08-31 18:28:57 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: nginx-ingress-controller
|
|
|
|
namespace: ingress
|
2018-05-19 22:05:50 +02:00
|
|
|
annotations:
|
|
|
|
prometheus.io/scrape: 'true'
|
|
|
|
prometheus.io/port: '10254'
|
2017-08-31 18:28:57 +02:00
|
|
|
spec:
|
|
|
|
type: ClusterIP
|
|
|
|
selector:
|
|
|
|
name: nginx-ingress-controller
|
|
|
|
phase: prod
|
|
|
|
ports:
|
|
|
|
- name: http
|
|
|
|
protocol: TCP
|
|
|
|
port: 80
|
|
|
|
targetPort: 80
|
|
|
|
- name: https
|
|
|
|
protocol: TCP
|
|
|
|
port: 443
|
|
|
|
targetPort: 443
|