Added example of Versioned PiWind deployments #22
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.
Updated deployment for PR OasisLMF/OasisPlatform#931
This adds two deployments piwind, one for each API version
v1
andv2
. There is currently an issue with auto-scaling between both these deployments. For testing disable theworker-controller
and manually scale the piwind deployments.To edit the worker v1 image switch the tag in these lines, for example
dev
->1.28.5
and rerun./deploy.sh models
OasisAzureDeployment/settings/helm/workers/oasislmf-piwind-1.yaml
Lines 2 to 8 in 4fd5572
Troubleshooting - Celery DB connection error
If
v1
workers are crashing with the following errorThe error is caused by special characters in celery password, tripping up the celery DB connection. Note that
v2
don't have this issue because they are escaped within the celery app.The easiest workaround is updating the celery password by deleting the
celery-db-password
entry from the Key Vault.Then rerunning the deployment
./deploy.sh base
using this branch, this generates a new password without the problematic characters.