feat: add ability to install nginx instead of traefik
This commit is contained in:
1 parent
ea4767f2d8
commit
81286a0673
5 files changed
+144
-7
No files matched your search
@@ -0,0 +1,45 @@
|
||||
controller:
|
||||
metrics:
|
||||
enabled: true
|
||||
config:
|
||||
# Print access log to file instead of stdout
|
||||
# Separating acces logs from the rest
|
||||
access-log-path: "/data/access.log"
|
||||
log-format-escape-json: "true"
|
||||
|
||||
extraVolumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
extraVolumes:
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
extraContainers:
|
||||
- name: stream-accesslog
|
||||
image: busybox
|
||||
args:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- tail -n+1 -F /data/access.log
|
||||
imagePullPolicy: Always
|
||||
resources: {}
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: data
|
||||
allowSnippetAnnotations: true
|
||||
podAnnotations:
|
||||
prometheus.io/path: /metrics
|
||||
prometheus.io/port: "10254"
|
||||
prometheus.io/scheme: http
|
||||
prometheus.io/scrape: "true"
|
||||
tolerations:
|
||||
- key: "CriticalAddonsOnly"
|
||||
operator: "Exists"
|
||||
- key: "node-role.kubernetes.io/control-plane"
|
||||
operator: "Exists"
|
||||
effect: "NoSchedule"
|
||||
- key: "node-role.kubernetes.io/master"
|
||||
operator: "Exists"
|
||||
effect: "NoSchedule"
|
||||
priorityClassName: "system-cluster-critical"
|
||||
Reference in new issue
Block a user