apiVersion: apps/v1
kind: Deployment
metadata:
  name: kennethreitz-httpbin
  namespace: kind-test
  labels:
    app: kennethreitz-httpbin

spec:
  replicas: 5
  selector:
    matchLabels:
      app: kennethreitz-httpbin
  template:
    metadata:
      labels:
        app: kennethreitz-httpbin
      annotations:
        dapr.io/app-id: svc-kennethreitz-httpbin
        dapr.io/app-port: '80'
        dapr.io/enabled: 'true'
    spec:
      imagePullSecrets:
      - name: key-kennethreitz-httpbin          
      containers:
      - name: kennethreitz-httpbin
        image: kennethreitz/httpbin
        imagePullPolicy: Always
        resources:
            requests:
              cpu: '0.5'
              memory: "251Mi"
            limits:
              cpu: '1'
              memory: "1024Mi"
        env:
        - name: logs_kennethreitz-httpbin
          value: /opt/logs/*.log
      terminationGracePeriodSeconds: 60  





