riju/k8s/02-ingress/03-service.yaml

22 lines
365 B
YAML

---
kind: Service
apiVersion: v1
metadata:
namespace: ingress-nginx
name: ingress-nginx
spec:
type: LoadBalancer
ports:
- name: http
port: 80
protocol: TCP
targetPort: http
appProtocol: http
- name: https
port: 443
protocol: TCP
targetPort: https
appProtocol: https
selector:
app: ingress-nginx