Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for cnibindir (0.1 sec)

  1. cni/pkg/install/install_test.go

    			existingConfigFilename: "istio-cni.conf",
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			cniNetDir := t.TempDir()
    			cniBinDir := t.TempDir()
    
    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. cni/pkg/constants/constants.go

    	LivenessEndpoint   = "/healthz"
    	ReadinessEndpoint  = "/readyz"
    	ReadinessPort      = "8000"
    	ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount"
    )
    
    // Exposed for testing "constants"
    var (
    	CNIBinDir     = "/opt/cni/bin"
    	HostCNIBinDir = "/host/opt/cni/bin"
    	// Well-known subpath we will mount any needed host-mounts under,
    	// to preclude shadowing or breaking any pod-internal mounts
    	HostMountsPath = "/host"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    		K8sServicePort:        os.Getenv("KUBERNETES_SERVICE_PORT"),
    		K8sNodeName:           os.Getenv("KUBERNETES_NODE_NAME"),
    		K8sServiceAccountPath: constants.ServiceAccountPath,
    
    		CNIBinSourceDir:  constants.CNIBinDir,
    		CNIBinTargetDirs: []string{constants.HostCNIBinDir},
    		MonitoringPort:   viper.GetInt(constants.MonitoringPort),
    
    		ExcludeNamespaces: viper.GetString(constants.ExcludeNamespaces),
    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. manifests/charts/README.md

    is a GKE cluster.
    
    ```bash
    ISTIO_CNI_ARGS=
    # TODO: What k8s data can we use for this check for whether GKE?
    if [[ "${ISTIO_CLUSTER_ISGKE}" == "true" ]]; then
        ISTIO_CNI_ARGS="--set cni.cniBinDir=/home/kubernetes/bin"
    fi
    iop kube-system istio-cni $IBASE/istio-cni/ ${ISTIO_CNI_ARGS}
    ```
    
    TODO. It is possible to add Istio-CNI later, and gradually migrate.
    
    ### Install Control plane
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 16:56:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

    	"ambient_enabled": %t,
        "kubernetes": {
            "k8sapiroot": "APIRoot",
            "kubeconfig": "testK8sConfig",
            "nodename": "testNodeName",
            "excludenamespaces": "testNS",
            "cnibindir": "/testDirectory"
        }
        }`
    
    	pod, ns := buildFakePodAndNSForClient()
    	testDoAddRun(t, fmt.Sprintf(confNoPrevResult, false), testNSName, pod, ns)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cni/pkg/install/testdata/istio-cni-prefixed.conf

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "prefix-istio-cni",
      "plugin_log_level": "debug",
      "kubernetes": {
          "kubeconfig": "/path/to/kubeconfig",
          "cni_bin_dir": "/path/cni/bin"
      }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 215 bytes
    - Viewed (0)
  7. cni/pkg/install/testdata/list-with-istio.conflist

          },
          "type": "bridge"
        },
        {
          "sysctl": {
            "net.core.somaxconn": "500"
          },
          "type": "tuning"
        },
        {
          "kubernetes": {
            "cni_bin_dir": "/path/cni/bin",
            "kubeconfig": "/path/to/kubeconfig"
          },
          "name": "istio-cni",
          "plugin_log_level": "debug",
          "type": "istio-cni"
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 724 bytes
    - Viewed (0)
  8. cni/pkg/install/testdata/istio-cni.conf.template

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "istio-cni",
      "plugin_log_level": "__LOG_LEVEL__",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILENAME__",
          "cni_bin_dir": "/path/cni/bin"
      }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 220 bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig_test.go

    	cniNetworkConfig     = `{
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "istio-cni",
      "plugin_log_level": "__LOG_LEVEL__",
      "kubernetes": {
          "kubeconfig": "__KUBECONFIG_FILENAME__",
          "cni_bin_dir": "/path/cni/bin"
      }
    }
    `
    )
    
    func TestCreateCNIConfigFile(t *testing.T) {
    	cases := []struct {
    		name              string
    		chainedCNIPlugin  bool
    		specifiedConfName string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top