57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
controller:
|
|
admin:
|
|
username: admin
|
|
|
|
serviceType: ClusterIP
|
|
|
|
persistence:
|
|
enabled: true
|
|
storageClass: jenkins-auto-ebs
|
|
size: 20Gi
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 2Gi
|
|
|
|
# =========================
|
|
# PROBES (FIX FOR YOUR ISSUE)
|
|
# =========================
|
|
|
|
# Disable startup probe (prevents false 503 failures during boot)
|
|
startupProbe: null
|
|
|
|
# Jenkins readiness check
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /login
|
|
port: http
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 10
|
|
successThreshold: 1
|
|
|
|
# Jenkins liveness check
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /login
|
|
port: http
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 5
|
|
successThreshold: 1
|
|
|
|
# =========================
|
|
# PLUGINS (STABLE SETUP)
|
|
# =========================
|
|
installPlugins:
|
|
- kubernetes
|
|
- workflow-aggregator
|
|
- git
|
|
- configuration-as-code
|
|
|
|
agent:
|
|
enabled: true |