Compare commits
10 Commits
e92e05b98f
...
70b3491072
| Author | SHA1 | Date | |
|---|---|---|---|
| 70b3491072 | |||
| 39ad7757f8 | |||
| ffbe97815b | |||
| e22f6211b0 | |||
| 40e02a4ac4 | |||
| b4049151d6 | |||
| 485b588a7e | |||
| f6a1b29425 | |||
| 6b626b099a | |||
| 565b60a970 |
@@ -8,15 +8,15 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# Replica count for operator
|
# Replica count for operator
|
||||||
replicaCount: 2
|
replicaCount: 1
|
||||||
|
|
||||||
# Resource requests for operator
|
# Resource requests for operator
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 128Mi
|
memory: 121Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 121Mi
|
||||||
|
|
||||||
# RBAC
|
# RBAC
|
||||||
rbac:
|
rbac:
|
||||||
@@ -67,6 +67,9 @@ nodeSelector: {}
|
|||||||
# Tolerations
|
# Tolerations
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
|
# High priority for critical database operator
|
||||||
|
priorityClassName: high-priority
|
||||||
|
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ rootPasswordSecretKey: root-password
|
|||||||
# Resources
|
# Resources
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 263Mi
|
memory: 175Mi
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
limits:
|
limits:
|
||||||
memory: 263Mi
|
memory: 175Mi
|
||||||
|
|
||||||
# Service
|
# Service
|
||||||
service:
|
service:
|
||||||
@@ -58,7 +58,7 @@ environment:
|
|||||||
MINIO_API_REPLICATION_MAX_WORKERS: "1"
|
MINIO_API_REPLICATION_MAX_WORKERS: "1"
|
||||||
MINIO_API_REPLICATION_MAX_LRG_WORKERS: "1"
|
MINIO_API_REPLICATION_MAX_LRG_WORKERS: "1"
|
||||||
MINIO_API_TRANSITION_WORKERS: "1"
|
MINIO_API_TRANSITION_WORKERS: "1"
|
||||||
MINIO_SCANNER_SPEED: "slow"
|
MINIO_SCANNER_SPEED: "slowest"
|
||||||
|
|
||||||
# API Ingress (S3 endpoint)
|
# API Ingress (S3 endpoint)
|
||||||
ingress:
|
ingress:
|
||||||
@@ -101,16 +101,18 @@ affinity:
|
|||||||
- minio
|
- minio
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
|
|
||||||
# Tolerations for control-plane node (minio-0 runs on control-plane)
|
# High priority for critical storage infrastructure
|
||||||
tolerations:
|
priorityClassName: high-priority
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoSchedule"
|
|
||||||
|
|
||||||
# Prometheus metrics
|
# Prometheus metrics
|
||||||
metrics:
|
metrics:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true # Enable ServiceMonitor for Prometheus scraping
|
enabled: true
|
||||||
|
includeNode: true
|
||||||
|
additionalLabels:
|
||||||
|
release: prometheus
|
||||||
|
interval: 30s
|
||||||
|
scrapeTimeout: 10s
|
||||||
|
|
||||||
# Disable post-install job by setting all triggers to empty
|
# Disable post-install job by setting all triggers to empty
|
||||||
# Job is created if any of: buckets, users, policies, customCommands, svcaccts exist
|
# Job is created if any of: buckets, users, policies, customCommands, svcaccts exist
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: minio-console
|
app: minio-console
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: minio-console
|
app: minio-console
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
replicas: 2
|
replicas: 1
|
||||||
annotations:
|
annotations:
|
||||||
reloader.stakater.com/auto: "true"
|
reloader.stakater.com/auto: "true"
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@@ -67,10 +67,6 @@ spec:
|
|||||||
# Affinity to spread replicas across nodes (soft - prefer different nodes)
|
# Affinity to spread replicas across nodes (soft - prefer different nodes)
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinityType: preferred
|
podAntiAffinityType: preferred
|
||||||
tolerations:
|
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoSchedule"
|
|
||||||
|
|
||||||
# Enable superuser access
|
# Enable superuser access
|
||||||
enableSuperuserAccess: true
|
enableSuperuserAccess: true
|
||||||
|
|||||||
@@ -74,9 +74,9 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m # VPA recommendation
|
cpu: 15m # VPA recommendation
|
||||||
memory: 128Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 256Mi
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
@@ -86,15 +86,6 @@ spec:
|
|||||||
- name: BASIC_AUTH_ENABLED
|
- name: BASIC_AUTH_ENABLED
|
||||||
value: "false"
|
value: "false"
|
||||||
|
|
||||||
# Run on master node with velero controller
|
|
||||||
nodeSelector:
|
|
||||||
node-role.kubernetes.io/control-plane: "true"
|
|
||||||
|
|
||||||
tolerations:
|
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoSchedule"
|
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
envFrom: []
|
envFrom: []
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ replicaCount: 1
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 11m
|
cpu: 11m
|
||||||
memory: 128Mi
|
memory: 75Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 75Mi
|
||||||
|
|
||||||
# Init containers for plugins
|
# Init containers for plugins
|
||||||
initContainers:
|
initContainers:
|
||||||
@@ -39,16 +39,10 @@ nodeAgent:
|
|||||||
privileged: false
|
privileged: false
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m # VPA recommendation: 15m
|
cpu: 15m
|
||||||
memory: 256Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 256Mi
|
memory: 100Mi
|
||||||
# Run on all nodes including control-plane for full backup coverage
|
|
||||||
tolerations:
|
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoSchedule"
|
|
||||||
|
|
||||||
# Configuration for backup storage
|
# Configuration for backup storage
|
||||||
configuration:
|
configuration:
|
||||||
# Use existing BackupStorageLocation and VolumeSnapshotLocation
|
# Use existing BackupStorageLocation and VolumeSnapshotLocation
|
||||||
@@ -81,7 +75,8 @@ configuration:
|
|||||||
# This prevents status updates that trigger ArgoCD refreshes
|
# This prevents status updates that trigger ArgoCD refreshes
|
||||||
storeValidationFrequency: 0s
|
storeValidationFrequency: 0s
|
||||||
|
|
||||||
# Note: backup-sync is enabled to show backups in velero-ui
|
# Disable backup-sync (user only uses manual backups)
|
||||||
|
backupSyncPeriod: 0s
|
||||||
|
|
||||||
# Credentials for S3 access (from Vault via External Secrets)
|
# Credentials for S3 access (from Vault via External Secrets)
|
||||||
credentials:
|
credentials:
|
||||||
@@ -106,15 +101,5 @@ serviceAccount:
|
|||||||
rbac:
|
rbac:
|
||||||
create: true
|
create: true
|
||||||
|
|
||||||
# Node selector - Run on control-plane node for stability
|
|
||||||
nodeSelector:
|
|
||||||
node-role.kubernetes.io/control-plane: "true"
|
|
||||||
|
|
||||||
# Tolerations - Allow scheduling on control-plane node
|
|
||||||
tolerations:
|
|
||||||
- key: "node-role.kubernetes.io/control-plane"
|
|
||||||
operator: "Exists"
|
|
||||||
effect: "NoSchedule"
|
|
||||||
|
|
||||||
# Affinity (disabled - single replica on master)
|
# Affinity (disabled - single replica on master)
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ controllers:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 128Mi
|
memory: 121Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 128Mi
|
memory: 121Mi
|
||||||
service:
|
service:
|
||||||
zot:
|
zot:
|
||||||
controller: zot
|
controller: zot
|
||||||
|
|||||||
Reference in New Issue
Block a user