Enable http/3
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
37c90c3c42
commit
8a6b74906e
4 changed files with 26 additions and 6 deletions
|
|
@ -28,7 +28,7 @@ data:
|
||||||
# http3:
|
# http3:
|
||||||
# advertisedPort: 42
|
# advertisedPort: 42
|
||||||
websecure:
|
websecure:
|
||||||
address: ":8443/tcp"
|
address: ":8443"
|
||||||
http:
|
http:
|
||||||
tls:
|
tls:
|
||||||
options: default
|
options: default
|
||||||
|
|
@ -36,8 +36,8 @@ data:
|
||||||
# - auth@file
|
# - auth@file
|
||||||
# - secure_headers@file
|
# - secure_headers@file
|
||||||
# - crowdsec-bouncer@file
|
# - crowdsec-bouncer@file
|
||||||
# http3:
|
http3:
|
||||||
# advertisedPort: 443
|
advertisedPort: 443
|
||||||
traefik:
|
traefik:
|
||||||
address: ":9000/tcp"
|
address: ":9000/tcp"
|
||||||
metrics:
|
metrics:
|
||||||
|
|
@ -50,7 +50,11 @@ data:
|
||||||
{% endif%}
|
{% endif%}
|
||||||
{% for traefik_entrypoint in traefik_entrypoints %}
|
{% for traefik_entrypoint in traefik_entrypoints %}
|
||||||
{{ traefik_entrypoint.name }}:
|
{{ traefik_entrypoint.name }}:
|
||||||
address: :{{ traefik_entrypoint.port }}
|
{% if traefik_entrypoint.proto is defined %}
|
||||||
|
address: ":{{ traefik_entrypoint.port }}/{{ traefik_entrypoint.proto | lower }}"
|
||||||
|
{% else %}
|
||||||
|
address: ":{{ traefik_entrypoint.port }}"
|
||||||
|
{% endif %}
|
||||||
{% if traefik_entrypoint.tls is defined or traefik_entrypoint.middlewares is defined %}
|
{% if traefik_entrypoint.tls is defined or traefik_entrypoint.middlewares is defined %}
|
||||||
http:
|
http:
|
||||||
{% if traefik_entrypoint.middlewares is defined %}
|
{% if traefik_entrypoint.middlewares is defined %}
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,9 @@ ports:
|
||||||
{% if traefik_service_type == "NodePort" %}
|
{% if traefik_service_type == "NodePort" %}
|
||||||
nodePort: 443
|
nodePort: 443
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
http3:
|
||||||
|
enabled: true
|
||||||
|
advertisedPort: 443
|
||||||
# tls:
|
# tls:
|
||||||
# enabled: true
|
# enabled: true
|
||||||
# options: default
|
# options: default
|
||||||
|
|
@ -95,8 +98,6 @@ updateStrategy:
|
||||||
type: OnDelete
|
type: OnDelete
|
||||||
{% endif %}
|
{% endif %}
|
||||||
experimental:
|
experimental:
|
||||||
http3:
|
|
||||||
enabled: true
|
|
||||||
plugins:
|
plugins:
|
||||||
enabled: true
|
enabled: true
|
||||||
kubernetesGateway:
|
kubernetesGateway:
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,17 @@ metadata:
|
||||||
name: traefik
|
name: traefik
|
||||||
labels:
|
labels:
|
||||||
app: traefik
|
app: traefik
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: traefik.{{ cluster_domain }}
|
||||||
|
external-dns.alpha.kubernetes.io/endpoints-type: NodeExternalIP
|
||||||
|
{% if false %}
|
||||||
|
# external-dns.alpha.kubernetes.io/endpoints-type: HostIP
|
||||||
|
# external-dns.alpha.kubernetes.io/target: "1.2.3.4"
|
||||||
|
|
||||||
|
# external-dns.alpha.kubernetes.io/ttl: "120"
|
||||||
|
# external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,10 @@ spec:
|
||||||
port: 443
|
port: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: websecure
|
targetPort: websecure
|
||||||
|
- name: websecure-http3
|
||||||
|
port: 443
|
||||||
|
protocol: UDP
|
||||||
|
targetPort: websecure
|
||||||
{% if traefik_external_ips is defined %}
|
{% if traefik_external_ips is defined %}
|
||||||
externalIPs:
|
externalIPs:
|
||||||
{% for traefik_external_ip in traefik_external_ips %}
|
{% for traefik_external_ip in traefik_external_ips %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue