Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 997 for kubetest (0.69 sec)

  1. tests/integration/pilot/gw_topology_test.go

    			cs := t.Clusters().Default().(*kubecluster.Cluster)
    			retry.UntilSuccessOrFail(t, func() error {
    				_, err := kubetest.CheckPodsAreReady(kubetest.NewPodFetch(cs, gatewayNs.Name(), "istio=ingressgateway"))
    				return err
    			}, retry.Timeout(time.Minute*2), retry.Delay(time.Second))
    
    			// Apply an envoy filter in a subtest to the existing gateway
    			t.NewSubTest("filter").Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. cluster/log-dump/README.md

    To make the mechanism support your Kubernetes provider in tests using `kubekins-e2e`, modify
    the `logDumpPath` function in
    [kubetest](https://github.com/kubernetes/test-infra/tree/master/kubetest) to handle your provider and
    adapt [log-dump.sh](https://github.com/kubernetes/test-infra/blob/master/logexporter/cluster/log-dump.sh)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 15 08:58:09 UTC 2020
    - 1009 bytes
    - Viewed (0)
  3. cluster/kubemark/iks/config-default.sh

    NUM_NODES="${NUM_NODES:-2}"
    # spec of real workers in spawnTester cluster
    NODE_SIZE=${NODE_SIZE:-u2c.2x4}
    DESIRED_NODES="${DESIRED_NODES:-10}"
    # number of hollow nodes
    # TODO: once IKS supports `kubetest`, i.e. the base cluster provisioning implemented in `kubetest`
    # we can use NUM_NODES=${KUBEMARK_NUM_NODES:-10} to avoid usage of KUBEMARK_NUM_NODES
    # more context, see https://github.com/kubernetes/kubernetes/pull/76909#discussion_r277735942
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 17:15:29 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisioned_upgrade_test.go

    	if err := revisionedInstance.Restart(); err != nil {
    		t.Fatalf("revisioned instance rollout failed with: %v", err)
    	}
    	fetch := kubetest.NewPodMustFetch(t.Clusters().Default(), revisionedInstance.Config().Namespace.Name(), fmt.Sprintf("app=%s", revisionedInstance.Config().Service)) // nolint: lll
    	pods, err := kubetest.CheckPodsAreReady(fetch)
    	if err != nil {
    		t.Fatalf("failed to retrieve upgraded pods: %v", err)
    	}
    	for _, p := range pods {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. tests/integration/ambient/waypoint_test.go

    		})
    }
    
    func checkWaypointIsReady(t framework.TestContext, ns, name string) error {
    	fetch := kubetest.NewPodFetch(t.AllClusters()[0], ns, constants.GatewayNameLabel+"="+name)
    	_, err := kubetest.CheckPodsAreReady(fetch)
    	return err
    }
    
    func TestSimpleHTTPSandwich(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			config := `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tests/integration/pilot/ingress_test.go

            port:
              number: 80
    `).Apply(apply.NoCleanup)
    				cs := t.Clusters().Default().(*kubecluster.Cluster)
    				retry.UntilSuccessOrFail(t, func() error {
    					_, err := kubetest.CheckPodsAreReady(kubetest.NewPodFetch(cs, gatewayNs.Name(), "istio=custom"))
    					return err
    				}, retry.Timeout(time.Minute*2))
    				apps.B[0].CallOrFail(t, echo.CallOptions{
    					Port:    echo.Port{ServicePort: 80},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. tests/integration/helm/util.go

    func VerifyPodReady(ctx framework.TestContext, cs cluster.Cluster, ns, label string) {
    	retry.UntilSuccessOrFail(ctx, func() error {
    		if _, err := kubetest.CheckPodsAreReady(kubetest.NewPodFetch(cs, ns, label)); err != nil {
    			return fmt.Errorf("%s pod is not ready: %v", label, err)
    		}
    		return nil
    	}, retry.Timeout(RetryTimeOut), retry.Delay(RetryDelay))
    }
    
    // VerifyInstallation verify that the Helm installation is successful
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. tests/integration/pilot/revisions/revision_tag_test.go

    	"istio.io/istio/pkg/test/framework/components/echo/deployment"
    	"istio.io/istio/pkg/test/framework/components/istioctl"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    	kubetest "istio.io/istio/pkg/test/kube"
    )
    
    func TestRevisionTags(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tests/integration/helm/upgrade/util.go

    }
    
    func checkVersion(t framework.TestContext, namespace, version string) error {
    	// func NewPodFetch(a istioKube.CLIClient, namespace string, selectors ...string) PodFetchFunc {
    	fetch := kubetest.NewPodFetch(t.Clusters().Default(), namespace)
    	pods, err := kubetest.CheckPodsAreReady(fetch)
    	if err != nil {
    		return fmt.Errorf("failed to retrieve pods: %v", err)
    	}
    	for _, p := range pods {
    		for _, c := range p.Spec.Containers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. tests/integration/ambient/cacert_rotation_test.go

    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/components/istioctl"
    	"istio.io/istio/pkg/test/framework/components/namespace"
    	kubetest "istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/security/pkg/pki/util"
    	"istio.io/istio/tests/integration/security/util/cert"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top