ceph-csi/vendor/k8s.io/kubernetes/examples/nodesjs-mongodb/web-service.yaml

14 lines
194 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: Service
metadata:
name: web
labels:
name: web
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 3000
protocol: TCP
selector:
name: web