title: Circleci deployment to Google Container Engine
body: <p>I manage to push my image to google cloud registery but when I try to rolling upgrade my cluster nothing happen. </p>
  
  <p>I check my pods and they are not restarted.</p>
  
  <p>I think I'm missing a command to force the rolling upgrade but I can't found help into the circle ci documentation wich is really low : <a href="https://circleci.com/docs/2.0/google-container-engine/" rel="nofollow noreferrer">https://circleci.com/docs/2.0/google-container-engine/</a></p>
  
  <p>my circle.yml :</p>
  
  <pre><code>version: 2
  
  jobs:
     build:
       docker:
         - image: google/cloud-sdk:latest
       steps:
  
          - checkout
  
          - run:
              name: Install Docker client
              command: |
                set -x
                VER="17.03.0-ce"
                curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz
                tar -xz -C /tmp -f /tmp/docker-$VER.tgz
                mv -f /tmp/docker/* /usr/bin
  
          - run:
              name: Install Docker Compose
              command: |
                set -x
                curl -L https://github.com/docker/compose/releases/download/1.11.2/docker-compose-`uname -s`-`uname -m` &gt; /tmp/docker-compose
                mv -f /tmp/docker-compose /usr/local/bin/docker-compose
                chmod +x /usr/local/bin/docker-compose
  
          - type: setup-docker-engine
  
          - run:
              name: Build Docker image
              command: |
                docker build -t eu.gcr.io/${GOOGLE_PROJECT_ID}/gcp-test:latest .
  
          - run:
              name: Dump Google Cloud Credentials to file
              command: |
                echo ${GOOGLE_AUTH} &gt; ${HOME}/gcp-key.json
                gcloud auth activate-service-account --key-file ${HOME}/gcp-key.json
                gcloud --quiet config set project ${GOOGLE_PROJECT_ID}
                gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE}
                gcloud --quiet container clusters get-credentials ${GOOGLE_CLUSTER_NAME}
  
          - run:
              name: Push the image to google registery
              command: |
                gcloud docker -- push eu.gcr.io/${GOOGLE_PROJECT_ID}/gcp-test:latest
  
          - run:
              name: Deploy image to the gc cluster
              command: |
                kubectl apply -f deployment.yml
                kubectl apply -f service.yml
                kubectl set image deployment/solive-deployment node-app=eu.gcr.io/${GOOGLE_PROJECT_ID}/gcp-test:latest
                kubectl get deployments
                kubectl get pods
  </code></pre>