Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: delete uptime in status #1054

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apis/apps/v2beta1/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
6 changes: 0 additions & 6 deletions config/crd/bases/apps.emqx.io_emqxes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13804,9 +13804,6 @@ spec:
type: string
role:
type: string
uptime:
format: int64
type: integer
version:
type: string
type: object
Expand Down Expand Up @@ -13896,9 +13893,6 @@ spec:
type: string
role:
type: string
uptime:
format: int64
type: integer
version:
type: string
type: object
Expand Down
4 changes: 2 additions & 2 deletions deploy/charts/emqx-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13816,9 +13816,6 @@ spec:
type: string
role:
type: string
uptime:
format: int64
type: integer
version:
type: string
type: object
Expand Down Expand Up @@ -13908,9 +13905,6 @@ spec:
type: string
role:
type: string
uptime:
format: int64
type: integer
version:
type: string
type: object
Expand Down
1 change: 0 additions & 1 deletion docs/en_US/reference/v2beta1-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br />THe `live_connections` just work in EMQX 5.1 or later. | | |

Expand Down
1 change: 0 additions & 1 deletion docs/zh_CN/reference/v2beta1-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br />THe `live_connections` just work in EMQX 5.1 or later. | | |

Expand Down
Loading