Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for from (0.14 sec)

  1. cni/pkg/iptables/iptables.go

    		"-j", "CONNMARK",
    		"--set-xmark", inpodTproxyMark)
    
    	// Handle healthcheck probes from the host node. In the host netns, before the packet enters the pod, we SNAT
    	// the healthcheck packet to a fixed IP if the packet is coming from a node-local process with a socket.
    	//
    	// We do this so we can exempt this traffic from ztunnel capture/proxy - otherwise both kube-proxy (legit)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  2. cni/pkg/log/uds.go

    		}
    		msg.Msg = strings.TrimSpace(msg.Msg)
    		messages = append(messages, msg)
    	}
    	// Lock log message printing to prevent log messages from different CNI
    	// processes interleave.
    	l.mu.Lock()
    	defer l.mu.Unlock()
    	for _, m := range messages {
    		// There is no fatal log from CNI plugin
    		switch m.Level {
    		case "debug":
    			pluginLog.LogWithTime(log.DebugLevel, m.Msg, m.Time)
    		case "info":
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    	}
    }
    
    // Removes Istio CNI's config from the CNI config file
    func rmCNIConfig(cniConfigFilepath string, t *testing.T) {
    	t.Helper()
    
    	// Read JSON from CNI config file
    	cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Find Istio CNI and remove from plugin list
    	plugins, err := util.GetPlugins(cniConfigMap)
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. istioctl/pkg/util/configdump/route.go

    			drLastUpdated := drc[i].LastUpdated.AsTime()
    			if drLastUpdated.After(lastUpdated) {
    				lastUpdated = drLastUpdated
    			}
    		}
    	}
    	if lastUpdated.After(time.Unix(0, 0)) { // if a timestamp was obtained from a drc
    		return &lastUpdated, nil
    	}
    	return nil, nil
    }
    
    // GetDynamicRouteDump retrieves a route dump with just dynamic active routes in it
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net_test.go

    	// with delete iptables is not called, as there is no need to delete the iptables rules
    	// from a pod that's gone from the cluster.
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 0)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 0)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    	// run gc to clean up ns:
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/ztunnelserver.go

    	z.conns.addConn(conn)
    	defer z.conns.deleteConn(conn)
    
    	// get hello message from ztunnel
    	m, _, err := readProto[zdsapi.ZdsHello](conn.u, readWriteDeadline, nil)
    	if err != nil {
    		return err
    	}
    	log.Infof("received hello from ztunnel. %v", m.Version)
    	log.Debug("sending snapshot to ztunnel")
    	if err := z.sendSnapshot(ctx, conn); err != nil {
    		return err
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. istioctl/pkg/config/config_test.go

    		//	ExpectedRegexp: regexp.MustCompile("Configure istioctl defaults"),
    		//	WantException:  false,
    		//},
    		{ // case 1
    			Args: strings.Split("list", " "),
    			ExpectedOutput: `FLAG                    VALUE            FROM
    authority                                default
    cert-dir                                 default
    insecure                                 default
    istioNamespace          istio-system     default
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. istioctl/pkg/util/common.go

    var ManifestsFlagHelpStr = `Specify a path to a directory of charts and profiles
    (e.g. ~/Downloads/istio-` + binversion.OperatorVersionString + `/manifests).`
    
    // CommandParseError distinguishes an error parsing istioctl CLI arguments from an error processing
    type CommandParseError struct {
    	Err error
    }
    
    func (c CommandParseError) Error() string {
    	return c.Err.Error()
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/cluster.go

    		for i := range dac {
    			dac[i].VersionInfo = ""
    			dac[i].LastUpdated = nil
    		}
    	}
    	return &admin.ClustersConfigDump{DynamicActiveClusters: dac}, nil
    }
    
    // GetClusterConfigDump retrieves the cluster config dump from the ConfigDump
    func (w *Wrapper) GetClusterConfigDump() (*admin.ClustersConfigDump, error) {
    	clusterDumpAny, err := w.getSection(clusters)
    	if err != nil {
    		return nil, err
    	}
    	clusterDump := &admin.ClustersConfigDump{}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig.go

    		if err != nil {
    			return nil, err
    		}
    		installLog.Infof("Using CNI config template from %s", template.cniNetworkConfigFile)
    		return cniConfig, nil
    	}
    
    	if len(template.cniNetworkConfig) > 0 {
    		installLog.Infof("Using CNI config template from CNI_NETWORK_CONFIG environment variable.")
    		return []byte(template.cniNetworkConfig), nil
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top