diff --git a/apis/apps/v2beta1/status.go b/apis/apps/v2beta1/status.go index c7199331..cf8528dc 100644 --- a/apis/apps/v2beta1/status.go +++ b/apis/apps/v2beta1/status.go @@ -83,13 +83,13 @@ type EMQXNode struct { Role string `json:"role,omitempty"` // EMQX cluster node edition, enum: "Opensource" "Enterprise" Edition string `json:"edition,omitempty"` - // EMQX node uptime, milliseconds - Uptime int64 `json:"uptime,omitempty"` // In EMQX's API of `/api/v5/nodes`, the `connections` field means the number of MQTT session count, Session int64 `json:"connections,omitempty"` // In EMQX's API of `/api/v5/nodes`, the `live_connections` field means the number of connected MQTT clients. // THe `live_connections` just work in EMQX 5.1 or later. Connections int64 `json:"live_connections,omitempty"` + // EMQX node uptime, milliseconds + Uptime int64 `json:"-"` } const ( diff --git a/config/crd/bases/apps.emqx.io_emqxes.yaml b/config/crd/bases/apps.emqx.io_emqxes.yaml index e7306326..e077c890 100644 --- a/config/crd/bases/apps.emqx.io_emqxes.yaml +++ b/config/crd/bases/apps.emqx.io_emqxes.yaml @@ -13804,9 +13804,6 @@ spec: type: string role: type: string - uptime: - format: int64 - type: integer version: type: string type: object @@ -13896,9 +13893,6 @@ spec: type: string role: type: string - uptime: - format: int64 - type: integer version: type: string type: object diff --git a/deploy/charts/emqx-operator/Chart.yaml b/deploy/charts/emqx-operator/Chart.yaml index 2ae93730..3de3bfee 100644 --- a/deploy/charts/emqx-operator/Chart.yaml +++ b/deploy/charts/emqx-operator/Chart.yaml @@ -15,12 +15,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.2.22 +version: 2.2.23 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 2.2.22 +appVersion: 2.2.23 sources: - https://github.com/emqx/emqx-operator/tree/main/deploy/charts/emqx-operator diff --git a/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml b/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml index d38e9326..b0eab843 100644 --- a/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml +++ b/deploy/charts/emqx-operator/templates/crd.emqxes.apps.emqx.io.yaml @@ -13816,9 +13816,6 @@ spec: type: string role: type: string - uptime: - format: int64 - type: integer version: type: string type: object @@ -13908,9 +13905,6 @@ spec: type: string role: type: string - uptime: - format: int64 - type: integer version: type: string type: object diff --git a/docs/en_US/reference/v2beta1-reference.md b/docs/en_US/reference/v2beta1-reference.md index 445fd2a8..23c2e418 100644 --- a/docs/en_US/reference/v2beta1-reference.md +++ b/docs/en_US/reference/v2beta1-reference.md @@ -166,7 +166,6 @@ _Appears in:_ | `version` _string_ | EMQX version | | | | `role` _string_ | EMQX cluster node role, enum: "core" "replicant" | | | | `edition` _string_ | EMQX cluster node edition, enum: "Opensource" "Enterprise" | | | -| `uptime` _integer_ | EMQX node uptime, milliseconds | | | | `connections` _integer_ | In EMQX's API of `/api/v5/nodes`, the `connections` field means the number of MQTT session count, | | | | `live_connections` _integer_ | In EMQX's API of `/api/v5/nodes`, the `live_connections` field means the number of connected MQTT clients.
THe `live_connections` just work in EMQX 5.1 or later. | | | diff --git a/docs/zh_CN/reference/v2beta1-reference.md b/docs/zh_CN/reference/v2beta1-reference.md index 445fd2a8..23c2e418 100644 --- a/docs/zh_CN/reference/v2beta1-reference.md +++ b/docs/zh_CN/reference/v2beta1-reference.md @@ -166,7 +166,6 @@ _Appears in:_ | `version` _string_ | EMQX version | | | | `role` _string_ | EMQX cluster node role, enum: "core" "replicant" | | | | `edition` _string_ | EMQX cluster node edition, enum: "Opensource" "Enterprise" | | | -| `uptime` _integer_ | EMQX node uptime, milliseconds | | | | `connections` _integer_ | In EMQX's API of `/api/v5/nodes`, the `connections` field means the number of MQTT session count, | | | | `live_connections` _integer_ | In EMQX's API of `/api/v5/nodes`, the `live_connections` field means the number of connected MQTT clients.
THe `live_connections` just work in EMQX 5.1 or later. | | |