diff --git a/docs/operator/CHANGELOG.md b/docs/operator/CHANGELOG.md index 7708f3da1..ce152090e 100644 --- a/docs/operator/CHANGELOG.md +++ b/docs/operator/CHANGELOG.md @@ -17,6 +17,8 @@ aliases: - [vmoperator](https://docs.victoriametrics.com/operator/): bump default version of VictoriaMetrics components to [1.106.1](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.106.1). - [vmoperator](https://docs.victoriametrics.com/operator/): add new variable `VM_VMSERVICESCRAPEDEFAULT_ENFORCEENDPOINTSLICES` to use `endpointslices` instead of `endpoints` as discovery role for VMServiceScrape when generate scrape config for VMAgent. - [vmoperator](https://docs.victoriametrics.com/operator/): adds new flag `loggerJSONFields` to the operator logger configuration. It allows to change json encoder fields. See [this issue](https://github.com/VictoriaMetrics/operator/issues/1157) for details. +- [api](https://docs.victoriametrics.com/operator/api): adds new status field `observedGeneration`. See [this issue](https://github.com/VictoriaMetrics/operator/issues/1155) for details. +- [api](https://docs.victoriametrics.com/operator/api): unify `updateStatus` field for CRD objects. It replaces `status`, `clusterStatus` and `singleStatus` for `VLogs`, `VMCluster` and `VMSingle` with generic `updateStatus`. ## [v0.49.1](https://github.com/VictoriaMetrics/operator/releases/tag/v0.49.1) - 11 Nov 2024 diff --git a/docs/operator/api.md b/docs/operator/api.md index 6ebf41007..4b7e9c4d2 100644 --- a/docs/operator/api.md +++ b/docs/operator/api.md @@ -1963,6 +1963,30 @@ _Appears in:_ | `urls` | URLs allows setting multiple urls for load-balancing at vmauth-side. | _string array_ | false | +#### StatusMetadata + + + +StatusMetadata holds metadata of application update status + + + +_Appears in:_ +- [VLogsStatus](#vlogsstatus) +- [VMAgentStatus](#vmagentstatus) +- [VMAlertStatus](#vmalertstatus) +- [VMAlertmanagerStatus](#vmalertmanagerstatus) +- [VMAuthStatus](#vmauthstatus) +- [VMClusterStatus](#vmclusterstatus) +- [VMSingleStatus](#vmsinglestatus) + +| Field | Description | Scheme | Required | +| --- | --- | --- | --- | +| `observedGeneration` | ObservedGeneration defines current generation picked by operator for the
reconcile | _integer_ | true | +| `reason` | Reason defines fail reason for reconcile process | _string_ | true | +| `updateStatus` | UpdateStatus defines a status for update rollout | _[UpdateStatus](#updatestatus)_ | true | + + #### StorageSpec @@ -2368,6 +2392,8 @@ UpdateStatus defines status for application _Appears in:_ +- [StatusMetadata](#statusmetadata) +- [VLogsStatus](#vlogsstatus) - [VMAgentStatus](#vmagentstatus) - [VMAlertStatus](#vmalertstatus) - [VMAlertmanagerStatus](#vmalertmanagerstatus) @@ -2407,6 +2433,7 @@ _Appears in:_ +VLogs is fast, cost-effective and scalable logs database. VLogs is the Schema for the vlogs API