apiVersion: v1
kind: Service
metadata:
  annotations:
    #to specify that the load balancer should use HTTPS to communicate with the application
    cloud.google.com/app-protocols: '{"https-port":"HTTPS"}'
  name: app
spec:
  type: NodePort
  ports:
  - name: https-port
    nodePort: 32380 #set automatically, if omitted 
    port: 443
    targetPort: 4443
  selector:
    io.kompose.service: app
