[Discussing] Workaround to deploy on kubernetes with plugins #1087
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reference issue: #978
SS pod cannot get started due to the mounting point at
/usr/local/bin
. K8s' mount mechanism works different from docker's, which would overwrite the underlying files instead of keeping them togetherr. (There is no overlay filesystem.)So the solution is either mount plugin volumes into another path, or modify the docker image to ensure that
ssserver
at a place that won't get overwritten.This draft shows a workaround to download and serve with plugins.
Besides the
test-connection
part is suggested removal because this pod will always be ready before the main pod, thusfails invariably and making no sense.