AWS Exams GCP Exams Azure Exams GitHub Exams Jira Exams ISC2 Exams

Video: Your application is deployed within a Google gcp video

Question 1
« Back   Next developer-professional Certification Question »

Full Certification Question

Your application is deployed within a Google Kubernetes Engine (GKE) cluster. Whenever a new version of your application is released, your CI/CD tool updates the `spec.template.spec.containers[0].image` value to point to the Docker image of the new application version. Upon applying the change, you aim to deploy a minimum of 1 replica of the new version while ensuring that the previous replicas are retained until the new replica is deemed healthy. Which modification should you apply to the GKE Deployment object shown below? apiVersion: apps/v1 kind: Deployment metadata: name: ecommerce-frontend-deployment spec: replicas: 3 selector: matchLabels: app: ecommerce-frontend template: metadata: labels: app: ecommerce-frontend spec: containers: - name: ecommerce-frontend-webapp image: ecommerce-frontend-webapp:1.7.9 ports: - containerPort: 80