initial commit

This commit is contained in:
2026-01-17 08:40:50 -05:00
parent 6eae4c6fa1
commit 6c0c269520
6 changed files with 134 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
## Service
---
apiVersion: v1
kind: Service
metadata:
name: znc
labels:
app.kubernetes.io/name: znc
annotations:
external-dns.alpha.kubernetes.io/hostname: ${ZNC_HOSTNAME}
spec:
type: LoadBalancer
ports:
- port: 6501
selector:
app.kubernetes.io/name: znc
+40
View File
@@ -0,0 +1,40 @@
## StatefulSet
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: znc
spec:
selector:
matchLabels:
app.kubernetes.io/name: znc
serviceName: "znc"
replicas: 1
template:
metadata:
labels:
app.kubernetes.io/name: znc
spec:
containers:
- name: znc
image: lscr.io/linuxserver/znc:latest
ports:
- containerPort: 6501
name: irc-6501
volumeMounts:
- name: config
mountPath: "/app/config"
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
volumeClaimTemplates:
- metadata:
name: config
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 4Gi