apiVersion: apps/v1
kind: Deployment
metadata:
  name: cheeseservice
spec:
  selector:
    matchLabels:
      app: cheeseservice
  replicas: 1
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
  minReadySeconds: 5
  template:
    metadata:
      labels:
        app: cheeseservice
    spec:
      containers:
      - name: cheeseservice
        image: rdlk8s.azurecr.io/cheeseservice:v1
        env:
        - name: RABBITMQ__URL
          value: dinky-wallaby-rabbitmq