コンテンツへスキップ
LatchkeyLatchkey home

Readiness Gate - CI/CD用語集の定義

readiness gateは、必須の条件が満たされるまでインスタンスをローテーションから外しておきます。

readiness gateとは、インスタンスまたはdeploymentがトラフィックを受け取る準備が整ったとみなされる前に満たされる必要がある条件であり、rolloutが外部シグナルを待てるようにします。

基本的なreadiness probeを超えて、readiness gateはトラフィックがルーティングされる前に外部の状態(load balancerがインスタンスを登録するなど)を要求できます。これにより、まだ準備が整っていないターゲットへ負荷を移すことを防ぎます。

Where this shows up in a real pipeline

A definition is only useful if you can recognise the thing in your own logs. In practice this concept surfaces when a job behaves differently between a local run and a runner, which is where most CI debugging starts.

  • Compare a local run against a CI run of the same command before assuming a tool is at fault.
  • Runner environments differ in shell, PATH, TTY availability, available memory, and disk. Most CI-only behaviour traces to one of those five.
  • Pin tool versions so an environment difference cannot be introduced by an unrelated update.

よくある質問

What is Readiness gate?
A readiness gate is a condition that must be satisfied before an instance or deployment is considered ready to receive traffic, letting a rollout wait on external signals.