!2 CRD status Reporter + CI Workflow Test

* Added CI workflow for Dockerized k8s Operator
* Added Readiness Listener based on StatefulSet.Status.ReadyReplicas
* Update Readiness Probing timeout mechanism
This commit is contained in:
戴明辰
2024-09-30 06:38:22 +00:00
parent c10befe9f8
commit a923904e3b
5 changed files with 83 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