Skip to content

Commit

Permalink
Update CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
cftechwiz committed May 5, 2024
1 parent e8d75b9 commit 664c474
Show file tree
Hide file tree
Showing 72 changed files with 4,991 additions and 4,945 deletions.
6 changes: 3 additions & 3 deletions ansible/kubernetes/playbooks/templates/otel/hostmetrics.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
receivers:
hostmetrics/linux/localhost:
scrapers:
cpu:
# cpu:
metrics:
system.cpu.utilization:
system.# cpu.utilization:
enabled: true
load: null
memory:
Expand All @@ -30,7 +30,7 @@ receivers:
enabled: true
process.paging.faults:
enabled: true
process.cpu.utilization:
process.# cpu.utilization:
enabled: true
process.memory.utilization:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
receivers:
hostmetrics/linux/localhost:
scrapers:
cpu:
# cpu:
metrics:
system.cpu.utilization:
system.# cpu.utilization:
enabled: true
load: null
memory:
Expand All @@ -30,7 +30,7 @@ receivers:
enabled: true
process.paging.faults:
enabled: true
process.cpu.utilization:
process.# cpu.utilization:
enabled: true
process.memory.utilization:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion ansible/kubernetes/playbooks/templates/otel/sumologic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ processors:
## check_interval is the time between measurements of memory usage for the
## purposes of avoiding going over the limits. Defaults to zero, so no
## checks will be performed. Values below 1 second are not recommended since
## it can result in unnecessary CPU consumption.
## it can result in unnecessary # cpu consumption.
check_interval: 5s
## Maximum amount of memory, in %, targeted to be allocated by the process heap.
limit_percentage: 75
Expand Down
2 changes: 1 addition & 1 deletion docs/src/notes/opnsense.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ While kube-vip is very nice for having a API server ready to go and running in y

## Receive Side Scaling (RSS)

