apiVersion: apps/v1
kind: Deployment
metadata:
  name: f1-telemetry-streams-avg-speed
  labels:
    app: f1-telemetry
spec:
  replicas: 1
  template:
    metadata:
      name: f1-telemetry-streams-avg-speed
      labels:
        app: f1-telemetry-streams-avg-speed
    spec:
      containers:
        - name: f1-telemetry-streams-avg-speed
          image: ppatierno/f1-telemetry-streams-avg-speed:1.0-SNAPSHOT
          imagePullPolicy: IfNotPresent
          env:
            - name: KAFKA_BOOTSTRAP_SERVERS
              value: my-cluster-kafka-bootstrap:9092
      restartPolicy: Always
  selector:
    matchLabels:
      app: f1-telemetry-streams-avg-speed
