kind: Service
apiVersion: v1
metadata:
  name: leaflet-fireacademy-io
  annotations:
    kubernetes.digitalocean.com/load-balancer-id: "leaflet-fireacademy-io"
    service.beta.kubernetes.io/do-loadbalancer-size-unit: "1"
    service.beta.kubernetes.io/do-loadbalancer-protocol: "https"
    service.beta.kubernetes.io/do-loadbalancer-tls-passthrough: "false"
    service.beta.kubernetes.io/do-loadbalancer-certificate-id: "0a5b911d-e11d-4977-99f3-d8000906107e"
    service.beta.kubernetes.io/do-loadbalancer-tls-ports: "18444"
    service.beta.kubernetes.io/do-loadbalancer-healthcheck-port: "18444"
    service.beta.kubernetes.io/do-loadbalancer-healthcheck-protocol: "http"
    service.beta.kubernetes.io/do-loadbalancer-healthcheck-path: "/ready"
    service.beta.kubernetes.io/do-loadbalancer-healthcheck-check-interval-seconds: "3"
    service.beta.kubernetes.io/do-loadbalancer-healthcheck-response-timeout-seconds: "5"
    service.beta.kubernetes.io/do-loadbalancer-healthcheck-unhealthy-threshold: "2"
    service.beta.kubernetes.io/do-loadbalancer-healthcheck-healthy-threshold: "10"
    service.beta.kubernetes.io/do-loadbalancer-redirect-http-to-https: "true"
    service.beta.kubernetes.io/do-loadbalancer-algorithm: "least_connections"
    service.beta.kubernetes.io/do-loadbalancer-enable-backend-keepalive: "true"
spec:
  type: LoadBalancer
  selector:
    application: leaflet
    service: leaflet
  ports:
    - name: https
      protocol: TCP
      port: 443
      targetPort: 18444
    - name: https-default
      protocol: TCP
      port: 18444
      targetPort: 18444