Skip to content

Commit 8b45fe6

Browse files
committed
--wip-- [skipci]
1 parent 81edd51 commit 8b45fe6

File tree

13 files changed

+52
-46
lines changed

13 files changed

+52
-46
lines changed

kubernetes/main/apps/database/cloudnative-pg/cluster/cluster16.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ spec:
2323
reusePVC: true
2424
resources:
2525
requests:
26-
cpu: 500m
26+
cpu: 250m
27+
memory: 4Gi
2728
limits:
28-
memory: 12Gi
29+
memory: 8Gi
2930
monitoring:
3031
enablePodMonitor: true
3132
backup:

kubernetes/main/apps/default/kustomization.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
resources:
66
- ./namespace.yaml
7-
- ./atuin/ks.yaml
7+
# - ./atuin/ks.yaml
88
- ./echo-server/ks.yaml
99
- ./filebrowser/ks.yaml
10-
- ./homepage/ks.yaml
10+
# - ./homepage/ks.yaml
1111
# - ./kopia/ks.yaml
12-
- ./linkding/ks.yaml
13-
- ./livebook/ks.yaml
14-
- ./maddy/ks.yaml
15-
- ./mealie/ks.yaml
16-
- ./miniflux/ks.yaml
12+
# - ./linkding/ks.yaml
13+
# - ./livebook/ks.yaml
14+
# - ./maddy/ks.yaml
15+
# - ./mealie/ks.yaml
16+
# - ./miniflux/ks.yaml
1717
- ./netshoot/ks.yaml

kubernetes/main/apps/default/linkding/app/helmrelease.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
memory: 512M
8787
limits:
8888
# For HTML snapshot spike
89-
memory: 8G
89+
memory: 4Gi
9090
service:
9191
app:
9292
controller: linkding

kubernetes/main/apps/default/livebook/app/helmrelease.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
requests:
7272
cpu: 10m
7373
limits:
74-
cpu: 2000m
74+
cpu: 1000m
7575
memory: 1Gi
7676
defaultPodOptions:
7777
securityContext:

kubernetes/main/apps/home/frigate/app/helmrelease.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ spec:
6565
cpu: 100m
6666
limits:
6767
gpu.intel.com/i915: "1"
68-
memory: 8Gi
68+
memory: 4Gi
6969
defaultPodOptions:
7070
affinity:
7171
podAntiAffinity:

kubernetes/main/apps/home/home-assistant/app/helmrelease.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
cpu: 10m
5353
limits:
5454
device-plugin.arpa/zigbee: 1
55-
memory: 8Gi
55+
memory: 4Gi
5656
code-server:
5757
image:
5858
repository: ghcr.io/coder/code-server

kubernetes/main/apps/home/kustomization.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
resources:
66
- ./namespace.yaml
7-
- ./esphome/ks.yaml
8-
- ./frigate/ks.yaml
9-
- ./home-assistant/ks.yaml
10-
- ./mosquitto/ks.yaml
7+
# - ./esphome/ks.yaml
8+
# - ./frigate/ks.yaml
9+
# - ./home-assistant/ks.yaml
10+
# - ./mosquitto/ks.yaml
1111
# - ./zigbee2mqtt/ks.yaml

kubernetes/main/apps/media/kustomization.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
resources:
66
- ./namespace.yaml
7-
- ./autobrr/ks.yaml
8-
# - ./calibre/ks.yaml
9-
# - ./calibre-web/ks.yaml
10-
# - ./jellyseerr/ks.yaml
11-
# - ./plex/ks.yaml
12-
- ./prowlarr/ks.yaml
13-
- ./radarr/ks.yaml
14-
- ./recyclarr/ks.yaml
15-
- ./sabnzbd/ks.yaml
16-
- ./sonarr/ks.yaml
17-
- ./tautulli/ks.yaml
18-
- ./unpackerr/ks.yaml
7+
# - ./autobrr/ks.yaml
8+
# # - ./calibre/ks.yaml
9+
# # - ./calibre-web/ks.yaml
10+
# # - ./jellyseerr/ks.yaml
11+
# # - ./plex/ks.yaml
12+
# - ./prowlarr/ks.yaml
13+
# - ./radarr/ks.yaml
14+
# - ./recyclarr/ks.yaml
15+
# - ./sabnzbd/ks.yaml
16+
# - ./sonarr/ks.yaml
17+
# - ./tautulli/ks.yaml
18+
# - ./unpackerr/ks.yaml

