Skip to content
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

Move vot-bot out of web-svc pod into its own deployment #27

Merged
merged 1 commit into from
Jan 26, 2018

Conversation

dadjeibaah
Copy link
Contributor

In an effort to gain visibility of downstream requests of vote-bot to web-svc, this PR edits the emojivoto.yml to effectively place the vote bot into its own pod.

A look at the dashboard shows that stats are not being show for the downstream requests and this might be a possible bug?
screen shot 2018-01-25 at 8 11 24 pm

Copy link
Contributor

@klingerf klingerf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for tackling this. Just had two minor comments below.

The issue you mentioned about not seeing request stats in the dashboard is a result of not running a version of the proxy that includes the fix from linkerd/linkerd2#210. I tried your branch with that fix, and it looks like this:

screen shot 2018-01-26 at 11 03 45 am

🎉 🎉 🎉

kind: Deployment
metadata:
name: vote-bot
namespace: default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should run this in the emojivoto namespace.

command: ["emojivoto-vote-bot"]
env:
- name: WEB_HOST
value: "web-svc.emojivoto.svc.cluster.local:80"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you move this to the emojivoto namespace, then you can use "web-svc:80" as the web host, and that will exercise more of the destination api.

Copy link
Contributor

@klingerf klingerf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⭐️ Thanks for updating!

Signed-off-by: Dennis Adjei-Baah <dennis@buoyant.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants