apiVersion: v1
kind: Service
metadata:
  name: nodejs-sample-frontend
  labels:
    app: nodejs-sample
    tier: frontend
spec:
  type: LoadBalancer
  selector:
    app: nodejs-sample
    tier: frontend
  ports:
  - port: 80
    targetPort: http-server