typhoon/addons/nginx-ingress/bare-metal/service.yaml

24 lines
441 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
2024-11-04 20:29:21 +01:00
name: nginx-ingress-controller
namespace: ingress
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '10254'
spec:
type: ClusterIP
clusterIP: 10.3.0.12
selector:
2024-11-04 20:29:21 +01:00
name: nginx-ingress-controller
phase: prod
ports:
- name: http
protocol: TCP
port: 80
targetPort: 80
- name: https
protocol: TCP
port: 443
targetPort: 443