Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 119 for cni0 (0.11 sec)

  1. 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)
  2. cni/pkg/plugin/cnieventclient_test.go

    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"strings"
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	cniv1 "github.com/containernetworking/cni/pkg/types/100"
    
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/nodeagent"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func fakeCNIEventClient(address string) CNIEventClient {
    	c := http.DefaultClient
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cni/test/testdata/expected/ZZZ-istio-cni-kubeconfig.expected

    contexts:
    - name: istio-cni-context
      context:
        cluster: local
        user: istio-cni
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 19 23:19:19 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. 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)
  9. cni/README.md

    ### Overview
    
    - [istio-cni Helm chart](../manifests/charts/istio-cni/templates)
        - `install-cni` daemonset - main function is to install and help the node CNI, but it is also a proper server and interacts with K8S, watching Pods for recovery.
        - `istio-cni-config` configmap with CNI plugin config to add to CNI plugin chained config
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. cni/test/testdata/bindir/istio-cni

    John Howard <******@****.***> 1605827959 -0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 19 23:19:19 UTC 2020
    - Viewed (0)
Back to top