apiVersion: apps/v1 kind: Deployment metadata: name: api namespace: stadtmg labels: io.kompose.service: detection_api spec: selector: matchLabels: io.kompose.service: detection_api replicas: 1 strategy: {} template: metadata: labels: io.kompose.service: detection_api spec: containers: - name: api image: masasana.azurecr.io/stadt_mg_detection_api resources: {} restartPolicy: Always imagePullSecrets: - name: acr-secret