Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewSinglePodFetch (0.16 sec)

  1. pkg/test/framework/components/prometheus/kube.go

    	}
    	for _, cls := range ctx.Clusters() {
    		scopes.Framework.Debugf("Installing Prometheus on cluster: %s", cls.Name())
    		// Find the Prometheus pod and service, and start forwarding a local port.
    		fetchFn := testKube.NewSinglePodFetch(cls, cfg.TelemetryNamespace, fmt.Sprintf("app.kubernetes.io/name=%s", appName))
    		pods, err := testKube.WaitUntilPodsAreReady(fetchFn)
    		if err != nil {
    			return nil, err
    		}
    		pod := pods[0]
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. pkg/test/framework/components/ambient/waypoint.go

    		constants.AllTraffic,
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	cls := ctx.Clusters().Default()
    	// Find the Waypoint pod and service, and start forwarding a local port.
    	fetchFn := testKube.NewSinglePodFetch(cls, ns.Name(), fmt.Sprintf("%s=%s", constants.GatewayNameLabel, name))
    	pods, err := testKube.WaitUntilPodsAreReady(fetchFn)
    	if err != nil {
    		return nil, err
    	}
    	pod := pods[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/kube.go

    }
    
    func (i *istioImpl) PodIPsFor(c cluster.Cluster, namespace string, label string) ([]corev1.PodIP, error) {
    	// Find the pod with the specified label in the specified namespace
    	fetchFn := testKube.NewSinglePodFetch(c, namespace, label)
    	pods, err := testKube.WaitUntilPodsAreReady(fetchFn)
    	if err != nil {
    		return nil, err
    	}
    
    	pod := pods[0]
    	return pod.Status.PodIPs, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. tests/integration/pilot/gateway_test.go

            istio.io/gateway-name: managed-owner
        spec:
          containers:
          - name: fake
            image: %s
    `, image)).ApplyOrFail(t)
    	cls := t.Clusters().Default()
    	fetchFn := testKube.NewSinglePodFetch(cls, apps.Namespace.Name(), "gateway.networking.k8s.io/gateway-name=managed-owner")
    	if _, err := testKube.WaitUntilPodsAreReady(fetchFn); err != nil {
    		t.Fatal(err)
    	}
    
    	t.ConfigIstio().YAML(apps.Namespace.Name(), `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top