apiVersion: apps/v1
kind: Deployment
metadata:
  name: elasticsearch-data-generator
  labels:
    app: es-data-gen
spec:
  replicas: 1
  selector:
    matchLabels:
      app: es-data-gen
  template:
    metadata:
      labels:
        app: es-data-gen
    spec:
      containers:
      - name: es-data-generator
        image: satchpx/es-datagen:0.1
        imagePullPolicy: Always
        command: [ "/opt/bin/es_test_data.py", "--es_url=http://elasticsearch-master:9200" ]
