Skip to search

Rebalance

apps.emqx.io / v2beta1

apiVersion: apps.emqx.io/v2beta1 kind: Rebalance metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata object
spec object
instanceName string required
InstanceName represents the name of EMQX CR.
rebalanceStrategy object required
RebalanceStrategy represents the strategy of EMQX rebalancing More info: https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing
absConnThreshold integer
Represents the absolute threshold for checking connection balance. Same as `abs-conn-threshold` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing).
format: int32
minimum: 1
absSessThreshold integer
Represents the absolute threshold for checking session connection balance. Same as `abs-sess-threshold` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing)
format: int32
minimum: 1
connEvictRate integer required
Represents the source node client disconnect rate per second. Same as `conn-evict-rate` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing).
format: int32
minimum: 1
relConnThreshold string
Represents the relative threshold for checkin connection balance. Same as `rel-conn-threshold` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing). Using floats is highly [discouraged](https://github.com/kubernetes-sigs/controller-tools/issues/245), defined as a _string_ instead. Must be greater than 1.0.
pattern: ^[1-9]{1,8}\.[0-9]{1,8}$
relSessThreshold string
Represents the relative threshold for checking session connection balance. Same as `rel-sess-threshold` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing). Using floats is highly [discouraged](https://github.com/kubernetes-sigs/controller-tools/issues/245), defined as a _string_ instead. Must be greater than 1.0.
pattern: ^[1-9]{1,8}\.[0-9]{1,8}$
sessEvictRate integer
Represents the source node session evacuation rate per second. Same as `sess-evict-rate` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing).
format: int32
minimum: 1
waitHealthCheck integer
Represents the time (in seconds) to wait for the LB to remove the source node from the list of active backend nodes. After the specified waiting time is exceeded, the rebalancing task will start. Same as `wait-health-check` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing).
format: int32
minimum: 0
waitTakeover integer
Represents the time in seconds to wait for a client to reconnect to take over the session after all connections are disconnected. Same as `wait-takeover` in [EMQX Rebalancing](https://docs.emqx.com/en/emqx/v5.10/deploy/cluster/rebalancing.html#rebalancing).
format: int32
minimum: 0
status object
completedTime string
CompletedTime Represents the time when the rebalance job was completed.
format: date-time
conditions []object
The latest available observations of an object's current state. When Rebalance fails, the condition will have type "Failed" and status false. When Rebalance is in processing, the condition will have a type "Processing" and status true. When Rebalance is completed, the condition will have a type "Complete" and status true.
lastTransitionTime string
Last time the condition transitioned from one status to another.
format: date-time
lastUpdateTime string
The last time this condition was updated.
format: date-time
message string
A human readable message indicating details about the transition.
reason string
The reason for the condition's last transition.
status string required
Status of the condition, one of True, False, Unknown.
type string required
Status of rebalance condition type. one of Processing, Complete, Failed.
phase string
Phase represents the phase of Rebalance.
rebalanceStates []object
connection_eviction_rate integer
ConnectionEvictionRate represents the node session evacuation rate per second.
format: int32
coordinator_node string
CoordinatorNode represents the node currently undergoing rebalancing.
donors []string
Donors represent the source nodes for rebalancing.
node string
Which node this rebalancing state belongs to. See `v2beta1.EMQXNode.Node`.
recipients []string
Recipients represent the target node for rebalancing.
session_eviction_rate integer
SessionEvictionRate represents the node session evacuation rate per second.
format: int32
state string
State of the rebalancing.
startedTime string
StartedTime Represents the time when rebalance job start.
format: date-time

No matches. Try .spec.instanceName for an exact path