kubernetes/main/apps/media/sabnzbd/app/helmrelease.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spec:
7171
requests:
7272
cpu: 100m
7373
limits:
74-
memory: 8Gi
74+
memory: 4Gi
7575
defaultPodOptions:
7676
securityContext:
7777
runAsNonRoot: true

kubernetes/main/apps/observability/kustomization.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
44
resources:
55
- ./namespace.yaml
6-
- ./gatus/ks.yaml
7-
- ./grafana/ks.yaml
8-
- ./healthchecks/ks.yaml
9-
- ./kube-prometheus-stack/ks.yaml
10-
- ./kubernetes-dashboard/ks.yaml
11-
- ./loki/ks.yaml
12-
- ./prometheus-operator-crds/ks.yaml
13-
- ./smartctl-exporter/ks.yaml
14-
- ./snmp-exporter/ks.yaml
6+
# - ./gatus/ks.yaml
7+
# - ./grafana/ks.yaml
8+
# - ./healthchecks/ks.yaml
9+
# - ./kube-prometheus-stack/ks.yaml
10+
# - ./kubernetes-dashboard/ks.yaml
11+
# - ./loki/ks.yaml
12+
# - ./prometheus-operator-crds/ks.yaml
13+
# - ./smartctl-exporter/ks.yaml
14+
# - ./snmp-exporter/ks.yaml

kubernetes/main/apps/rook-ceph/rook-ceph/cluster/helmrelease.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ spec:
7070
requireMsgr2: true
7171
storage:
7272
useAllNodes: true
73-
useAllDevices: true
74-
# deviceFilter: "^nvme.n1$"
73+
useAllDevices: false
74+
deviceFilter: sda
7575
config:
76-
osdsPerDevice: "1"
76+
osdsPerDevice: "2"
7777
placement:
7878
mgr: &placement
7979
nodeAffinity:

kubernetes/main/bootstrap/talos/talconfig.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ nodes:
2424
# Baremetal
2525
- hostname: "k-0"
2626
ipAddress: "10.1.2.100"
27-
installDisk: /dev/disk/by-id/nvme-INTEL_SSDPEKKW256G7_BTPY64540F5A256D
27+
installDiskSelector:
28+
type: nvme
2829
# https://factory.talos.dev/?arch=amd64&cmdline-set=true&extensions=-&extensions=siderolabs%2Fi915-ucode&extensions=siderolabs%2Fintel-ucode&extensions=siderolabs%2Fiscsi-tools&extensions=siderolabs%2Futil-linux-tools&platform=metal&target=metal&version=1.8.1
2930
talosImageURL: &talosIntelGpuImage factory.talos.dev/installer/ebdfa27a8d6272acf806ac6a5c968c3c284a47ce880273cecb19442c11bf0474
3031
schematic: &schematic
@@ -54,7 +55,8 @@ nodes:
5455
ip: *kubeApiIP
5556
- hostname: "k-1"
5657
ipAddress: "10.1.2.101"
57-
installDisk: /dev/disk/by-id/nvme-INTEL_SSDPEKKW256G7_BTPY63420579256D
58+
installDiskSelector:
59+
type: nvme
5860
talosImageURL: *talosIntelGpuImage
5961
schematic: *schematic
6062
controlPlane: true
@@ -70,7 +72,8 @@ nodes:
7072
vip: *vip
7173
- hostname: "k-2"
7274
ipAddress: "10.1.2.102"
73-
installDisk: /dev/disk/by-id/nvme-Samsung_SSD_960_EVO_250GB_S3ESNX0J808577J
75+
installDiskSelector:
76+
type: nvme
7477
talosImageURL: *talosIntelGpuImage
7578
schematic: *schematic
7679
controlPlane: true
@@ -85,6 +88,8 @@ nodes:
8588
mtu: *mtu
8689
vip: *vip
8790

91+
# TODO: add udev rule patch for USB devices
92+
# https://github.com/buroa/k8s-gitops/blob/6e4b93e2d77171a17642357cf7aac3819c1f22ad/talos/talconfig.yaml#L415-L419
8893
patches:
8994
- # Force nameserver
9095
|-

scripts/wipe-disk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Run this in the rook ceph tools pod container on each node:
77

8-
DISK="/dev/nvme1n1"; \
8+
DISK="/dev/sda"; \
99
sgdisk --zap-all $DISK; \
1010
dd if=/dev/zero of="$DISK" bs=1M count=100 oflag=direct,dsync; \
1111
blkdiscard $DISK; \

0 commit comments

Comments
 (0)