Skip to content

Commit 236324f

Browse files
committed
[CP-399] Add support for AZ in operator: preparation to gather the zone per pod/node
1 parent 01d413e commit 236324f

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

api/v1/qdrantcluster_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,9 @@ type NodeStatus struct {
954954
// This is needed to beter report recovery process to the user.
955955
// +optional
956956
Liveness bool `json:"liveness,omitempty"`
957+
// The availibility zone the node is running in.
958+
// +optional
959+
Zone *string `json:"zone,omitempty"`
957960

958961
// Status phase of the Pod of the node
959962
// +optional

api/v1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/qdrant-kubernetes-api/templates/region-crds/qdrant.io_qdrantclusters.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2048,6 +2048,9 @@ spec:
20482048
description: Version specifies the version of Qdrant running
20492049
on the node
20502050
type: string
2051+
zone:
2052+
description: The availibility zone the node is running in.
2053+
type: string
20512054
type: object
20522055
description: Nodes specifies the status of the nodes in the cluster
20532056
type: object

crds/qdrant.io_qdrantclusters.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,6 +2047,9 @@ spec:
20472047
description: Version specifies the version of Qdrant running
20482048
on the node
20492049
type: string
2050+
zone:
2051+
description: The availibility zone the node is running in.
2052+
type: string
20502053
type: object
20512054
description: Nodes specifies the status of the nodes in the cluster
20522055
type: object

docs/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ _Appears in:_
572572
| `state` _object (keys:[PodConditionType](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podconditiontype-v1-core), values:[ConditionStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#conditionstatus-v1-core))_ | States specifies the condition states of the node | | |
573573
| `version` _string_ | Version specifies the version of Qdrant running on the node | | |
574574
| `liveness` _boolean_ | Reports if qdrant node responded to liveness request (before readiness).<br />This is needed to beter report recovery process to the user. | | |
575+
| `zone` _string_ | The availibility zone the node is running in. | | |
575576
| `podPhase` _[PodPhase](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podphase-v1-core)_ | Status phase of the Pod of the node | | |
576577
| `podConditions` _[PodCondition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podcondition-v1-core) array_ | Conditions of the Pod of the node | | |
577578
| `podMessage` _string_ | Status message of the Pod of the node | | |

0 commit comments

Comments
 (0)