harbor/make/kubernetes/nginx/nginx.svc.yaml

13 lines
167 B
YAML
Raw Normal View History

2016-04-03 05:27:56 +02:00
apiVersion: v1
kind: Service
metadata:
2016-11-21 09:07:04 +01:00
name: nginx
2016-04-03 05:27:56 +02:00
spec:
ports:
- name: http
2016-04-03 05:27:56 +02:00
port: 80
- name: https
2016-04-03 05:27:56 +02:00
port: 443
selector:
2016-11-21 09:07:04 +01:00
name: nginx-apps