title: Pull image Azure Container Registry - Kubernetes
body: <p>Does anyone have any advice on how to pull from Azure container registry whilst running within Azure container service (kubernetes)</p>
  
  <p>I've tried a sample deployment like the following but the image pull is failing:</p>
  
  <pre><code>kind: Deployment
  apiVersion: extensions/v1beta1
  metadata:
    name: jenkins-master
  spec:
    replicas: 1
    template:
      metadata:
        name: jenkins-master
        labels:
          name: jenkins-master
      spec:
        containers:
        - name: jenkins-master
          image: myregistry.azurecr.io/infrastructure/jenkins-master:1.0.0
          imagePullPolicy: Always
          readinessProbe:
            tcpSocket:
              port: 8080
            initialDelaySeconds: 20
            timeoutSeconds: 5
          ports:
          - name: jenkins-web
            containerPort: 8080
          - name: jenkins-agent
            containerPort: 50000
  </code></pre>