Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 311 for clusterIPs (0.16 sec)

  1. tests/integration/pilot/vm_test.go

    	stdOut, _, err := t.Clusters().Default().
    		PodExec(pilot, i.Settings().SystemNamespace, "discovery", cmd)
    	if err != nil {
    		scopes.Framework.Warnf("failed to force disconnect %s: %v: %v", proxyID, stdOut, err)
    	}
    }
    
    func scaleDeploymentOrFail(t framework.TestContext, name, namespace string, scale int32) {
    	s, err := t.Clusters().Default().Kube().AppsV1().Deployments(namespace).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. pkg/test/framework/suitecontext.go

    	return c.globalScope.get(ref)
    }
    
    func (c *suiteContext) Environment() resource.Environment {
    	return c.environment
    }
    
    func (c *suiteContext) Clusters() cluster.Clusters {
    	return c.Environment().Clusters()
    }
    
    func (c *suiteContext) AllClusters() cluster.Clusters {
    	return c.Environment().AllClusters()
    }
    
    // Settings returns the current runtime.Settings.
    func (c *suiteContext) Settings() *resource.Settings {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. tests/integration/pilot/gw_topology_test.go

    			templateParams := map[string]string{
    				"imagePullSecret": t.Settings().Image.PullSecret,
    				"injectLabel":     injectLabel,
    				"imagePullPolicy": t.Settings().Image.PullPolicy,
    			}
    
    			// we only apply to config clusters
    			t.ConfigIstio().Eval(gatewayNs.Name(), templateParams, `apiVersion: v1
    kind: Service
    metadata:
      name: custom-gateway
      labels:
        istio: ingressgateway
    spec:
      ports:
      - port: 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/cleanup.go

    	}
    
    	if i.cfg.DeployIstio {
    		errG := multierror.Group{}
    		// Make sure to clean up primary clusters before remotes, or istiod will recreate some of the CMs that we delete
    		// in the remote clusters before it's deleted.
    		for _, c := range i.ctx.AllClusters().Primaries() {
    			i.cleanupCluster(c, &errG)
    		}
    		for _, c := range i.ctx.Clusters().Remotes() {
    			i.cleanupCluster(c, &errG)
    		}
    		return errG.Wait().ErrorOrNil()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. tests/integration/pilot/analyze_test.go

    	t.Helper()
    	if err := t.Clusters().Default().ApplyYAMLFiles(ns, filename); err != nil {
    		t.Fatal(err)
    	}
    	t.Cleanup(func() {
    		_ = t.Clusters().Default().DeleteYAMLFiles(ns, filename)
    	})
    }
    
    func TestMultiCluster(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			if len(t.Environment().Clusters()) < 2 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. pkg/test/framework/components/prometheus/kube.go

    	_ Instance  = &kubeComponent{}
    	_ io.Closer = &kubeComponent{}
    )
    
    type kubeComponent struct {
    	id resource.ID
    
    	api       map[string]prometheusApiV1.API
    	forwarder map[string]istioKube.PortForwarder
    	clusters  cluster.Clusters
    }
    
    func getPrometheusYaml() (string, error) {
    	yamlBytes, err := os.ReadFile(filepath.Join(env.IstioSrc, "samples/addons/prometheus.yaml"))
    	if err != nil {
    		return "", err
    	}
    	yaml := string(yamlBytes)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tests/integration/security/filebased_tls_origination/main_test.go

    			Annotations: map[string]string{annotation.SidecarInject.Name: "false"},
    		}},
    		Cluster: ctx.Clusters().Default(),
    	}
    
    	internalClient := echo.Config{
    		Service:   "internal-client",
    		Namespace: appNamespace,
    		Ports:     []echo.Port{},
    		Subsets: []echo.SubsetConfig{{
    			Version: "v1",
    		}},
    		Cluster: ctx.Clusters().Default(),
    	}
    
    	externalService := echo.Config{
    		Service:   "external-service",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/config.go

    	// on remote clusters for integration tests
    	IntegrationTestRemoteDefaultsIOP = "tests/integration/iop-remote-integration-test-defaults.yaml"
    
    	// BaseIOP is the path of the base IstioOperator spec
    	BaseIOP = "tests/integration/base.yaml"
    
    	// IntegrationTestRemoteGatewaysIOP is the path of the default IstioOperator spec to use
    	// to install gateways on remote clusters for integration tests
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. tests/integration/pilot/istioctl_test.go

    			for _, cluster := range t.Clusters().Primaries() {
    				cluster := cluster
    				t.NewSubTest(cluster.StableName()).Run(func(t framework.TestContext) {
    					istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{Cluster: cluster})
    					var output string
    					args := []string{"remote-clusters"}
    					output, _ = istioCtl.InvokeOrFail(t, args)
    					for _, otherName := range t.Clusters().Exclude(cluster).Names() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. pilot/pkg/xds/cds_test.go

    			}
    			// Run multiple assertions to verify idempotency; previous versions had issues here.
    			for i := 0; i < 2; i++ {
    				clusters := s.Clusters(s.SetupProxy(&model.Proxy{ConfigNamespace: "test"}))
    				assertSANs(t, clusters, "outbound|80||example.default.svc.cluster.local", tt.sans)
    				t.Logf("iteration %d passed", i)
    			}
    		})
    	}
    }
    
    func TestServiceEntryMerge(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top