Archive Warrior on Kubernetes DaemonSet
Run Archive Warrior in your Kubernetes cluster as DaemonSet
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: warrior
namespace: archive
labels:
app: warrior
spec:
selector:
matchLabels:
app: warrior
template:
metadata:
labels:
app: warrior
spec:
nodeSelector:
kubernetes.io/arch: amd64
terminationGracePeriodSeconds: 60
containers:
- image: atdr.meo.ws/archiveteam/warrior-dockerfile:latest
name: warrior
resources:
requests:
cpu: "200m"
memory: "128Mi"
limits:
cpu: "400m"
memory: "256Mi"
env:
- name: DOWNLOADER
value: your_name
- name: SELECTED_PROJECT
value: auto
- name: CONCURRENT_ITEMS
value: "4"
ports:
- containerPort: 8001
imagePullPolicy: Always