0

ドキュメントを読むとき: https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots#swap-operation-steps、ステップ 4、これは指定されています:

カスタム ウォームアップで自動スワップが有効になっている場合は、ソース スロットの各インスタンスでアプリケーション ルート (「/」) に HTTP リクエストを送信して、アプリケーションの開始をトリガーします。

applicationInitialization が指定されていない場合は、各インスタンスのソース スロットのアプリケーション ルートへの HTTP 要求をトリガーします。

インスタンスが HTTP レスポンスを返す場合、ウォームアップされていると見なされます。

1) スワップがルート (またはその他の URL) を呼び出すにはカスタム ウォームアップを有効にする必要がある、または 2) カスタム ウォームアップが有効になっていない場合はルートを呼び出すということですか? 1) または 2) に関係なく: 何も指定されていない場合、返されるすべてのステータス コードは、スロットがウォームアップされていることをスワップ プロセスに伝えますか?

UPDATE ドキュメントを読む方法(https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots#swap-operation-steps):

... App Service does the following to ensure that the target slot doesn't experience downtime:

1. ...
2. ...
3. ...
4. If auto swap is enabled with custom warm-up, **[AppService will]** trigger Application Initiation by making an HTTP request to the application root ("/") on each instance of the source slot.

If applicationInitialization isn't specified, **[AppService will]** trigger an HTTP request to the application root of the source slot on each instance.

If an instance returns any HTTP response, it's considered to be warmed up.
5. ...

でも、読み方が間違っているような?

4

1 に答える 1