仕様スキーマ
RestoreSpec は、Restore リソースの選択された状態を定義します。
Restore:
metadata:
name: string
spec:
backup: string
pointInTime: string
sourceDBCluster: string
フィールド タイプ必須または省略可 |
説明 |
|---|---|
backup
| |
string省略可 |
復元元の Backup リソースの名前。backup または pointInTime のいずれかを指定する必要があります。両方を指定することはできません。 |
pointInTime
| |
string省略可 |
ポイントインタイム リカバリのターゲット タイムスタンプ。過去の時点であり、利用可能な復元期間内である必要があります。backup または pointInTime のいずれかを指定する必要があります。両方を指定することはできません。 |
sourceDBCluster
| |
string必須 |
復元元のソース DBCluster の名前。 |
ステータス スキーマ
RestoreStatus は、Restore リソースの観測された状態を定義します。
completeTime: string
conditions:
- lastTransitionTime: string
message: string
observedGeneration: integer
reason: string
status: string
type: string
createTime: string
criticalIncidents:
- code: string
createTime: string
message: string
messageTemplateParams: object
resource:
component: string
location:
cluster: string
group: string
kind: string
name: string
namespace: string
version: string
stackTrace:
- component: string
message: string
transientUntil: string
observedGeneration: integer
phase: string
reconciled: boolean
restoredPointInTime: string
フィールド タイプ必須または省略可 |
説明 |
|---|---|
completeTime
| |
string省略可 | 復元の完了時間。 |
conditions[]
| |
array of objects省略可 | conditions は、エンティティの現在の状態について利用可能な最新の観測値を表します。 |
conditions[].lastTransitionTime
| |
string必須 | lastTransitionTime は、あるステータスから別のステータスに条件が最後に移行した時刻です。これは、基盤となる条件が変更されたときに発生します。基盤となる条件が変更された時刻が不明な場合は、API フィールドが変更された時刻を使用します。 |
conditions[].message
| |
string必須 | message は、移行の詳細を示す人間が読めるメッセージです。空の文字列にすることもできます。 |
conditions[].observedGeneration
| |
integer省略可 |
observedGeneration は、条件が設定された .metadata.generation を表します。たとえば、.metadata.generation が 12 であるにもかかわらず、.status.conditions[x].observedGeneration が 9 である場合、その条件はインスタンスの現在の状態に関して古くなっています。 |
conditions[].reason
| |
string必須 | reason には、条件の最後の遷移の理由を示すプログラマティック ID が含まれます。特定の条件タイプのプロデューサーは、このフィールドの想定される値と意味を定義できます。値は CamelCase 文字列にする必要があります。このフィールドは空にできません。 |
conditions[].status
| |
string必須 |
状態のステータス。値は True、False、Unknown のいずれかです。 |
conditions[].type
| |
string必須 |
条件のタイプ(CamelCase または foo.example.com/CamelCase)。多くの .condition.type 値は、Available など、リソース間で一貫しています。 |
createTime
| |
string省略可 | Restore の作成日時。 |
criticalIncidents[]
| |
array of objects必須 | criticalIncidents は、アクティブなすべての重大インシデントのフラットなリストです。 |
criticalIncidents[].code
| |
string必須 |
code は、この特定のエラーのエラーコードです。エラーコードは DBSE+numeric 文字列(DBSE1012 など)です。 |
criticalIncidents[].createTime
| |
string必須 | createTime は、このインシデントが発生元で作成されたときのタイムスタンプです。 |
criticalIncidents[].message
| |
string省略可 | message は、発生したインシデントまたはエラーの説明です。 |
criticalIncidents[].messageTemplateParams
| |
object省略可 | messageTemplateParams には、ユーザー インターフェースでユーザー フレンドリーなデータドリブン バージョンの message を生成するために必要な Key-Value ペアが含まれます。 |
criticalIncidents[].resource
| |
object必須 | resource には、インシデントを報告した Database Service コンポーネントに関する情報と、ターゲット リソースに関する情報が含まれます。 |
criticalIncidents[].resource.component
| |
string必須 | component は、インシデントを報告した Database Service サブシステムの内部識別子です。 |
criticalIncidents[].resource.location
| |
object省略可 | 影響を受けるリソースのロケーション情報。 |
criticalIncidents[].resource.location.cluster
| |
string省略可 | 影響を受けるリソースのクラスタの名前。 |
criticalIncidents[].resource.location.group
| |
string省略可 | リソースのグループ名。 |
criticalIncidents[].resource.location.kind
| |
string省略可 | リソースの種類。 |
criticalIncidents[].resource.location.name
| |
string省略可 | 影響を受けるリソースの名前。 |
criticalIncidents[].resource.location.namespace
| |
string省略可 | 影響を受けるリソースの Namespace。 |
criticalIncidents[].resource.location.version
| |
string省略可 | リソースのバージョン。 |
criticalIncidents[].stackTrace[]
| |
array of objects省略可 | スタック トレースに含まれるメッセージの非構造化リスト。 |
criticalIncidents[].stackTrace[].component
| |
string省略可 | このメッセージをログに記録した Database Service コンポーネントの名前。 |
criticalIncidents[].stackTrace[].message
| |
string省略可 | ログに記録されたメッセージ。 |
criticalIncidents[].transientUntil
| |
string省略可 | 指定された時刻まで、問題は一時的なものとみなされます。 |
observedGeneration
| |
integer省略可 | 内部: コントローラによって観測された世代。 |
phase
| |
string省略可 | RestorePhase は復元のフェーズです。 |
reconciled
| |
boolean省略可 | Internal: リソースがコントローラによって調整されたかどうか。 |
restoredPointInTime
| |
string省略可 |
この復元によってターゲット DBCluster が復元される実際のポイントインタイム。spec.pointInTime で指定された値と異なる場合があります。 |