RSS is used to distribute packets over CPU cores using a hashing function – either with support in the hardware which offloads the hashing for you, or in software. Click <ins>[here](https://forum.opnsense.org/index.php?topic=24409.0)</ins> to learn more about it.
RSS is used to distribute packets over # cpu cores using a hashing function – either with support in the hardware which offloads the hashing for you, or in software. Click <ins>[here](https://forum.opnsense.org/index.php?topic=24409.0)</ins> to learn more about it.


1. System > Settings > Tunables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ spec:
type: emptyDir
resources:
requests:
cpu: 10m
# # cpu: 10m
memory: 100Mi
limits:
memory: 500Mi
34 changes: 20 additions & 14 deletions kubernetes/apps/default/authelia/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ spec:
image:
repository: ghcr.io/authelia/authelia
tag: 4.38.7
args: ["--config", "/config/configuration.yml", "--config.experimental.filters", "expand-env"]
args:
[
"--config",
"/config/configuration.yml",
"--config.experimental.filters",
"expand-env",
]
envFrom:
- secretRef:
name: authelia-secret
Expand All @@ -54,18 +60,18 @@ spec:
metrics:
enabled: true
port: 8080
# probes:
# liveness: &probes
# enabled: true
# custom: true
# spec:
# httpGet:
# path: /api/health
# port: *port
# initialDelaySeconds: 0
# periodSeconds: 10
# timeoutSeconds: 1
# failureThreshold: 3
# probes:
# liveness: &probes
# enabled: true
# custom: true
# spec:
# httpGet:
# path: /api/health
# port: *port
# initialDelaySeconds: 0
# periodSeconds: 10
# timeoutSeconds: 1
# failureThreshold: 3
# readiness: *probes
startup:
enabled: false
Expand Down Expand Up @@ -120,7 +126,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 5m
# # cpu: 5m
memory: 10Mi
limits:
memory: 100Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/bazarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
mountPath: /add-ons
resources:
requests:
cpu: 1m
# # cpu: 1m
memory: 250Mi
limits:
memory: 2000Mi
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
snapshot.home.arpa/enabled: "true"
resources:
requests:
cpu: 1m
# # cpu: 1m
memory: 100Mi
limits:
memory: 250Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/excalidraw/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 5m
# # cpu: 5m
memory: 10Mi
limits:
memory: 50Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/frigate/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ spec:
topologyKey: kubernetes.io/hostname
resources:
requests:
cpu: 1m
# # cpu: 1m
memory: 1000Mi
gpu.intel.com/i915: "1"
limits:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/apps/default/glauth/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 5m
# # cpu: 5m
memory: 10Mi
limits:
memory: 50Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/hajimari/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ spec:
type: emptyDir
resources:
requests:
cpu: 10m
# # cpu: 10m
memory: 128M
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
snapshot.home.arpa/enabled: "true"
resources:
requests:
cpu: 1m
# # cpu: 1m
memory: 100Mi
limits:
memory: 750Mi
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 10m
# # cpu: 10m
memory: 250Mi
limits:
memory: 1000Mi
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
- 100
resources:
requests:
cpu: 1m
# # cpu: 1m
memory: 100Mi
limits:
memory: 500Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/immich/app/server/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 1m
# # cpu: 1m
memory: 100Mi
limits:
memory: 500Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/immich/app/web/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 1m
# # cpu: 1m
memory: 100Mi
limits:
memory: 500Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/jellyfin/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
resources:
requests:
gpu.intel.com/i915: 0
cpu: 10m
# # cpu: 10m
memory: 1000Mi
limits:
gpu.intel.com/i915: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 50Mi
limits:
memory: 100Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/letsblockit/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
- *host
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 50Mi
limits:
memory: 250Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/lidarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
mountPath: /media
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 250Mi
limits:
memory: 2000Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/media-browser/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
mountPath: /media
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 50Mi
limits:
memory: 500Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/miniflux/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 100Mi
limits:
memory: 750Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/minio/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ spec:
resources:
requests:
memory: 100Mi
cpu: 10m
# cpu: 10m
limits:
memory: 750Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/n8n/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
snapshot.home.arpa/enabled: "true"
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 50Mi
limits:
memory: 500Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/navidrome/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ spec:
readOnly: true
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 250Mi
limits:
memory: 750Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/overseerr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
snapshot.home.arpa/enabled: "true"
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 250Mi
limits:
memory: 1500Mi
6 changes: 3 additions & 3 deletions kubernetes/apps/default/plex/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ spec:
enabled: true
type: emptyDir
# nodeSelector:
# node-role.kubernetes.io/worker: "true"
# intel.feature.node.kubernetes.io/gpu: "false"
# node-role.kubernetes.io/worker: "true"
# intel.feature.node.kubernetes.io/gpu: "false"
# affinity:
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -134,7 +134,7 @@ spec:
resources:
requests:
gpu.intel.com/i915: 0
cpu: 10m
# cpu: 10m
memory: 2000Mi
limits:
gpu.intel.com/i915: 0
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/apps/default/prowlarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
snapshot.home.arpa/enabled: "true"
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 100Mi
limits:
memory: 500Mi
4 changes: 2 additions & 2 deletions kubernetes/apps/default/qbittorrent/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ spec:
enabled: true
type: emptyDir
# nodeSelector:
# node-role.kubernetes.io/worker: "true"
# node-role.kubernetes.io/worker: "true"
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 250Mi
limits:
memory: 6000Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/radarr/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ spec:
readOnly: true
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 250Mi
limits:
memory: 2000Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/sabnzbd/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ spec:
# node-role.kubernetes.io/worker: "true"
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 250Mi
limits:
memory: 8000Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/semaphore/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
- *host
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 50Mi
limits:
memory: 1000Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/shlink/api/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 100Mi
limits:
memory: 500Mi
2 changes: 1 addition & 1 deletion kubernetes/apps/default/shlink/web/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 1m
# cpu: 1m
memory: 100Mi
limits:
memory: 250Mi
Loading

0 comments on commit 664c474

Please sign in to comment.