55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
|
|
---
|
||
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||
|
|
kind: HelmRelease
|
||
|
|
metadata:
|
||
|
|
name: eck-operator
|
||
|
|
namespace: elasticsearch-system
|
||
|
|
spec:
|
||
|
|
interval: 5m
|
||
|
|
timeout: 10m
|
||
|
|
chart:
|
||
|
|
spec:
|
||
|
|
chart: eck-operator
|
||
|
|
version: "2.16.1" # Latest stable version
|
||
|
|
sourceRef:
|
||
|
|
kind: HelmRepository
|
||
|
|
name: elastic
|
||
|
|
namespace: elasticsearch-system
|
||
|
|
interval: 1m
|
||
|
|
values:
|
||
|
|
# ECK Operator Configuration
|
||
|
|
installCRDs: true
|
||
|
|
|
||
|
|
# Resource limits for operator - optimized based on actual usage
|
||
|
|
resources:
|
||
|
|
requests:
|
||
|
|
cpu: 25m # Reduced from 100m - actual usage ~4m
|
||
|
|
memory: 128Mi # Reduced from 150Mi - actual usage ~81MB
|
||
|
|
limits:
|
||
|
|
cpu: 200m # Reduced from 1000m but still adequate for operator tasks
|
||
|
|
memory: 256Mi # Reduced from 512Mi but still adequate
|
||
|
|
|
||
|
|
# Node selection for operator
|
||
|
|
nodeSelector: {}
|
||
|
|
tolerations: []
|
||
|
|
|
||
|
|
# Security configuration
|
||
|
|
podSecurityContext:
|
||
|
|
runAsNonRoot: true
|
||
|
|
|
||
|
|
# Webhook configuration
|
||
|
|
webhook:
|
||
|
|
enabled: true
|
||
|
|
|
||
|
|
# Metrics
|
||
|
|
metrics:
|
||
|
|
port: 0 # Disable metrics endpoint for now
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
config:
|
||
|
|
logVerbosity: 0
|
||
|
|
metricsPort: 0
|
||
|
|
|
||
|
|
# Additional volumes/mounts if needed
|
||
|
|
extraVolumes: []
|
||
|
|
extraVolumeMounts: []
|