20 lines
338 B
YAML
20 lines
338 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: nginx-ingress-controller
|
||
|
namespace: ingress
|
||
|
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
|