add readme

This commit is contained in:
ducoterra
2020-04-19 13:59:20 -04:00
parent fa39bec3ca
commit 2090a38310

32
README.md Normal file
View File

@@ -0,0 +1,32 @@
# Traefik Config
## Holy crap this is hard
## Docs
Configuration Examples: <https://docs.traefik.io/routing/providers/kubernetes-ingress/>
CLI Reference: <https://docs.traefik.io/reference/static-configuration/cli/>
## Ingress Example
```yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
annotations:
ingress.kubernetes.io/ssl-redirect: "true"
kubernetes.io/ingress.class: "traefik-external"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
name: jf-external
spec:
tls:
- secretName: letsencrypt
rules:
- host: jellyfin.ducoterra.net
http:
paths:
- path: /
backend:
serviceName: jf
servicePort: 8096
```