Destination Rule とは?
destination rule は、トラフィックが特定のサービスへルーティングされた後に適用されるポリシーを定義します。これには、名前付き subset への分割方法、使用する load-balancing アルゴリズム、connection pool や outlier の設定が含まれます。トラフィックの行き先を決める virtual service を補完し、到着時の振る舞いを決定します。ここで宣言される subset は、ルーティングルールから参照されます。
なぜ重要か
destination rule は、サービスに対して canary の subset、circuit breaking、outlier detection を組み込む場所です。アプリケーションのコードに触れることなく、信頼性をきめ細かく制御できます。
関連ガイド
What Is a Virtual Service?A virtual service defines routing rules in a mesh, matching requests by attributes like path or header and di…
What Is Outlier Detection?Outlier detection automatically ejects a backend instance from the load-balancing pool when it returns too ma…
What Is Circuit Breaking in a Service Mesh?Mesh circuit breaking caps concurrent connections and pending requests to a service so an overloaded backend…