Conversation
395342e to
f8c5ab6
Compare
|
I found these |
|
As you found, For now, it looks like |
f8c5ab6 to
7ae9ac6
Compare
|
@enisoc I switched I think this should be ready to merge. |
helm/vitess/templates/_vttablet.tpl
Outdated
There was a problem hiding this comment.
On second thought, maybe it's more dangerous than helpful to have a livenessProbe on mysqld since it's got a lot more in-memory state than the rest of our processes (you lose a lot on restart). What do you think about having only the readinessProbe here? It seems like a safer default.
There was a problem hiding this comment.
That's probably a good choice
helm/vitess/templates/_vttablet.tpl
Outdated
There was a problem hiding this comment.
We should be able to add /debug/health as a readinessProbe on vttablet if we set podManagementPolicy: Parallel on the StatefulSet. That makes sense anyway because vttablets don't need to be started in any particular order, so there's no need to wait.
There was a problem hiding this comment.
That's a good choice, but I don't think it solves the problem I encountered. I wasn't able to run InitShardMaster because it never reported as ready. I'll give it another try and report back whether or not it works.
There was a problem hiding this comment.
The Pod being Unready shouldn't prevent InitShardMaster from working, as long as all the Pods are running (which requires Parallel).
MySQL keeps a lot of state in memory, so we don’t want to lose it unnecessarily
1da5411 to
b434853
Compare
|
Ok, I addressed your points and it's working great for me now. |
Uses mysqladmin ping
cc @enisoc