-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adservice not serving ads when deployed outside of GKE #722
Comments
Or maybe if can ask from the frontend what's the way to see ads powered by adservice ? |
The main diagram in readme file shows that Frontend invokes adservice, can someone point me where on frontend i can see ads ? |
Logs from adsservice pod
|
Hi, great question! Could you provide some context on the visualization you've provided and where it comes from? The frontend talks to the adservice via RPC calls, with the chain starting here: microservices-demo/src/frontend/handlers.go Line 114 in 6b25a1a
The connection is done here: microservices-demo/src/frontend/rpc.go Line 119 in e1c04f8
And they appear near the bottom of the screen like so: @NimJay may be able to add some more context! |
Thanks for your input, @bourgeoisor. I think you covered everything. :) Not much to add from my end. I just deployed Online Boutique on a Kind (non-GCP) cluster.
But the ads were displaying fine in the front-end: Questions
|
Hi @ksingh7! |
@NimJay @bourgeoisor About the Ad-service i will give it a try again, last time when i tried i had this issue that i reported in here. About how i got the microservices data transafer/communication real-time graph, Answer is , i used https://skupper.io/ dashboard. I have deployed this microservices demo (online botique) across 3 Kubernetes clusters successfully using skupper, and skupper provides this nice dashboard. Hope this helps. |
So i tried ad service again today but do not se any ads in the frontend as well as do not see any traffing moving to ad service This is deployed on a local k8s environment, not on GKE, so do i need to add any environment variable for Google Credentials as i am getting errors on ads service.
|
@NimJay can you please re-open this issue. Thanks |
You shouldn't need to add any GCP creds to get any of the services working. @NimJay could you take a look and see if perhaps the adservice is malfunctioning when running outside e.g. GKE? |
Hi @ksingh7, sorry for the delay on this. Just curious, how do you deploy the Online Boutique apps? With the manifests in Could you confirm that you have removed the |
@ksingh7 can you provide the feedback to these questions pls? |
Closing this issue as we haven't received answers for Mathieu's questions. |
Describe the bug
This is a great demo, thanks Team Google.
I deployed this and was visualizing the requests from all the services. Everything looks good, except the adservice which does not invoked from any frontend call.
So i am wondering if adservice is really in use.
To Reproduce
Logs
Screenshots
Environment
K8s, multicluster
Additional context
Exposure
The text was updated successfully, but these errors were encountered: