# 休止状態と復帰

本番環境では、クラスターは通常24時間365日稼働します。しかし、開発、テスト、ステージング、デモなどの環境では、未使用のKubernetesリソースを縮小することでコスト削減が可能です。

ただし手動での縮小には時間がかかるため、このタスクを自動化するハイバネート機能が開発されました。

ユーザーがハイバネート機能を利用すると、クラスター内のリソースは以下のように変化します：

* ワーカーノード（インスタンス）が削除されます。
* ポッドは「待機中」状態になります
* サービスはそのまま維持されます
* 状態保存コンポーネント（PVCなど）およびetcd内の状態も保持されます。

ウェイクアップはハイバネートの逆操作であり、ハイバネート前の元の状態にクラスターを復元します。

ポータルでは、ハイバネートとウェイクアップ機能を以下のように操作できます。

## **1. ハイバネートの場合**

{% stepper %}
{% step %}

#### ステップ1: メニューから［コンテナ］＞［Kubernetes］を選択し、Kubernetes管理ページを表示します。

<figure><img src="/files/rU0CngkCaQY0sv0hIb5E" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### ステップ2: ハイバネートボタンをクリックしてプロセスを開始します。

<figure><img src="/files/O0WDzFAutOIvPcLjscxN" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### ステップ3: クラスター名を入力し、プロセスの開始を確認します。

<figure><img src="/files/59vmvYRA8rImwBRRmnOs" alt=""><figcaption></figcaption></figure>

通知が表示されると、休止状態プロセスが開始され、ポータル上のステータスは「**休止状態（実行中）**」に戻ります。

<figure><img src="/files/8moI3KBMuS6XQl9sOEb9" alt=""><figcaption></figcaption></figure>

プロセスが完了すると、クラスターの状態が「**成功（休止状態）**」に変化し、休止状態への移行が正常に完了したことを示します。

<figure><img src="/files/pjr1FqQ9EXsZUm4E1Ank" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## 2. ウェイクアップについて

ステータスが「**成功（休止状態）**」のクラスターについては、ユーザーはウェイクアップ機能を使用してクラスターを元の状態に復元できます。

{% stepper %}
{% step %}

#### ステップ1: メニューから［コンテナ］＞［Kubernetes］を選択し、Kubernetes管理ページを表示します。

<figure><img src="/files/DZ9vQtYlZhSYgSTT7kQA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### ステップ2：起動ボタンをクリックしてプロセスを開始します。

<figure><img src="/files/jUg1SjdkhWy2Gf7hhIBC" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### ステップ3: クラスター名を入力してプロセスを確認します。

通知が表示されると、ハイバネート処理が開始され、ポータルのステータスは処理中（実行中）に戻ります。

処理が完了すると、クラスタのステータスは「**成功（実行中）**」に戻り、クラスタのウェイクアップが成功したことを示します。

<figure><img src="/files/UXeK5fAZmBYGdkNVdVXm" alt=""><figcaption></figcaption></figure>

#### 注記:

#### ハイバネーション処理を開始する前に、クラスター内のすべてのポッドがRunning状態にあること、およびその他のリソース（サービスベースのロードバランサー、Ingress、Persistent Volume、シークレット、ConfigMapなど）が正常に機能していることを確認することを推奨します。

#### クラスターがハイバネーション状態にある間にユーザーが別のデプロイメントを追加した場合、すべての新しいリソースはユーザーがクラスターをウェイクアップするまでPending状態になります。

{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ai-docs.fptcloud.com/ai-factory-guideline-jp/fpt-gpu-cloud/gpu-cluster/gpu-cluster-managed-k8s-with-gpu-virtual-machine/gaidochtoriaru/to.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
