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:
|
||||
# advertisedPort: 42
|
||||
websecure:
|
||||
address: ":8443/tcp"
|
||||
address: ":8443"
|
||||
http:
|
||||
tls:
|
||||
options: default
|
||||
|
|
@ -36,8 +36,8 @@ data:
|
|||
# - auth@file
|
||||
# - secure_headers@file
|
||||
# - crowdsec-bouncer@file
|
||||
# http3:
|
||||
# advertisedPort: 443
|
||||
http3:
|
||||
advertisedPort: 443
|
||||
traefik:
|
||||
address: ":9000/tcp"
|
||||
metrics:
|
||||
|
|
@ -50,7 +50,11 @@ data:
|
|||
{% endif%}
|
||||
{% for traefik_entrypoint in traefik_entrypoints %}
|
||||
{{ 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 %}
|
||||
http:
|
||||
{% if traefik_entrypoint.middlewares is defined %}
|
||||
|
|
|
|||
|
|
@ -58,6 +58,9 @@ ports:
|
|||
{% if traefik_service_type == "NodePort" %}
|
||||
nodePort: 443
|
||||
{% endif %}
|
||||
http3:
|
||||
enabled: true
|
||||
advertisedPort: 443
|
||||
# tls:
|
||||
# enabled: true
|
||||
# options: default
|
||||
|
|
@ -95,8 +98,6 @@ updateStrategy:
|
|||
type: OnDelete
|
||||
{% endif %}
|
||||
experimental:
|
||||
http3:
|
||||
enabled: true
|
||||
plugins:
|
||||
enabled: true
|
||||
kubernetesGateway:
|
||||
|
|
|
|||
|
|
@ -4,6 +4,17 @@ metadata:
|
|||
name: traefik
|
||||
labels:
|
||||
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:
|
||||
entryPoints:
|
||||
|
|
|
|||
|
|
@ -16,6 +16,10 @@ spec:
|
|||
port: 443
|
||||
protocol: TCP
|
||||
targetPort: websecure
|
||||
- name: websecure-http3
|
||||
port: 443
|
||||
protocol: UDP
|
||||
targetPort: websecure
|
||||
{% if traefik_external_ips is defined %}
|
||||
externalIPs:
|
||||
{% for traefik_external_ip in traefik_external_ips %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue