Skip to content

Instantly share code, notes, and snippets.

@carlosedp
Created April 20, 2018 21:18
Show Gist options
  • Save carlosedp/0f4bd1f34c56b3ba6cea26e37195d1ff to your computer and use it in GitHub Desktop.
Save carlosedp/0f4bd1f34c56b3ba6cea26e37195d1ff to your computer and use it in GitHub Desktop.
Traefik internal ingress ConfigMap
apiVersion: v1
kind: ConfigMap
metadata:
name: traefik-conf
namespace: kube-system
data:
traefik.toml: |
defaultEntryPoints = ["http","https"]
debug = false
logLevel = "INFO"
# Do not verify backend certificates (use https backends)
InsecureSkipVerify = true
[entryPoints]
[entryPoints.http]
address = ":80"
compress = true
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[web]
address = ":8080"
[kubernetes]
[metrics]
[metrics.prometheus]
buckets=[0.1,0.3,1.2,5.0]
entryPoint = "traefik"
[ping]
entryPoint = "http"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment