2017-06-08 06:34:36 +00:00
|
|
|
apiVersion: v1
|
|
|
|
|
kind: Service
|
|
|
|
|
metadata:
|
2017-10-13 10:55:03 -03:00
|
|
|
name: ingress-nginx
|
|
|
|
|
namespace: ingress-nginx
|
2017-06-08 06:34:36 +00:00
|
|
|
spec:
|
|
|
|
|
type: NodePort
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
2017-10-13 18:50:37 -03:00
|
|
|
port: 80
|
2017-06-08 06:34:36 +00:00
|
|
|
targetPort: 80
|
|
|
|
|
protocol: TCP
|
2017-09-21 19:53:43 +02:00
|
|
|
- name: https
|
2017-10-13 18:50:37 -03:00
|
|
|
port: 443
|
2017-09-21 19:53:43 +02:00
|
|
|
targetPort: 443
|
|
|
|
|
protocol: TCP
|
2017-06-08 06:34:36 +00:00
|
|
|
selector:
|
2017-10-13 10:55:03 -03:00
|
|
|
app: ingress-nginx
|