a7f11ccf94
Rancher needs longer than the chart default 2-minute startup probe budget on this cluster while it restores local catalogs and finishes API startup. Extend the startup probe failure threshold so Helm upgrades can complete instead of restarting the new pod before it becomes ready.
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: rancher
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 10m
|
|
timeout: 15m
|
|
targetNamespace: cattle-system
|
|
chart:
|
|
spec:
|
|
chart: rancher
|
|
version: "2.13.3"
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: rancher-stable
|
|
namespace: flux-system
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
remediation:
|
|
retries: 3
|
|
values:
|
|
hostname: rancher.silverside-gopher.ts.net
|
|
replicas: 1
|
|
extraEnv:
|
|
- name: CATTLE_PROMETHEUS_METRICS
|
|
value: "true"
|
|
- name: CATTLE_FEATURES
|
|
value: "managed-system-upgrade-controller=false"
|
|
resources:
|
|
requests:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 1Gi
|
|
startupProbe:
|
|
timeoutSeconds: 5
|
|
periodSeconds: 10
|
|
failureThreshold: 60
|
|
affinity:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: node-role.kubernetes.io/control-plane
|
|
operator: DoesNotExist
|
|
valuesFrom:
|
|
- kind: Secret
|
|
name: rancher-bootstrap-password
|
|
valuesKey: bootstrapPassword
|
|
targetPath: bootstrapPassword
|