Compare commits
1 Commits
9e0bdf59c8
...
ae5a88ccac
Author | SHA1 | Date | |
---|---|---|---|
ae5a88ccac
|
@@ -146,7 +146,7 @@ etcd-defrag:
|
|||||||
global:
|
global:
|
||||||
fullnameOverride: etcd-defrag
|
fullnameOverride: etcd-defrag
|
||||||
controllers:
|
controllers:
|
||||||
defrag-1:
|
defrag:
|
||||||
type: cronjob
|
type: cronjob
|
||||||
pod:
|
pod:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
@@ -183,109 +183,21 @@ etcd-defrag:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
defrag-2:
|
|
||||||
type: cronjob
|
|
||||||
pod:
|
|
||||||
nodeSelector:
|
|
||||||
node-role.kubernetes.io/control-plane: ""
|
|
||||||
tolerations:
|
|
||||||
- key: node-role.kubernetes.io/control-plane
|
|
||||||
operator: Exists
|
|
||||||
effect: NoSchedule
|
|
||||||
cronjob:
|
|
||||||
suspend: false
|
|
||||||
concurrencyPolicy: Forbid
|
|
||||||
timeZone: US/Central
|
|
||||||
schedule: "10 0 * * 0"
|
|
||||||
startingDeadlineSeconds: 90
|
|
||||||
successfulJobsHistory: 3
|
|
||||||
failedJobsHistory: 3
|
|
||||||
backoffLimit: 3
|
|
||||||
parallelism: 1
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: ghcr.io/siderolabs/talosctl
|
|
||||||
tag: v1.10.4
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
args:
|
|
||||||
- etcd
|
|
||||||
- defrag
|
|
||||||
- -n
|
|
||||||
- "10.232.1.12"
|
|
||||||
env:
|
|
||||||
- name: TALOSCONFIG
|
|
||||||
value: /tmp/.talos/config
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 128Mi
|
|
||||||
defrag-3:
|
|
||||||
type: cronjob
|
|
||||||
pod:
|
|
||||||
nodeSelector:
|
|
||||||
node-role.kubernetes.io/control-plane: ""
|
|
||||||
tolerations:
|
|
||||||
- key: node-role.kubernetes.io/control-plane
|
|
||||||
operator: Exists
|
|
||||||
effect: NoSchedule
|
|
||||||
cronjob:
|
|
||||||
suspend: false
|
|
||||||
concurrencyPolicy: Forbid
|
|
||||||
timeZone: US/Central
|
|
||||||
schedule: "20 0 * * 0"
|
|
||||||
startingDeadlineSeconds: 90
|
|
||||||
successfulJobsHistory: 3
|
|
||||||
failedJobsHistory: 3
|
|
||||||
backoffLimit: 3
|
|
||||||
parallelism: 1
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: ghcr.io/siderolabs/talosctl
|
|
||||||
tag: v1.10.4
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
args:
|
|
||||||
- etcd
|
|
||||||
- defrag
|
|
||||||
- -n
|
|
||||||
- "10.232.1.13"
|
|
||||||
env:
|
|
||||||
- name: TALOSCONFIG
|
|
||||||
value: /tmp/.talos/config
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 128Mi
|
|
||||||
persistence:
|
persistence:
|
||||||
talos-config-1:
|
tmp:
|
||||||
|
type: emptyDir
|
||||||
|
medium: Memory
|
||||||
|
advancedMounts:
|
||||||
|
defrag:
|
||||||
|
main:
|
||||||
|
- path: /tmp
|
||||||
|
readOnly: false
|
||||||
|
talos-config:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: secret
|
type: secret
|
||||||
name: talos-etcd-defrag-secret
|
name: talos-etcd-defrag-secret
|
||||||
advancedMounts:
|
advancedMounts:
|
||||||
defrag-1:
|
defrag:
|
||||||
main:
|
|
||||||
- path: /tmp/.talos/config
|
|
||||||
readOnly: true
|
|
||||||
mountPropagation: None
|
|
||||||
subPath: config
|
|
||||||
talos-config-2:
|
|
||||||
enabled: true
|
|
||||||
type: secret
|
|
||||||
name: talos-etcd-defrag-secret
|
|
||||||
advancedMounts:
|
|
||||||
defrag-2:
|
|
||||||
main:
|
|
||||||
- path: /tmp/.talos/config
|
|
||||||
readOnly: true
|
|
||||||
mountPropagation: None
|
|
||||||
subPath: config
|
|
||||||
talos-config-3:
|
|
||||||
enabled: true
|
|
||||||
type: secret
|
|
||||||
name: talos-etcd-defrag-secret
|
|
||||||
advancedMounts:
|
|
||||||
defrag-3:
|
|
||||||
main:
|
main:
|
||||||
- path: /tmp/.talos/config
|
- path: /tmp/.talos/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
Reference in New Issue
Block a user