apiVersion: apps/v1
kind: Deployment
metadata:
  name: telemetrysenderapp
  labels:
    app: telemetrysenderapp
spec:
  replicas: 1
  selector:
    matchLabels:
      app: telemetrysenderapp
  template:
    metadata:
      labels:
        app: telemetrysenderapp
      annotations:
        dapr.io/enabled: "true"
        dapr.io/app-id: "telemetrysenderapp"
        dapr.io/app-port: "5000"
        dapr.io/log-level: "debug"
        dapr.io/log-as-json: "true"
    spec:
      containers:
      - name: telemetrysenderapp
        image: youracr.azurecr.io/telemetry-sender:latest
        ports:
        - containerPort: 5000
        imagePullPolicy: Always