Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for CNI (0.02 sec)

  1. cni/pkg/install/testdata/istio-cni.conf

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "istio-cni",
      "ipam": {},
      "dns": {},
      "plugin_log_level": "debug",
      "cni_agent_run_dir": "/path/to/kubeconfig",
      "ambient_enabled": false,
      "exclude_namespaces": [
        ""
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 244 bytes
    - Viewed (0)
  2. cni/deployments/kubernetes/Dockerfile.install-cni

    FROM ${BASE_DISTRIBUTION:-debug}
    
    LABEL description="Istio CNI plugin installer."
    
    ARG TARGETARCH
    COPY ${TARGETARCH:-amd64}/istio-cni /opt/cni/bin/istio-cni
    COPY ${TARGETARCH:-amd64}/install-cni /usr/local/bin/install-cni
    
    ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/cni/bin
    WORKDIR /opt/cni/bin
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 26 22:17:14 UTC 2024
    - 1002 bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher.go

    	if err != nil {
    		log.Errorf("Failed to unmarshal CNI plugin event: %v", err)
    		return msg, err
    	}
    
    	log.Debugf("Deserialized CNI plugin event: %+v", msg)
    	return msg, nil
    }
    
    func (s *CniPluginServer) ReconcileCNIAddEvent(ctx context.Context, addCmd CNIPluginAddEvent) error {
    	log := log.WithLabels("cni-event", addCmd)
    
    	log.Debugf("netns: %s", addCmd.Netns)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/cni-watcher_test.go

    	"strings"
    	"testing"
    
    	"github.com/stretchr/testify/mock"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/api/label"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestProcessAddEventGoodPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. 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)
  6. architecture/ambient/ztunnel-cni-lifecycle.md

    At a high level, the relevant components look as such:
    
    ```mermaid
    flowchart TD
        CNIP["CNI Plugin"]
        CNI["CNI Agent"]
        Z["Ztunnel"]
        Pods["Pods"]
        CNI --Programs--> Z
        CNI --Watches--> Pods
        Z --Runs Within--> Pods
        CNIP --Calls--> CNI
    ```
    
    The CNI Plugin is a binary installed as a [CNI plugin](https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/) on the node.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. 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)
  8. cni/test/testdata/expected/YYY-istio-cni.conf

    {
      "cniVersion": "0.3.1",
      "name": "istio-cni",
      "type": "istio-cni",
      "ipam": {},
      "dns": {},
      "plugin_log_level": "debug",
      "cni_agent_run_dir": "/tmp",
      "ambient_enabled": false,
      "exclude_namespaces": [
        "istio-system"
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 241 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top