- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsPodPending (0.28 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go
if i != nil { data = append(data, *i) } return data } func IsPodRunning(pod *v1.Pod) bool { return pod.Status.Phase == v1.PodRunning } func IsPodPending(pod *v1.Pod) bool { return pod.Status.Phase == v1.PodPending } // IsPodReady is copied from kubernetes/pkg/api/v1/pod/utils.go func IsPodReady(pod *v1.Pod) bool { return IsPodReadyConditionTrue(pod.Status)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 22 20:35:23 UTC 2024 - 7.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
// Pod Is Pending but have a pod IP should be a valid workload, we should build it , // Such as the pod have initContainer which is initialing. // See https://github.com/istio/istio/issues/48854 if (!IsPodRunning(p) && !IsPodPending(p)) || p.Spec.HostNetwork { return nil } podIP, err := netip.ParseAddr(p.Status.PodIP) if err != nil { // Is this possible? Probably not in typical case, but anyone could put garbage there.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0)