apiVersion: apps/v1
kind: Deployment
metadata:
  name: cbp-ftx-public
  labels:
    app: cbp-ftx-public
spec:
  selector:
    matchLabels:
      octopusexport: OctopusExport
  replicas: 7
  strategy:
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: cbp-ftx-public
        octopusexport: OctopusExport
    spec:
      hostNetwork: true
      containers:
        - name: cbp-ftx-public
          image: 'tsboris/cbp-ftx-public:latest'
          env:
            - name: KAFKA_HOST
              value: '10.0.0.104'
            - name: KAFKA_PORT
              value: '9092'
            - name: ELASTIC_HOST
              value: '10.0.0.104'
            - name: ELASTIC_PORT
              value: '9200'
            - name: MONGODB_HOST
              value: '10.0.0.104'
            - name: MONGODB_PORT
              value: '27017'
