Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for chainedCNIPlugin (0.22 sec)

  1. cni/test/install_k8s_test.go

    import (
    	"testing"
    
    	install "istio.io/istio/cni/test"
    	"istio.io/istio/pkg/test/env"
    )
    
    type testCase struct {
    	name             string
    	chainedCNIPlugin bool
    	preConfFile      string
    	resultFileName   string
    	// Must set chainedCNIPlugin to true if delayedConfFile is specified
    	delayedConfFile        string
    	expectedOutputFile     string
    	expectedPostCleanFile  string
    	cniConfDirOrderedFiles []string
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 23:59:49 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig_test.go

    		cfgFile := config.InstallConfig{
    			CNIConfName:      c.specifiedConfName,
    			ChainedCNIPlugin: c.chainedCNIPlugin,
    			PluginLogLevel:   "debug",
    			CNIAgentRunDir:   kubeconfigFilename,
    		}
    
    		cfg := config.InstallConfig{
    			CNIConfName:      c.specifiedConfName,
    			ChainedCNIPlugin: c.chainedCNIPlugin,
    			PluginLogLevel:   "debug",
    			CNIAgentRunDir:   kubeconfigFilename,
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. cni/pkg/install/install_test.go

    		expectedFailure   bool
    		cniConfigFilename string
    		cniConfName       string
    		chainedCNIPlugin  bool
    		existingConfFiles map[string]string // {srcFilename: targetFilename, ...}
    	}{
    		{
    			name:              "preempted config",
    			expectedFailure:   true,
    			cniConfigFilename: "list.conflist",
    			chainedCNIPlugin:  true,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. cni/test/install_cni.go

    			CNIBinTargetDirs:      []string{tempCNIBinDir},
    			K8sServicePort:        "443",
    			K8sServiceHost:        "10.110.0.1",
    			MonitoringPort:        0,
    			CNIAgentRunDir:        "/tmp",
    			ChainedCNIPlugin:      chainedCNIPlugin,
    			PluginLogLevel:        "debug",
    			ExcludeNamespaces:     "istio-system",
    			KubeconfigMode:        constants.DefaultKubeconfigMode,
    			CNIConfName:           envPreconf,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. cni/pkg/config/config.go

    func (c InstallConfig) String() string {
    	var b strings.Builder
    	b.WriteString("MountedCNINetDir: " + c.MountedCNINetDir + "\n")
    	b.WriteString("CNIConfName: " + c.CNIConfName + "\n")
    	b.WriteString("ChainedCNIPlugin: " + fmt.Sprint(c.ChainedCNIPlugin) + "\n")
    	b.WriteString("CNIAgentRunDir: " + fmt.Sprint(c.CNIAgentRunDir) + "\n")
    
    	b.WriteString("PluginLogLevel: " + c.PluginLogLevel + "\n")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. cni/pkg/install/cniconfig.go

    	cniConfigFilepath, err := getCNIConfigFilepath(ctx, cfg.CNIConfName, cfg.MountedCNINetDir, cfg.ChainedCNIPlugin)
    	if err != nil {
    		return "", err
    	}
    
    	if cfg.ChainedCNIPlugin {
    		if !file.Exists(cniConfigFilepath) {
    			return "", fmt.Errorf("CNI config file %s removed during configuration", cniConfigFilepath)
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    	installCfg := config.InstallConfig{
    		MountedCNINetDir: viper.GetString(constants.MountedCNINetDir),
    		CNIConfName:      viper.GetString(constants.CNIConfName),
    		ChainedCNIPlugin: viper.GetBool(constants.ChainedCNIPlugin),
    		CNIAgentRunDir:   viper.GetString(constants.CNIAgentRunDir),
    
    		// Whatever user has set (with --log_output_level) for 'cni-plugin', pass it down to the plugin. It will use this to determine
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. cni/pkg/constants/constants.go

    // limitations under the License.
    
    package constants
    
    // Command line arguments
    const (
    	// Install
    	MountedCNINetDir         = "mounted-cni-net-dir"
    	CNIConfName              = "cni-conf-name"
    	ChainedCNIPlugin         = "chained-cni-plugin"
    	CNINetworkConfigFile     = "cni-network-config-file"
    	CNINetworkConfig         = "cni-network-config"
    	LogLevel                 = "log-level"
    	KubeconfigMode           = "kubeconfig-mode"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. cni/pkg/install/install.go

    func (in *Installer) Cleanup() error {
    	installLog.Info("cleaning up CNI installation")
    	if len(in.cniConfigFilepath) > 0 && file.Exists(in.cniConfigFilepath) {
    		if in.cfg.ChainedCNIPlugin {
    			installLog.Infof("removing Istio CNI config from CNI config file: %s", in.cniConfigFilepath)
    
    			// Read JSON from CNI config file
    			cniConfigMap, err := util.ReadCNIConfigMap(in.cniConfigFilepath)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top