Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for realDependenciesInpod (0.36 sec)

  1. cni/pkg/nodeagent/net.go

    	return &dep.RealDependencies{
    		// We are in the host FS *and* the Host network
    		HostFilesystemPodNetwork: false,
    		NetworkNamespace:         "",
    	}
    }
    
    func realDependenciesInpod() *dep.RealDependencies {
    	return &dep.RealDependencies{
    		// We are running the host FS, but the pod network -- setup rules differently (locking, etc)
    		HostFilesystemPodNetwork: true,
    		NetworkNamespace:         "",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 21 16:48:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server.go

    	if err != nil {
    		return nil, fmt.Errorf("error initializing the ztunnel server: %w", err)
    	}
    
    	hostIptables, podIptables, err := iptables.NewIptablesConfigurator(cfg, realDependenciesHost(), realDependenciesInpod(), iptables.RealNlDeps())
    	if err != nil {
    		return nil, fmt.Errorf("error configuring iptables: %w", err)
    	}
    
    	// Create hostprobe rules now, in the host netns
    	hostIptables.DeleteHostRules()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top