question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Managed grpc change broke cart service

See original GitHub issue

Change from https://github.com/GoogleCloudPlatform/microservices-demo/pull/454 has broken the cart service, because the image does not have the latest code?

Steps to reproduce:

git clone https://github.com/GoogleCloudPlatform/microservices-demo.git
kubectl create ns test-ns
kubectl apply -f microservices-demo/release -n test-ns
kubectl describe -n test-ns pod  cartservice-598bc7d6d7-cn9vw

...


Events:
  Type     Reason     Age                  From                                        Message
  ----     ------     ----                 ----                                        -------
  Normal   Scheduled  3m11s                default-scheduler                           Successfully assigned test-ns/cartservice-598bc7d6d7-cn9vw to gke-c3-default-pool-764e6842-j2zp
  Warning  Unhealthy  98s (x5 over 2m38s)  kubelet, gke-c3-default-pool-764e6842-j2zp  Readiness probe failed: timeout: failed to connect service ":7070" within 1s
  Warning  Unhealthy  91s (x6 over 2m31s)  kubelet, gke-c3-default-pool-764e6842-j2zp  Liveness probe failed: timeout: failed to connect service ":7070" within 1s
  Normal   Killing    91s (x2 over 2m11s)  kubelet, gke-c3-default-pool-764e6842-j2zp  Container server failed liveness probe, will be restarted
  Normal   Pulled     90s (x4 over 3m9s)   kubelet, gke-c3-default-pool-764e6842-j2zp  Container image "gcr.io/google-samples/microservices-demo/cartservice:v0.2.1" already present on machine
  Normal   Created    90s (x4 over 3m8s)   kubelet, gke-c3-default-pool-764e6842-j2zp  Created container server
  Normal   Started    90s (x4 over 3m8s)   kubelet, gke-c3-default-pool-764e6842-j2zp  Started container server

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
elfinhecommented, Dec 10, 2020
0reactions
mathieu-benoitcommented, Dec 11, 2020

Assuming this has been fixed, closing it for now but feel free to reopen it if you still have the issue, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Versioning gRPC services - Microsoft Learn
Changing or deleting gRPC services are breaking changes. When gRPC services have breaking changes, clients using that service have to be ...
Read more >
Python Microservices With gRPC - Real Python
A cart microservice to manage carts. ... We should just say services. ... This port is the standard port for gRPC, but you...
Read more >
Understanding gRPC, OpenAPI and REST and when to use ...
When designing a modern API, learn when to use RPC (gRPC), OpenAPI or REST. ... adding them to carts, checking out, tracking deliveries, ......
Read more >
The Mysterious Gotcha of gRPC Stream Performance | Ably Blog
gRPC is highly useful for fast, efficient data exchange and client/server state sync. Here's a performance gotcha we ran across.
Read more >
Introduction to gRPC in .NET Core and .NET 5 - Telerik
Let's break down the proto file in order to understand the protocol buffer syntax. The Greet Service Interface Definition. syntax = "proto3";.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found