use pod phase/status (#1356)

This commit is contained in:
Asim Aslam
2020-03-16 23:47:34 +00:00
committed by GitHub
parent 5712aafba9
commit 03031a694d
2 changed files with 16 additions and 12 deletions

View File

@@ -103,9 +103,10 @@ type Pod struct {
// PodStatus
type PodStatus struct {
Conditions []PodCondition `json:"conditions,omitempty"`
PodIP string `json:"podIP"`
Phase string `json:"phase"`
Conditions []PodCondition `json:"conditions,omitempty"`
Reason string `json:"reason"`
}
// PodCondition describes the state of pod