blob: e1006443e66b03155f591821d3a3203557ff6e4e [file] [log] [blame]
apiVersion: v1
kind: ReplicationController
metadata:
name: gitmirror-v4
spec:
replicas: 2
selector:
app: gitmirror
template:
metadata:
name: gitmirror
labels:
app: gitmirror
spec:
volumes:
- name: cache-volume
emptyDir:
medium: Memory
containers:
- name: gitmirror
image: gcr.io/symbolic-datum-552/gitmirror:v4
command: ["/go/bin/gitmirror", "-http=:8585", "-mirror=true", "-report=true", "-network=true", "-cachedir=/cache/gitmirror"]
volumeMounts:
- mountPath: /cache
name: cache-volume
ports:
- containerPort: 8585
resources:
requests:
cpu: "1"
memory: "2Gi"
limits:
cpu: "2"
memory: "4Gi"