Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Chen (0.18 sec)

  1. istioctl/pkg/multixds/gather.go

    	// XdsViaAgents accesses Istiod via the tap service of each agent.
    	// This is only used in `proxy-status` command.
    	XdsViaAgents bool
    
    	// XdsViaAgentsLimit is the maximum number of pods being visited by istioctl,
    	// when `XdsViaAgents` is true. This is only used in `proxy-status` command.
    	// 0 means that there is no limit.
    	XdsViaAgentsLimit int
    }
    
    var DefaultOptions = Options{
    	MessageWriter:     os.Stdout,
    	XdsViaAgents:      false,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    			str := marshalWorkloadEntryPodPorts(c.ports)
    			if c.want != str {
    				t.Errorf("want %s, got %s", c.want, str)
    			}
    		})
    	}
    }
    
    // TestWorkloadEntryConfigureNilProxyMetadata tests a particular use case when the
    // proxyMetadata is nil, no metadata would be generated at all.
    func TestWorkloadEntryConfigureNilProxyMetadata(t *testing.T) {
    	testdir := "testdata/vmconfig-nil-proxy-metadata"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables.go

    		{"-t", iptablesconstants.NAT, "-D", iptablesconstants.OUTPUT, "-j", ChainInpodOutput},
    	}
    
    	// these sometimes fail due to "Device or resource busy"
    	optionalDeleteCmds := [][]string{
    		// flush-then-delete our created chains
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodPrerouting},
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodOutput},
    		{"-t", iptablesconstants.NAT, "-F", ChainInpodOutput},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    	when a new ztunnel connects with different uid, only propagate deletes to older ztunnels.
    */
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/dashboard/dashboard.go

    		"Address to listen on. Only accepts IP address or localhost as a value. "+
    			"When localhost is supplied, istioctl will try to bind on both 127.0.0.1 and ::1 "+
    			"and will fail if neither of these address are available to bind.")
    	dashboardCmd.PersistentFlags().BoolVar(&browser, "browser", true,
    		"When --browser is supplied as false, istioctl dashboard will not open the browser. "+
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net_test.go

    	netServer := fixture.netServer
    	err := netServer.syncHostIPSets([]*corev1.Pod{pod})
    	assert.NoError(t, err)
    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    // for tests that call `runtime.GC()` - we have no control over when the GC is actually scheduled,
    // and it is flake-prone to check for closure after calling it, this retries for a bit to make
    // sure the netns is closed eventually.
    func assertNSClosed(t *testing.T, closed *atomic.Bool) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    run kube-inject over a single file that contains multiple Service,
    ConfigMap, Deployment, etc. definitions for a complex application. When in
    doubt re-run istioctl kube-inject on deployments to get the most up-to-date changes.
    
    It's best to do kube-inject when the resource is initially created.
    `,
    		Example: `  # Update resources on the fly before applying.
      kubectl apply -f <(istioctl kube-inject -f <resource.yaml>)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    	path := "clusters"
    	if outputFormat == jsonOutput || outputFormat == yamlOutput {
    		// for yaml output we will convert the json to yaml when printed
    		path += "?format=json"
    	}
    	result, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "GET", path, proxyAdminPort)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  9. operator/cmd/mesh/install.go

    		sort.Strings(icpTags)
    		// capture latest revision installed for comparison
    		for _, val := range icpTags {
    			if val != "" {
    				icpTag = val
    			}
    		}
    		// when the revision is passed
    		if icpTag != "" && tag != icpTag {
    			check := "         Before upgrading, you may wish to use 'istioctl x precheck' to check for upgrade warnings.\n"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  10. istioctl/pkg/tag/tag.go

    change which control plane revision handles injection, it's possible to create a revision tag "prod" and label our
    namespace "istio.io/rev=prod". The "prod" revision tag could point to "1-7-6" initially and then be changed to point to "1-8-1"
    at some later point.
    
    This allows operators to change which Istio control plane revision should handle injection for a namespace or set of namespaces
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top