エラスティック インスタンスをスケジューリングする

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

Bamboo では、エラスティック インスタンスの起動とシャットダウンをスケジュール設定できます。例えば、週末にすべてのエラスティック インスタンスをシャットダウンする、追加のインスタンスを起動するなど、通常の繁忙期のジョブ ビルドに対処することをお勧めします。

エラスティック インスタンスのスケジュールを管理

エラスティック インスタンスのスケジュールを管理する方法:

  1. Click the  icon in the Bamboo header and choose Overview.
  2. 左側のナビゲーション パネルで [Instance Schedules (インスタンス スケジュール)] ([Elastic Bamboo] の下) をクリックします。

  3. 以下のいずれかを実行します。

    タスク操作
    新しいスケジュールを追加

    [Add Elastic Instance Schedule (エラスティック インスタンス スケジュールの追加)] をクリックして、スケジュールを新規作成します。
    既存のスケジュールをテンプレートとして使用するには、[コピー] をクリックします。

    詳細な手順については、下の「新しいエラスティック インスタンス スケジュールの追加」セクションを参照してください。

    既存のスケジュールを編集既存のスケジュールの [編集] をクリックします。既存のスケジュールを削除することもできます。
    既存のスケジュールを有効化特定のスケジュールの [有効化] をクリックするか、 [すべてを有効にする] をクリックします。
    既存のスケジュールを無効化特定のスケジュールの [無効化] をクリックするか、[すべてを無効にする] をクリックします。

スケジュール テーブルのイメージ設定名 (例えば、「既定」) をクリックすることで、インスタンスの作成元となるエラスティック イメージの設定を表示することもできます。

Time displayed in Elastic Instance Schedules pages refers to the server time.


スクリーンショット: エラスティック インスタンス スケジュールを表示


新しいエラスティック インスタンス スケジュールの追加

  1. Click the  icon in the Bamboo header and choose Overview.
  2. 左側のナビゲーション パネルで [Instance Schedules (インスタンス スケジュール)] ([Elastic Bamboo] の下) をクリックします。

  3. [Add Elastic Instance Schedule (エラスティック インスタンス スケジュールの追加)] をクリックしてスケジュールを新規作成するか、既存のスケジュールの [コピー] をクリックしてテンプレートとして使用します。


Enabled
Clear if you do not want this schedule to be enabled when you create it.

Trigger On
Choose when this schedule should start:

  • Bamboo の次回起動時
  • Cron スケジュール — 必要に応じてスケジュールを編集します。Cron 式の作成については、この FAQ を参照してください。

    Time displayed in Elastic Instance Schedules pages refers to the server time.

On Trigger Bamboo Should
Choose the action Bamboo should perform:

  • すべてのエラスティック インスタンスを停止する
  • アクティブなインスタンスの数を調整する

Image Config
Choose which image the elastic instances should be started from. The elastic agents running on the instances will inherit the capabilities from the image.

Active Instances
Choose the logical operator and specify a value for the number of active instances.


スクリーンショット: エラスティック インスタンス スケジュールを追加


最終更新日 2019 年 9 月 10 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.