khuedoan-homelab/docs/how-to-guides/expose-services-to-the-internet.md
Khue Doan 1405fadf1a refactor(docs): apply the Diátaxis framework
Squashed commit of the following:

commit 257867f196376df55fa0f57edbdf33967b1da04e
Author: Khue Doan <mail@khuedoan.com>
Date:   Sun Sep 18 16:45:42 2022 +0700

    refactor(docs): apply the Diátaxis framework
2022-09-19 02:40:07 +07:00

539 B

Expose services to the internet

!!! info

This tutorial is for Cloudflare Tunnel users, please skip if you use port forwarding.

Apply the ./external layer to create a tunnel if you haven't already, then add the following annotations to your Ingress object (replace example.com with your domain):

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    external-dns.alpha.kubernetes.io/target: "homelab-tunnel.example.com"
    external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
# ...