Skip to content

Commit

Permalink
chore: powah savings
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Nov 29, 2024
1 parent c21a129 commit c3bca66
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
external-dns.alpha.kubernetes.io/target: internal.${SECRET_DOMAIN}
hosts: ["hubble.${SECRET_DOMAIN}"]
operator:
replicas: 3
replicas: 2
prometheus:
enabled: true
serviceMonitor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
values:
controllers:
cloudflared:
replicas: 3
replicas: 2
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
values:
controllers:
gatus:
replicas: 3
replicas: 2
strategy: RollingUpdate
labels:
postgres: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
strategy: rollback
retries: 3
values:
replicas: 3
replicas: 2
podAnnotations:
reloader.stakater.com/auto: "true"
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
values:
controllers:
karma:
replicas: 3
replicas: 2
strategy: RollingUpdate
annotations:
configmap.reloader.stakater.com/reload: karma-configmap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
values:
controllers:
kromgo:
replicas: 3
replicas: 2
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
hosts:
- alertmanager.${SECRET_DOMAIN}
alertmanagerSpec:
replicas: 2
replicas: 1
useExistingSecret: true
configSecret: alertmanager-secret
storage:
Expand Down Expand Up @@ -150,7 +150,7 @@ spec:
scrapeConfigSelectorNilUsesHelmValues: false
retention: 14d
retentionSize: 70GB
replicas: 2
replicas: 1
storageSpec:
volumeClaimTemplate:
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
values:
controllers:
atuin:
replicas: 3
replicas: 2
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
Expand Down
21 changes: 21 additions & 0 deletions kubernetes/main/talos/talconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,27 @@ patches:
net.ipv4.tcp_tw_reuse: 1
net.ipv4.tcp_window_scaling: 1
# Custom sysfs settings
- |-
machine:
sysfs:
devices.system.cpu.cpu0.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu1.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu2.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu3.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu4.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu5.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu6.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu7.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu8.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu9.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu10.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu11.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu12.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu13.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu14.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu15.cpufreq.energy_performance_preference: balance_power
# Mount openebs-hostpath in kubelet
- |-
machine:
Expand Down
32 changes: 16 additions & 16 deletions kubernetes/utility/talos/talconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,22 +108,22 @@ patches:
- |-
machine:
sysfs:
devices.system.cpu.cpu0.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu1.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu2.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu3.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu4.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu5.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu6.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu7.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu8.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu9.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu10.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu11.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu12.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu13.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu14.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu15.cpufreq.energy_performance_preference: balance_performance
devices.system.cpu.cpu0.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu1.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu2.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu3.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu4.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu5.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu6.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu7.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu8.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu9.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu10.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu11.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu12.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu13.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu14.cpufreq.energy_performance_preference: balance_power
devices.system.cpu.cpu15.cpufreq.energy_performance_preference: balance_power
# Mount openebs-hostpath in kubelet
- |-
Expand Down

0 comments on commit c3bca66

Please sign in to comment.