mirror of https://github.com/dapr/quickstarts.git
26 lines
591 B
YAML
26 lines
591 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: csharp-subscriber
|
|
labels:
|
|
app: csharp-subscriber
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: csharp-subscriber
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: csharp-subscriber
|
|
annotations:
|
|
dapr.io/enabled: "true"
|
|
dapr.io/app-id: "csharp-subscriber"
|
|
dapr.io/app-port: "5009"
|
|
spec:
|
|
containers:
|
|
- name: csharp-subscriber
|
|
image: ghcr.io/dapr/samples/pubsub-csharp-subscriber:latest
|
|
ports:
|
|
- containerPort: 5009
|
|
imagePullPolicy: Always |