add 3
This commit is contained in:
@@ -146,7 +146,7 @@ etcd-defrag:
|
|||||||
global:
|
global:
|
||||||
fullnameOverride: etcd-defrag
|
fullnameOverride: etcd-defrag
|
||||||
controllers:
|
controllers:
|
||||||
defrag:
|
defrag-1:
|
||||||
type: cronjob
|
type: cronjob
|
||||||
pod:
|
pod:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
@@ -183,21 +183,109 @@ etcd-defrag:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
persistence:
|
defrag-2:
|
||||||
tmp:
|
type: cronjob
|
||||||
type: emptyDir
|
pod:
|
||||||
medium: Memory
|
nodeSelector:
|
||||||
advancedMounts:
|
node-role.kubernetes.io/control-plane: ""
|
||||||
defrag:
|
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:
|
main:
|
||||||
- path: /tmp
|
image:
|
||||||
readOnly: false
|
repository: ghcr.io/siderolabs/talosctl
|
||||||
talos-config:
|
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
|
||||||
|
defra-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:
|
||||||
|
talos-config-1:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: secret
|
type: secret
|
||||||
name: talos-etcd-defrag-secret
|
name: talos-etcd-defrag-secret
|
||||||
advancedMounts:
|
advancedMounts:
|
||||||
defrag:
|
defrag-1:
|
||||||
|
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