Skip to content

Conversation

@kumaraksh1
Copy link
Collaborator

@kumaraksh1 kumaraksh1 commented Jan 26, 2026

A kudu container can be run on a particular instance before the deployment so that it prevents deployment time out issues.

Algorithm
Get all app service instances using arm api.
Sort them
Get the first instance and call warm up api on this.
And set up the cookies.
Now all further calls will be going on this instance in further deployments also.

Exception: If publish profile is being used as a credential then arm call can not be made.
So we have to make warm up call and that will land on a random instance.
After that cookies will be set and further calls will land on the same instance.
But for further deployments this will be repeated so less optimized than spn case.

SPN
https://github.com/kumaraksh1/msdocs-python-flask-webapp-quickstart/actions/runs/21391031834/job/61591086242
image

Publish Profile
https://github.com/kumaraksh1/msdocs-python-flask-webapp-quickstart/actions/runs/21392678109/job/61590074943
image

Tests
image

@kumaraksh1 kumaraksh1 marked this pull request as ready for review January 27, 2026 11:26
@kumaraksh1 kumaraksh1 deployed to automation test January 28, 2026 11:00 — with GitHub Actions Active
Copy link

@ShilpiRach ShilpiRach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

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

Successfully merging this pull request may close these issues.

4 participants