Hi, We are looking at deploying caddy as a proxy inside kubernetes and were wondering if it is a good fit for the following:
What we have is http requests coming from outside the kubernetes cluster, going through an ingress controller and hitting a service/pod that acts as a proxy to forward the request to a backend system (with a fixed hostname).
We’ve been running nginx as a simple system, it just loads an nginx container and a config. But this has caused problems when the backend DNS changes and ngix doesn’t (cause thats a premium nginx feature). We had a look at using traefik since we use it for our ingress but the manual config for that is a little user-hostile.
A couple of people recommended caddy and we are looking at that. We’d just be hoping to put a config in a configmap and run it using helm.
We’ve looked around a little, obviously the recent v2 upgrade makes stuff hard to google. We were wondering:
- If others are running it as a standalone inside kubernetes
- Is there is a helm chart around that you’d recommend?
- Are there any tricks to running under kubernetes/docker
- Is there a good sample caddyfile for a proxy? I have found Composing in the Caddyfile but most other docs just seem to have fragments.
Apologies if these questions are bit beginner. But most people seem to is caddy slightly differently to what we are looking at.