mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
remove archivebox
This commit is contained in:
@@ -1,104 +0,0 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: archivebox-config
|
||||
namespace: data
|
||||
annotations:
|
||||
fluxcd.io/ignore: "true"
|
||||
spec:
|
||||
storageClassName: longhorn-backups
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: archivebox
|
||||
namespace: data
|
||||
annotations:
|
||||
fluxcd.io/ignore: "true"
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: archivebox
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: archivebox
|
||||
spec:
|
||||
initContainers:
|
||||
- name: init-archivebox
|
||||
image: archivebox/archivebox:0.5
|
||||
args: ["init"]
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: archivebox
|
||||
containers:
|
||||
- name: archivebox
|
||||
args: ["server"]
|
||||
image: archivebox/archivebox
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
protocol: TCP
|
||||
name: http
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 32Mi
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: archivebox
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: archivebox
|
||||
persistentVolumeClaim:
|
||||
claimName: archivebox-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: archivebox
|
||||
namespace: data
|
||||
annotations:
|
||||
fluxcd.io/ignore: "true"
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 8000
|
||||
selector:
|
||||
app: archivebox
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
fluxcd.io/ignore: "true"
|
||||
labels:
|
||||
app.kubernetes.io/instance: archivebox
|
||||
app.kubernetes.io/name: archivebox
|
||||
name: archivebox
|
||||
namespace: data
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- archivebox.domain
|
||||
rules:
|
||||
- host: archivebox.domain
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: archivebox
|
||||
port:
|
||||
number: 8000
|
Reference in New Issue
Block a user