---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: trade-orders-service
  labels:
    app.kubernetes.io/part-of: Quarkus-DayTrader
    app.kubernetes.io/name: quarkus
spec:
  selector:
    matchLabels:
      app: trade-orders-service
  template:
    metadata:
      labels:
        app: trade-orders-service
    spec:
      containers:
      - name: tradr
        image: quay.io/sellisnz/trade-orders-service:1.0.0
        imagePullPolicy: Always
        env:
          - name: PORT
            value: "8080"
        resources:
          limits:
            memory: "512Mi"
            cpu: "500m"
        ports:
        - containerPort: 8080
