Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 116 for CNI (0.04 sec)

  1. cni/pkg/install/cniconfig.go

    			installLog.Errorf("Failed to rename CNI config file %v: %v", cniConfigFilepath, err)
    			return cniConfigFilepath, err
    		}
    		cniConfigFilepath += "list"
    	}
    
    	installLog.Infof("created CNI config %s", cniConfigFilepath)
    	installLog.Debugf("CNI config: %s", pluginConfig)
    	return cniConfigFilepath, nil
    }
    
    // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cni/pkg/install/install.go

    			}
    			if plugin["type"] == "istio-cni" {
    				return nil
    			}
    		}
    
    		return fmt.Errorf("istio-cni CNI config removed from CNI config file: %s", cniConfigFilepath)
    	}
    	// Verify that Istio CNI config exists as a standalone plugin
    	cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath)
    	if err != nil {
    		return err
    	}
    
    	if cniConfigMap["type"] != "istio-cni" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    	"strings"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/viper"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/install"
    	udsLog "istio.io/istio/cni/pkg/log"
    	"istio.io/istio/cni/pkg/monitoring"
    	"istio.io/istio/cni/pkg/nodeagent"
    	"istio.io/istio/cni/pkg/repair"
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/pkg/collateral"
    	"istio.io/istio/pkg/ctrlz"
    	"istio.io/istio/pkg/env"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. cni/pkg/install/binaries_test.go

    			name:          "basic",
    			srcFiles:      map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"},
    			expectedFiles: map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"},
    		},
    		{
    			name:          "update binaries",
    			srcFiles:      map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"},
    			existingFiles: map[string]string{"istio-cni": "cni000", "istio-iptables": "iptables111"},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 20 18:34:43 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. cni/pkg/constants/constants.go

    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)
  6. cni/cmd/istio-cni/main.go

    // limitations under the License.
    
    // This is a sample chained plugin that supports multiple CNI versions. It
    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/log"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_dryrun_test.go

    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ports.txt.golden"),
    		},
    		{
    			name: "tproxy",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:           "true",
    				annotation.SidecarInterceptionMode.Name: redirectModeTPROXY,
    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
    		},
    		{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. cni/pkg/config/config.go

    }
    
    // InstallConfig struct defines the Istio CNI installation options
    type InstallConfig struct {
    	// Location of the CNI config files in the container's filesystem (mount location of the CNINetDir)
    	MountedCNINetDir string
    	// Location of the node agent writable path on the node (used for sockets, etc)
    	CNIAgentRunDir string
    	// Name of the CNI config file
    	CNIConfName string
    	// Whether to install CNI plugin as a chained or standalone
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. cni/pkg/log/uds.go

    		log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    		return cniLog{}, false
    	}
    	var msg cniLog
    	if err := json.Unmarshal(raw["msg"], &msg.Msg); err != nil {
    		log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    		return cniLog{}, false
    	}
    	if err := json.Unmarshal(raw["level"], &msg.Level); err != nil {
    		log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    		return cniLog{}, false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. cni/test/install_k8s_test.go

    // limitations under the License.
    
    // This tests the k8s installation.  It validates the CNI plugin configuration
    // and the existence of the CNI plugin binary locations.
    package install_test
    
    import (
    	"testing"
    
    	install "istio.io/istio/cni/test"
    	"istio.io/istio/pkg/test/env"
    )
    
    type testCase struct {
    	name             string
    	chainedCNIPlugin bool
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 23:59:49 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top