Traefik-hub deployment
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7ced7add47
commit
e76a31ffeb
3 changed files with 54 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml
|
||||
#image:
|
||||
# tag: "{{ traefik_version }}"
|
||||
#fullnameOverride: "{{ my_context }}"
|
||||
additionalArguments:
|
||||
- --configFile=/etc/traefik/traefik.yaml
|
||||
#podSecurityPolicy:
|
||||
|
|
@ -35,8 +36,9 @@ autoscaling:
|
|||
resource:
|
||||
name: memory
|
||||
targetAverageUtilization: 60
|
||||
{% if traefik_service_type == "NodePort" and false %}
|
||||
{% if traefik_service_type == "NodePort" or traefik_hub_token is defined %}
|
||||
ports:
|
||||
{% if traefik_service_type == "NodePort" and false %}
|
||||
web:
|
||||
# redirectTo: websecure
|
||||
# hostPort: 80
|
||||
|
|
@ -48,6 +50,14 @@ ports:
|
|||
# enabled: true
|
||||
# options: default
|
||||
{% endif %}
|
||||
{% if traefik_hub_token is defined %}
|
||||
traefikhub-tunl:
|
||||
port: 9901
|
||||
expose: true
|
||||
exposedPort: 9901
|
||||
protocol: "TCP"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
volumes:
|
||||
- mountPath: /etc/traefik
|
||||
name: traefik-conf
|
||||
|
|
@ -61,7 +71,7 @@ volumes:
|
|||
deployment:
|
||||
replicas: 1
|
||||
podAnnotations:
|
||||
prometheus.io/port: '9000'
|
||||
prometheus.io/port: '9100'
|
||||
prometheus.io/scrape: 'true'
|
||||
experimental:
|
||||
http3:
|
||||
|
|
@ -70,3 +80,7 @@ experimental:
|
|||
enabled: true
|
||||
kubernetesGateway:
|
||||
enabled: false
|
||||
{% if traefik_hub_token is defined %}
|
||||
hub:
|
||||
enabled: true
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue