Skip to content
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

NGINX Blue/Green Deployment not zero-downtime #18

Open
ExeErik opened this issue Apr 6, 2021 · 0 comments
Open

NGINX Blue/Green Deployment not zero-downtime #18

ExeErik opened this issue Apr 6, 2021 · 0 comments

Comments

@ExeErik
Copy link

ExeErik commented Apr 6, 2021

We tried to build a zero-downtime deployment with your nginx canary example.

While we test the whole thing, we found out, that between the following two commands the application is not available and the nginx responds with a 404 - not found.
Between this two commands there is no nginx config within the nginx.conf for the specific hosts.

helm delete $RELEASE --namespace $DEPLOY_NAMESPACE

|
| Downtime (404)
|

helm upgrade $RELEASE $AZURE_CONTAINER_REGISTRY_NAME/multicalculatorcanary --namespace $DEPLOY_NAMESPACE --install --set replicaCount=4 --set image.frontendTag=$BUILD_BUILDNUMBER --set image.backendTag=$BUILD_BUILDNUMBER --set image.repository=$AZURE_CONTAINER_REGISTRY_URL --set dependencies.useAppInsights=true --set dependencies.appInsightsSecretValue=$APPINSIGHTS_KEY --set dependencies.useAzureRedis=true --set dependencies.redisHostValue=$REDIS_HOST --set dependencies.redisKeyValue=$REDIS_AUTH --set slot=$CANARY_SLOT --set ingress.class=nginx --set ingress.host=$INGRESS_FQDN --set canary=false --wait --timeout 45s

|
| NGINX OK (200)
|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant