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
k8s: Support StatefulSet and PersistentVolume in Helm chart #2248
Conversation
The volume init commands that needed to be run as root are now separated into an init-container, so the main container can directly run as the vitess user (uid 999).
Reviewed 1 of 1 files at r1, 3 of 4 files at r2, 1 of 3 files at r3, 1 of 2 files at r4. helm/vitess/templates/_vtctld.tpl, line 62 at r2 (raw file):
What is the purpose of this? helm/vitess/templates/_vtctld.tpl, line 69 at r2 (raw file):
Why eval exec? Comments from Reviewable |
Reviewed 1 of 2 files at r4. Comments from Reviewable |
The The After being put on one line, however, it all gets treated as a literal string, so things like |
LGTM. I hadn't notice the quotes change, eval makes total sense :) Review status: all files reviewed at latest revision, 2 unresolved discussions. Comments from Reviewable |
Review status: all files reviewed at latest revision, 2 unresolved discussions. Comments from Reviewable |
Signed-off-by: Max Englander <max@planetscale.com>
@thompsonja
Note that this only works in a k8s 1.4 cluster with alpha features enabled (i.e. not in a production GKE cluster). After k8s 1.5, we can update this to use the beta StatefulSet.