queueing-producer-dep.yaml 451 Bytes
Newer Older
Nane Kratzke's avatar
Nane Kratzke committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
apiVersion: apps/v1
kind: Deployment
metadata:
  name: queueing-producer
spec:
  replicas: 1
  selector:
    matchLabels:
      app: queueing-producer
  template:
    metadata:
      labels:
        app: queueing-producer
    spec:
Nane Kratzke's avatar
Nane Kratzke committed
15
16
      imagePullSecrets:
      - name: gitlab-registry-credentials
Nane Kratzke's avatar
Nane Kratzke committed
17
18
19
20
      containers:
      - name: queueing-producer
        image: {{ CI_REGISTRY_IMAGE }}:latest
        command: ["python", "-u", "queueing-producer.py"]