apiVersion: apps/v1
kind: Deployment
metadata:
  name: multiplyapp
  labels:
    app: multiply
spec:
  replicas: 1
  selector:
    matchLabels:
      app: multiply
  template:
    metadata:
      labels:
        app: multiply
      annotations:
        dapr.io/enabled: "true"
        dapr.io/app-id: "multiplyapp"
        dapr.io/app-port: "5000"
        dapr.io/config: "appconfig"
    spec:
      containers:
        - name: multiply
          image: dapriosamples/distributed-calculator-python:latest
          ports:
            - containerPort: 5000
          imagePullPolicy: Always
