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