Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for lookup (0.17 sec)

  1. cni/pkg/iptables/iptables_linux.go

    	families := []int{unix.AF_INET}
    	if cfg.EnableIPv6 {
    		families = append(families, unix.AF_INET6)
    	}
    	for _, family := range families {
    		// Equiv:
    		// ip rule add fwmark 0x111/0xfff pref 32764 lookup 100
    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    		//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    	return configCmd
    }
    
    func getPodNames(ctx cli.Context, podflag, ns string) ([]string, string, error) {
    	podNames, ns, err := ctx.InferPodsFromTypedResource(podflag, ns)
    	if err != nil {
    		log.Errorf("pods lookup failed")
    		return []string{}, "", err
    	}
    	return podNames, ns, nil
    }
    
    func getPodName(ctx cli.Context, podflag string) (string, string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. cni/README.md

        - periodically copy the K8S JWT token for istio-cni on the host to connect to K8S.
        - injects the CNI plugin config to the CNI config file
            - CNI installer will try to look for the config file under the mounted CNI net dir based on file name extensions (`.conf`, `.conflist`)
            - the file name can be explicitly set by `CNI_CONF_NAME` env var
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    				fmt.Fprintf(w, "%v\tOutbound\t%v\t%v\t%v\n", name, lookupIP(c.Src), lookupIP(c.ActualDst), lookupIP(c.OriginalDst))
    			}
    		}
    	}
    	return w.Flush()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. architecture/ambient/ztunnel.md

    As the name suggests, an `Address` represents a particular IP Address.
    This can be a `Service` or a `Workload`.
    
    The address type has the following goals:
    * It should support (but not require) on-demand lookups.
      * Specifically, ztunnel should be able to send a request to the control plane to answer "I got a request to send traffic to 1.1.1.1, what is 1.1.1.1?"
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    // concepts during lookup stages without having partially valid types
    //
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message GroupKind {
      optional string group = 1;
    
      optional string kind = 2;
    }
    
    // GroupResource specifies a Group and a Resource, but does not force a version.  This is useful for identifying
    // concepts during lookup stages without having partially valid types
    //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1/generated.proto

      // +listType=atomic
      repeated PodFailurePolicyRule rules = 1;
    }
    
    // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling
    // a failed pod based on its container exit codes. In particular, it lookups the
    // .state.terminated.exitCode for each app container and init container status,
    // represented by the .status.containerStatuses and .status.initContainerStatuses
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  8. istioctl/pkg/util/handlers/handlers.go

    	if idx := strings.LastIndex(name, "/"); idx > 0 {
    		// If there is a / in it, we need to handle differently. This is resourcetype/name.namespace.
    		// However, resourcetype can have . in it as well, so we should only look for namespace after the /.
    		separator := strings.LastIndex(name[idx:], ".")
    		if separator < 0 {
    			return name, namespace
    		}
    
    		return name[0 : idx+separator], name[idx+separator+1:]
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		var configWriter *ztunnelDump.ConfigWriter
    		if common.configDumpFile != "" {
    			configWriter, err = setupFileZtunnelConfigdumpWriter(common.configDumpFile, c.OutOrStdout())
    		} else {
    			lookup := "daemonset/ztunnel"
    			if len(args) > 0 {
    				lookup = args[0]
    			}
    			if common.node != "" {
    				nsn, err := PodOnNodeFromDaemonset(common.node, "ztunnel", ctx.IstioNamespace(), kubeClient)
    				if err != nil {
    					return err
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. cni/pkg/repair/netns.go

    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    	for _, p := range procs {
    		ns := getPidNamespace(p.PID)
    		fd, err := unix.Open(ns, unix.O_RDONLY, 0)
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top