Compare commits

..

10 commits

Author SHA1 Message Date
Renovate bot
155c290873 Update codercom/code-server Docker tag to v4.96.1 2024-12-19 00:00:28 +00:00
3b36388907 Extra packages that are needed
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-12-12 22:03:43 +00:00
96238754c0 sed fail
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-12-12 19:27:42 +00:00
78e2e6f709 Add prowlarr... dangit shrinking
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-12-12 19:26:09 +00:00
988745f3c5 Expose!
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-12-12 18:58:57 +00:00
fc766a3f2e This is super annoying and dangerous.
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-12-12 18:46:45 +00:00
7ec608d416 Update
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-12-09 19:53:34 +00:00
e61ee333f7 Make sure HA is on a fast machine
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-11-25 17:19:13 +00:00
5d221c98de Make sure HA is on a fast machine
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-11-25 17:17:29 +00:00
51d2a3d80f Scale down old zigbee
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-11-25 17:15:34 +00:00
11 changed files with 160 additions and 4 deletions

View file

@ -6,7 +6,7 @@ replicaCount: 1
image: image:
repository: codercom/code-server repository: codercom/code-server
tag: '4.95.3' tag: '4.96.1'
pullPolicy: Always pullPolicy: Always
secret: secret:

View file

@ -19,6 +19,10 @@ spec:
- env: - env:
- name: TZ - name: TZ
value: UTC value: UTC
command:
- /bin/sh
- -c
- pip install icalendar==5.0.13 qrcode recurring_ical_events beautifulsoup4 lxml pycryptodome icalevents ics ; /init
image: ghcr.io/home-assistant/home-assistant:2024.10.1 image: ghcr.io/home-assistant/home-assistant:2024.10.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
livenessProbe: livenessProbe:
@ -87,6 +91,8 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /config - mountPath: /config
name: config name: config
nodeSelector:
priority.martyn.berlin: "true"
restartPolicy: Always restartPolicy: Always
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccount: default serviceAccount: default

View file

@ -31,7 +31,7 @@ spec:
fieldRef: fieldRef:
apiVersion: v1 apiVersion: v1
fieldPath: metadata.namespace fieldPath: metadata.namespace
image: docker.io/jellyfin/jellyfin:10.9.11 image: docker.io/jellyfin/jellyfin:10.10.3
imagePullPolicy: Always imagePullPolicy: Always
name: jellyfin name: jellyfin
ports: ports:

View file

@ -0,0 +1,55 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: prowlarr
name: prowlarr
spec:
selector:
matchLabels:
app: prowlarr
strategy:
type: Recreate
template:
metadata:
labels:
app: prowlarr
spec:
containers:
- image: hotio/prowlarr:release-1.26.1.4844
imagePullPolicy: Always
name: prowlarr
ports:
- containerPort: 9696
name: http
protocol: TCP
resources:
requests:
cpu: 25m
memory: 628694953
volumeMounts:
- mountPath: /config
name: config
- mountPath: /data
name: data
- mountPath: /series
name: series
- mountPath: /combinedseries
name: combinedseries
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- name: config
persistentVolumeClaim:
claimName: prowlarr-config-data
- name: series
persistentVolumeClaim:
claimName: smb-series
- name: combinedseries
persistentVolumeClaim:
claimName: smb-combinedseries
- name: data
persistentVolumeClaim:
claimName: smb-usenet

View file

@ -0,0 +1,35 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-series
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-series
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-combinedseries
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-combinedseries
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-usenet
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-usenet

View file

@ -0,0 +1,13 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app.kubernetes.io/instance: prowlarr
name: prowlarr-config-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: longhorn-fast

View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
annotations:
external-dns.alpha.kubernetes.io/hostname: prowlarr.martyn.berlin
labels:
app: prowlarr
name: prowlarr
spec:
ports:
- targetPort: 9696
port: 80
selector:
app: prowlarr
type: LoadBalancer

View file

@ -44,7 +44,7 @@ spec:
- name: TS_SOCKS5_SERVER - name: TS_SOCKS5_SERVER
value: "localhost:1055" value: "localhost:1055"
- name: TS_EXTRA_ARGS - name: TS_EXTRA_ARGS
value: "--exit-node=100.90.55.149" value: "--exit-node=100.90.55.121"
- name: TS_AUTHKEY - name: TS_AUTHKEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
annotations:
external-dns.alpha.kubernetes.io/hostname: qbittorrent.martyn.berlin
labels:
app: qbittorrent
app.kubernetes.io/instance: torrents
name: qbittorrent
spec:
ports:
- port: 8080
selector:
app: qbittorrent
type: LoadBalancer

View file

@ -11,7 +11,7 @@ metadata:
configmap.reloader.stakater.com/reload: "zigbee2mqtt-settings" configmap.reloader.stakater.com/reload: "zigbee2mqtt-settings"
name: zigbee2mqtt name: zigbee2mqtt
spec: spec:
replicas: 1 replicas: 0
revisionHistoryLimit: 3 revisionHistoryLimit: 3
selector: selector:
matchLabels: matchLabels:

View file

@ -0,0 +1,17 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prowlarr
namespace: argocd
spec:
destination:
namespace: prowlarr
server: https://kubernetes.default.svc
project: apps
source:
path: apps-kustomized/prowlarr
repoURL: https://git.martyn.berlin/martyn/infra4talos
targetRevision: HEAD
syncPolicy:
automated:
selfHeal: true