mirror of
https://github.com/wahyd4/home-argocd.git
synced 2026-08-09 05:06:20 +10:00
96 lines
2.6 KiB
YAML
96 lines
2.6 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: ingress
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
chart: nginx-ingress-controller
|
|
repoURL: https://charts.bitnami.com/bitnami
|
|
path: nginx-ingress-controller
|
|
targetRevision: 11.0.2
|
|
# values reference https://raw.githubusercontent.com/bitnami/charts/main/bitnami/nginx-ingress-controller/values.yaml
|
|
helm:
|
|
releaseName: ingress
|
|
values: |
|
|
kind: DaemonSet
|
|
hostNetwork: false
|
|
daemonset:
|
|
useHostPort: true
|
|
hostPorts:
|
|
http: 80
|
|
https: 443
|
|
image:
|
|
registry: mirror.gcr.io
|
|
# tag: 1.4.0-debian-11-r13
|
|
containerPorts:
|
|
http: 80
|
|
https: 443
|
|
metrics: 10354 # used to be 10254
|
|
metrics:
|
|
enabled: true
|
|
serviceMonitor:
|
|
enabled: true
|
|
namespace: prometheus
|
|
interval: "20s"
|
|
labels:
|
|
release: prometheus
|
|
stats:
|
|
enabled: true
|
|
podAnnotations:
|
|
fluentbit.io/parser: cri
|
|
test: test
|
|
nodeSelector:
|
|
kubernetes.io/hostname: server-3
|
|
tolerations:
|
|
- key: "node"
|
|
operator: "Equal"
|
|
value: "special"
|
|
effect: "NoSchedule"
|
|
- key: node-role.kubernetes.io/master
|
|
operator: Equal
|
|
value: ""
|
|
effect: NoSchedule
|
|
- key: node-role.kubernetes.io/control-plane
|
|
operator: Equal
|
|
value: ""
|
|
effect: NoSchedule
|
|
resources:
|
|
requests:
|
|
cpu: 700m
|
|
memory: 1Gi
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 1.5Gi
|
|
service:
|
|
type: NodePort
|
|
ports:
|
|
http: 80
|
|
https: 443
|
|
defaultBackend:
|
|
enabled: false
|
|
podAnnotations:
|
|
fluentbit.io/exclude: "true"
|
|
config:
|
|
proxy-buffering: "on"
|
|
proxy-buffers: 4 "512k"
|
|
proxy-buffer-size: "256k"
|
|
client-body-buffer-size: "64m"
|
|
client-body-timeout: "600"
|
|
worker-processes: "12"
|
|
ssl-session-cache: "true"
|
|
access-log-path: /var/log/nginx/error.log
|
|
max-worker-connections: "100000"
|
|
worker-rlimit-nofile: "102400"
|
|
worker-cpu-affinity: "auto 111111111111111111111111"
|
|
max-worker-open-files: "4096"
|
|
denylist-source-range: "61.147.96.60"
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: nginx-ingress
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|