diff --git a/deployment/digital-ocean/no-loadbalancer/.gitignore b/deployment/digital-ocean/no-loadbalancer/.gitignore new file mode 100644 index 000000000..e44914af6 --- /dev/null +++ b/deployment/digital-ocean/no-loadbalancer/.gitignore @@ -0,0 +1,2 @@ +mydns.values.yaml +myingress.values.yaml diff --git a/deployment/digital-ocean/no-loadbalancer/README.md b/deployment/digital-ocean/no-loadbalancer/README.md new file mode 100644 index 000000000..1afba0413 --- /dev/null +++ b/deployment/digital-ocean/no-loadbalancer/README.md @@ -0,0 +1,9 @@ +# Solution Withou A Loadbalancer + +## Expose Port 80 On Digital Ocean's Managed Kubernetes Without A Loadbalancer + +Follow [this solution](https://stackoverflow.com/questions/54119399/expose-port-80-on-digital-oceans-managed-kubernetes-without-a-load-balancer/55968709) and install a second firewall, nginx, and use external DNS via Helm 3. + +{% hint style="info" %} +CAUTION: Some of the Helm charts are already depricated, so do an investigation of the approbriate charts and fill the correct commands in here. +{% endhint %} diff --git a/deployment/digital-ocean/no-loadbalancer/templates/mydns.values.template.yaml b/deployment/digital-ocean/no-loadbalancer/templates/mydns.values.template.yaml new file mode 100644 index 000000000..bfef4dd03 --- /dev/null +++ b/deployment/digital-ocean/no-loadbalancer/templates/mydns.values.template.yaml @@ -0,0 +1,11 @@ +--- +provider: digitalocean +digitalocean: + # create the API token at https://cloud.digitalocean.com/account/api/tokens + # needs read + write + apiToken: "DIGITALOCEAN_API_TOKEN" +domainFilters: + # domains you want external-dns to be able to edit + - example.com +rbac: + create: true \ No newline at end of file diff --git a/deployment/digital-ocean/no-loadbalancer/templates/myingress.values.template.yaml b/deployment/digital-ocean/no-loadbalancer/templates/myingress.values.template.yaml new file mode 100644 index 000000000..f901a0677 --- /dev/null +++ b/deployment/digital-ocean/no-loadbalancer/templates/myingress.values.template.yaml @@ -0,0 +1,11 @@ +--- +controller: + kind: DaemonSet + hostNetwork: true + dnsPolicy: ClusterFirstWithHostNet + daemonset: + useHostPort: true + service: + type: ClusterIP +rbac: + create: true \ No newline at end of file