第29章 ルートのタイムアウトの設定
OpenShift Container Platform のインストールとルーターのデプロイ後、Service Level Availability (SLA) の要件に合わせてタイムアウトの数値を低く設定したり、バックエンドの処理速度が遅いためにタイムアウトの数値を高く設定したりする必要のあるサービスがある場合には、既存のルートのデフォルトのタイムアウトを設定することができます。
oc annotate コマンドを使用して、ルートにタイムアウトを追加します。
# oc annotate route <route_name> \
--overwrite haproxy.router.openshift.io/timeout=<timeout><time_unit>
たとえば、myroute という名前のルートに 2 秒のタイムアウトを設定するには以下のようにします。
# oc annotate route myroute --overwrite haproxy.router.openshift.io/timeout=2s
サポートされる時間単位は、マイクロ秒 (us)、ミリ秒 (ms)、秒 (s)、分 (m)、時間 (h)、または日 (d) です。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.