-
Notifications
You must be signed in to change notification settings - Fork 2.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
Add are you alive example #5646
Conversation
Signed-off-by: Lee Yi Jie Joel <lee.yi.jie.joel@gmail.com>
@sverch @aquarapid can you review this? |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote most of this originally, so I put more weight on @aquarapid's review.
Although I do think we should change that one line and start hosting this from our public registry. Waiting for @dctrwatson to see what he thinks.
examples/are-you-alive/Makefile
Outdated
@@ -0,0 +1,15 @@ | |||
# We are using the "dev" project in our registry for this | |||
NAME := "us.gcr.io/planetscale-dev/are-you-alive" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be us.gcr.io/planetscale-vitess/are-you-alive
. Does that sound good to you @dctrwatson?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is meant for public consumption, yes :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, updated, but now I need to fix the build.
Signed-off-by: Shaun Verch <shaun@planetscale.com>
This wasn't added because it was gitignored. Signed-off-by: Shaun Verch <shaun@planetscale.com>
Now everything described in the README works with the new paths. Signed-off-by: Shaun Verch <shaun@planetscale.com>
95104e3
to
0ac2441
Compare
Signed-off-by: Shaun Verch <shaun@planetscale.com>
Signed-off-by: Shaun Verch <shaun@planetscale.com>
@deepthi Is this good to merge? One test timed out but it looks unrelated to this change and isn't listed as required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions and suggestions inline.
examples/are-you-alive/README.md
Outdated
What does it mean to be alive? | ||
|
||
Well we don't know what it means for you, but we know what it means for our | ||
Cloud Database! | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe delete these lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing from "Cloud Database" to "Vitess Cluster".
examples/are-you-alive/README.md
Outdated
## Push to Registry | ||
|
||
``` | ||
make build | ||
make push | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to include this? most people won't have the necessary access.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add a note about access here, but I think documenting the commands makes sense.
|
||
Configuration for deploying `are-you-alive` on Kubernetes. | ||
|
||
Also deploys Prometheus and Alertmanager. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we really deploying AlertManager? I don't see it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks for calling this one out. I'll just delete this directory.
Thanks @deepthi ! I think I addressed your comments. Let me know if there's anything else I should do before this is good to merge. |
3005b0a
to
7743b34
Compare
Co-Authored-By: Deepthi Sigireddi <deepthi.sigireddi@gmail.com> Signed-off-by: Shaun Verch <shaun@planetscale.com>
Signed-off-by: Shaun Verch <shaun@planetscale.com>
7743b34
to
86ceabe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This Pull Request aims to add an example of how to set up an are-you-alive deployment for Vitess. This is open sourced from PlanetScale's internal version of Are-You-Alive.
Signed-off-by: Lee Yi Jie Joel lee.yi.jie.joel@gmail.com