apiVersion: apps/v1
kind: Deployment
metadata:
  name: rttest-send-kafka-50k-5m
spec:
  selector:
    matchLabels:
      app: rttest-send-kafka-50k-5m
  replicas: 12 
  template:
    metadata:
      labels:
        app: rttest-send-kafka-50k-5m
    spec:
      containers:
      - name: rttest-send-kafka-50k-5m
        image: david62243/rttest-send:v0.3
        command: ["/bin/bash", "-c"]
        #imagePullPolicy: Always
        args: 
          - >
            cd /opt/rttest;
            java -cp target/rttest.jar com.esri.rttest.send.Kafka gateway-cp-kafka-headless:9092 planes10 planes00000 50000 5000000;
            tail -f /dev/null
      #nodeSelector:
      #  func: test
