fix traefik deployment
This commit is contained in:
@@ -7,22 +7,7 @@ deployment:
|
||||
kind: Deployment
|
||||
# Number of pods of the deployment (only applies when kind == Deployment)
|
||||
replicas: 1
|
||||
# Number of old history to retain to allow rollback (If not set, default Kubernetes value is set to 10)
|
||||
# revisionHistoryLimit: 1
|
||||
# Amount of time (in seconds) before Kubernetes will send the SIGKILL signal if Traefik does not shut down
|
||||
terminationGracePeriodSeconds: 60
|
||||
# The minimum number of seconds Traefik needs to be up and running before the DaemonSet/Deployment controller considers it available
|
||||
minReadySeconds: 0
|
||||
# Additional deployment annotations (e.g. for jaeger-operator sidecar injection)
|
||||
annotations: {}
|
||||
# Additional deployment labels (e.g. for filtering deployment by custom labels)
|
||||
labels: {}
|
||||
# Additional pod annotations (e.g. for mesh injection or prometheus scraping)
|
||||
podAnnotations: {}
|
||||
# Additional Pod labels (e.g. for filtering Pod by custom labels)
|
||||
podLabels: {}
|
||||
# Additional containers (e.g. for metric offloading sidecars)
|
||||
additionalContainers: []
|
||||
|
||||
# Additional volumes available for use with initContainers and additionalContainers
|
||||
additionalVolumes:
|
||||
- name: certs
|
||||
@@ -31,9 +16,7 @@ deployment:
|
||||
- name: traefik-config
|
||||
configMap:
|
||||
name: traefik-config
|
||||
initContainers: []
|
||||
# Use process namespace sharing
|
||||
shareProcessNamespace: false
|
||||
|
||||
|
||||
# Use ingressClass. Ignored if Traefik version < 2.3 / kubernetes < 1.18.x
|
||||
ingressClass:
|
||||
@@ -73,8 +56,6 @@ ingressRoute:
|
||||
enabled: false
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Configure providers
|
||||
#
|
||||
@@ -83,54 +64,16 @@ providers:
|
||||
enabled: true
|
||||
allowCrossNamespace: false
|
||||
allowExternalNameServices: true
|
||||
allowEmptyServices: false
|
||||
# ingressClass: traefik-internal
|
||||
# labelSelector: environment=production,method=traefik
|
||||
namespaces: []
|
||||
# - "default"
|
||||
|
||||
kubernetesIngress:
|
||||
enabled: true
|
||||
allowExternalNameServices: true
|
||||
allowEmptyServices: false
|
||||
ingressClass: traefik
|
||||
# labelSelector: environment=production,method=traefik
|
||||
namespaces: []
|
||||
# - "default"
|
||||
# IP used for Kubernetes Ingress endpoints
|
||||
publishedService:
|
||||
enabled: false
|
||||
# Published Kubernetes Service to copy status from. Format: namespace/servicename
|
||||
# By default this Traefik service
|
||||
# pathOverride: ""
|
||||
|
||||
|
||||
# Add volumes to the traefik pod. The volume name will be passed to tpl.
|
||||
# This can be used to mount a cert pair or a configmap that holds a config.toml file.
|
||||
# After the volume has been mounted, add the configs into traefik by using the `additionalArguments` list below, eg:
|
||||
# additionalArguments:
|
||||
# - "--providers.file.filename=/config/dynamic.toml"
|
||||
# - "--ping"
|
||||
# - "--ping.entrypoint=web"
|
||||
volumes: []
|
||||
# - name: traefik-config
|
||||
# mountPath: /config
|
||||
# configMap:
|
||||
# name: traefik-config
|
||||
|
||||
|
||||
|
||||
# Additional volumeMounts to add to the Traefik container
|
||||
additionalVolumeMounts:
|
||||
# - name: traefik-logs
|
||||
# mountPath: /var/log/traefik
|
||||
# nfs:
|
||||
# server: 192.168.1.157
|
||||
# path: /kluster/traefik
|
||||
# # For instance when using a logshipper for access logs
|
||||
# - name: traefik-logs
|
||||
# # claimName: traefik-logs
|
||||
# mountPath: /var/log/traefik
|
||||
- name: certs
|
||||
# claimName: traefik-certificate
|
||||
mountPath: /certs
|
||||
@@ -138,10 +81,9 @@ additionalVolumeMounts:
|
||||
mountPath: /config
|
||||
|
||||
|
||||
globalArguments:
|
||||
additionalArguments:
|
||||
- "--configfile=/config/traefik.toml"
|
||||
|
||||
additionalArguments: []
|
||||
|
||||
# Environment variables to be passed to Traefik's binary
|
||||
env:
|
||||
@@ -155,17 +97,12 @@ ports:
|
||||
# add a new one, the other ones are kept the same.
|
||||
dnsovertls:
|
||||
port: 8853
|
||||
expose: true
|
||||
expose:
|
||||
default: true
|
||||
exposedPort: 853
|
||||
protocol: TCP
|
||||
|
||||
|
||||
envFrom: []
|
||||
# - configMapRef:
|
||||
# name: config-map-name
|
||||
# - secretRef:
|
||||
# name: secret-name
|
||||
|
||||
|
||||
tlsOptions: {}
|
||||
|
||||
|
Reference in New Issue
Block a user