kind: Service
apiVersion: v1
metadata:
  name: homeautomation-frontend
  labels:
    app: homeautomation
    tier: frontend
spec:
  selector:
    app: homeautomation
    tier: frontend
  ports:
    - name: "http"
      protocol: TCP
      port: 80
      targetPort: 80
    - name: "https"
      protocol: TCP
      port: 443
      targetPort: 443
  type: LoadBalancer
  externalName: homeautomation.gth
