Added Readiness Listener based on StatefulSet.Status.ReadyReplicas

This commit is contained in:
Mingchen Dai
2024-09-30 03:03:57 +00:00
parent 1600db90da
commit 41654afce9
3 changed files with 24 additions and 0 deletions

View File

@@ -98,6 +98,10 @@ type DevcontainerAppStatus struct {
// NodePortAssigned 存储 DevcontainerApp CRD调度后集群分配的 NodePort
// +optional
NodePortAssigned uint16 `json:"nodePortAssigned"`
// Ready 标识 DevcontainerApp 管理的 Pod 的 Readiness Probe 是否达到就绪状态
// +optional
Ready bool `json:"ready"`
}
// +kubebuilder:object:root=true