16 lines
272 B
YAML
16 lines
272 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: app-service
|
||
|
namespace: default
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: 80-tcp
|
||
|
port: 80
|
||
|
protocol: TCP
|
||
|
targetPort: 4000
|
||
|
selector:
|
||
|
com.docker.project: node-app
|
||
|
type: LoadBalancer
|
||
|
status:
|
||
|
loadBalancer: {}
|