title: microk8s Ingress can't access services (503)
body: <p>I'm running microk8s v1.18.5 from snap on Ubuntu 20.04 with addons <code>ingress</code>, <code>dns</code>, <code>dashboard</code>, <code>helm3</code>, <code>storage</code>.</p>
  <p>I'm trying to externally access running services such as <code>grafana</code> and <code>dashboard</code>. I've configured proxy services and ingresses as per docs:</p>
  <pre><code>kind: Service
  apiVersion: v1
  metadata:
    name: grafana
    namespace: ingress
  spec:
    type: ExternalName
    externalName: monitoring-grafana.kube-system.svc.cluster.local
    ports:
      - port: 80
  ---
  kind: Ingress
  apiVersion: networking.k8s.io/v1beta1
  metadata:
    name: grafana-ingress
    annotations:
      kubernetes.io/ingress.class: &quot;nginx&quot;
      cert-manager.io/cluster-issuer: &quot;letsencrypt-prod&quot;
      kubernetes.io/tls-acme: &quot;true&quot;
  spec:
    tls:
      - hosts:
          - &quot;grafana.example.com&quot;
        secretName: grafana-tls
    rules:
      - host: grafana.example.com
        http:
          paths:
            - backend:
                serviceName: grafana
                servicePort: 80
              path: /
  ---
  </code></pre>
  <p>and</p>
  <pre><code>kind: Service
  apiVersion: v1
  metadata:
    name: dashboard
    namespace: ingress
  spec:
    type: ExternalName
    externalName: kubernetes-dashboard.kube-system.svc.cluster.local
    ports:
      - port: 443
  ---
  kind: Ingress
  apiVersion: networking.k8s.io/v1beta1
  metadata:
    name: dashboard-ingress
    annotations:
      kubernetes.io/ingress.class: &quot;nginx&quot;
      cert-manager.io/cluster-issuer: &quot;letsencrypt-prod&quot;
      kubernetes.io/tls-acme: &quot;true&quot;
  spec:
    tls:
      - hosts:
          - &quot;dashboard.example.com&quot;
        secretName: dashboard-tls
    rules:
      - host: dashboard.example.com
        http:
          paths:
            - backend:
                serviceName: dashboard
                servicePort: 443
              path: /
  ---
  </code></pre>
  <p>Trying to access either dashboard or grafana I get:</p>
  <pre><code>503 Service Temporarily Unavailable
  openresty/1.15.8.1
  </code></pre>
  <p>What can I do to find the root cause?</p>
  <p>I'm also running cert-manager and external-dns from helm3, could their config be related to the issue?</p>