Giter VIP home page Giter VIP logo

Comments (3)

tubbo avatar tubbo commented on July 23, 2024

Update: I tried running this in CLI form and basically got the same result...

$ gcloud run deploy my-service --image=gcr.io/my-project/my-service:v1.2.0 --region=us-east4 --platform=managed

Deploying container to Cloud Run service [my-service] in project [my-project] region [us-east4]
✓ Deploying... Done.
  ✓ Creating Revision...
Done.
Service [my-service] revision [my-service-00028-kop] has been deployed and is serving 0 percent of traffic.


Updates are available for some Cloud SDK components.  To install them,
please run:
  $ gcloud components update



To take a quick anonymous survey, run:
  $ gcloud survey

This is strange because I feel like other services we have are deploying with 100% of traffic...why is this one different?

from deploy-cloudrun.

averikitsch avatar averikitsch commented on July 23, 2024

Once a revision is set to no traffic, the LATEST revision will not receive traffic on future deployments; therefore you'll need to send traffic via input tag_traffic or revision_traffic. To make this easier I'll implement an input to force traffic to the latest revision.
https://cloud.google.com/sdk/gcloud/reference/run/deploy#--no-traffic

from deploy-cloudrun.

tubbo avatar tubbo commented on July 23, 2024

@averikitsch Thanks! Guess I must have accidentally configured this service to not automatically manage traffic.

from deploy-cloudrun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.