mirror of
https://gitee.com/devstar/devstar-devcontainer-operator
synced 2025-12-21 04:12:27 +00:00
Added Readiness Listener based on StatefulSet.Status.ReadyReplicas
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user