Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for PodRunning (0.12 sec)

  1. pkg/test/framework/components/istio/eastwest.go

    			LabelSelector: eastWestIngressIstioLabel,
    		})
    		if err != nil {
    			return err
    		}
    		for _, p := range pods.Items {
    			if p.Status.Phase == corev1.PodRunning {
    				return nil
    			}
    		}
    		return fmt.Errorf("no ready pods for " + eastWestIngressIstioLabel)
    	}, componentDeployTimeout, componentDeployDelay); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug_test.go

    						Labels: map[string]string{
    							"app":                 "istiod",
    							label.IoIstioRev.Name: c.revision,
    						},
    					},
    					Status: corev1.PodStatus{
    						Phase: corev1.PodRunning,
    					},
    				}, metav1.CreateOptions{})
    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, DebugCommand(ctx), c)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. istioctl/pkg/util/handlers/handlers_test.go

    				{
    					EphemeralContainerCommon: corev1.EphemeralContainerCommon{
    						Name: "debugger",
    					},
    				},
    			},
    		},
    		Status: corev1.PodStatus{
    			Phase: corev1.PodRunning,
    		},
    	}
    }
    
    func attachDeploy(ns string) *appsv1.Deployment {
    	return &appsv1.Deployment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: ns,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/ingress/status_test.go

    			Namespace: "istio-system",
    			Labels: map[string]string{
    				"istio": "ingressgateway",
    			},
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "foo_node",
    		},
    		Status: corev1.PodStatus{
    			Phase: corev1.PodRunning,
    		},
    	},
    	ingressService,
    	&corev1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "istio-ingress-hostname",
    			Namespace: IngressNamespace,
    		},
    		Status: corev1.ServiceStatus{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. pkg/kubelet/prober/prober_manager_test.go

    		ContainerID: "test://terminated_container_id",
    		State: v1.ContainerState{
    			Terminated: &v1.ContainerStateTerminated{},
    		},
    	}
    	podStatus := v1.PodStatus{
    		Phase: v1.PodRunning,
    		ContainerStatuses: []v1.ContainerStatus{
    			unprobed, probedReady, probedPending, probedUnready, notStartedNoReadiness, startedNoReadiness, terminated,
    		},
    	}
    
    	m := newTestManager()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. istioctl/pkg/proxystatus/proxystatus_test.go

    						Labels: map[string]string{
    							"app":                 "istiod",
    							label.IoIstioRev.Name: c.revision,
    						},
    					},
    					Status: corev1.PodStatus{
    						Phase: corev1.PodRunning,
    					},
    				}, metav1.CreateOptions{})
    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, XdsStatusCommand(ctx), c)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/ingress/status.go

    	igPods := s.pods.List(IngressNamespace, labels.SelectorFromSet(igSelector))
    
    	for _, pod := range igPods {
    		// only Running pods are valid
    		if pod.Status.Phase != corev1.PodRunning {
    			continue
    		}
    
    		// Find node external IP
    		node := s.nodes.Get(pod.Spec.NodeName, "")
    		if node == nil {
    			continue
    		}
    
    		for _, address := range node.Status.Addresses {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. pkg/kube/portforwarder.go

    	}
    	pod, ok := obj.(*v1.Pod)
    	if !ok {
    		return nil, fmt.Errorf("failed getting pod, object type is %T", obj)
    	}
    	if pod.Status.Phase != v1.PodRunning {
    		return nil, fmt.Errorf("pod is not running. Status=%v", pod.Status.Phase)
    	}
    
    	return fw, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. pkg/kube/util.go

    	case corev1.PodSucceeded:
    		return nil
    	case corev1.PodRunning:
    		return CheckPodReady(pod)
    	default:
    		return fmt.Errorf("%s", pod.Status.Phase)
    	}
    }
    
    // CheckPodReady returns nil if the given pod and all of its containers are ready.
    func CheckPodReady(pod *corev1.Pod) error {
    	switch pod.Status.Phase {
    	case corev1.PodRunning:
    		// Wait until all containers are ready.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go

    }
    
    func AppendNonNil[T any](data []T, i *T) []T {
    	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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 22 20:35:23 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top