quickstarts/tutorials/observability/deploy/python-multiplier.yaml

28 lines
585 B
YAML

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: "5001"
dapr.io/config: "appconfig"
spec:
containers:
- name: multiply
image: ghcr.io/dapr/samples/distributed-calculator-python:latest
ports:
- containerPort: 5001
imagePullPolicy: Always