1
0
Fork 0
gitlab-wmf-ircservserv-config/toolforge/deployment.yaml

34 lines
834 B
YAML
Raw Normal View History

---
# Run ircservserv on kubernetes
# Adapted from stashbot's deployment file
apiVersion: apps/v1
kind: Deployment
metadata:
name: ircservserv
namespace: tool-ircservserv
labels:
name: ircservserv
toolforge: tool
spec:
replicas: 1
selector:
matchLabels:
name: ircservserv
toolforge: tool
template:
metadata:
labels:
name: ircservserv
# Mount NFS
toolforge: tool
spec:
containers:
- name: ircservserv
image: docker-registry.tools.wmflabs.org/toolforge-buster-sssd:latest
command: [ "/data/project/ircservserv/ircservserv-config/toolforge/manage.sh", "run" ]
workingDir: /data/project/ircservserv
env:
- name: HOME
value: /data/project/ircservserv
imagePullPolicy: Always