apiVersion: v1
kind: Service
metadata:
  name: sample
spec:
  type: LoadBalancer
  selector:
    app: sample
  ports:
  - name: http
    port: 80
    targetPort: 8080
  - name: https
    port: 443
    targetPort: 8443
