Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 116 for CNI (0.02 sec)

  1. cni/test/install_cni.go

    	"path/filepath"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/spf13/viper"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/install"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const (
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. 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)
  3. cni/pkg/plugin/cnieventclient.go

    package plugin
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"time"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	cniv1 "github.com/containernetworking/cni/pkg/types/100"
    
    	"istio.io/istio/cni/pkg/nodeagent"
    )
    
    // newCNIClient is a unit test override variable for mocking.
    var newCNIClient = buildClient
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig_test.go

    		},
    		{
    			name:              "specified CNI config file never created",
    			chainedCNIPlugin:  true,
    			specifiedConfName: "never-created.conf",
    			existingConfFiles: []string{"bridge.conf", "list.conflist"},
    		},
    		{
    			name:             "standalone CNI plugin unspecified CNI config file",
    			expectedConfName: "YYY-istio-cni.conf",
    		},
    		{
    			name:              "standalone CNI plugin specified CNI config file",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair.go

    package repair
    
    import (
    	"context"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/pkg/kube"
    )
    
    var repairLog = scopes.CNIAgent
    
    func StartRepair(ctx context.Context, cfg config.RepairConfig) {
    	if !cfg.Enabled {
    		repairLog.Info("CNI repair controller is disabled")
    		return
    	}
    	repairLog.Info("starting CNI sidecar repair controller")
    
    	client, err := clientSetup()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. cni/pkg/install/testdata/bridge.conf.golden

          "cni_agent_run_dir": "/path/to/kubeconfig",
          "dns": {},
          "exclude_namespaces": [
            ""
          ],
          "ipam": {},
          "name": "istio-cni",
          "plugin_log_level": "debug",
          "type": "istio-cni"
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 625 bytes
    - Viewed (0)
  7. cni/test/testdata/expected/minikube_cni.conflist.expected

          "ambient_enabled": false,
          "cni_agent_run_dir": "/tmp",
          "dns": {},
          "exclude_namespaces": [
            "istio-system"
          ],
          "ipam": {},
          "name": "istio-cni",
          "plugin_log_level": "debug",
          "type": "istio-cni"
        }
      ]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 733 bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    // parses prevResult according to the cniVersion
    package plugin
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"path/filepath"
    	"runtime/debug"
    	"strconv"
    	"time"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/types"
    	cniv1 "github.com/containernetworking/cni/pkg/types/100"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. cni/pkg/install/testdata/list-with-istio.conflist

            "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)
  10. cni/pkg/util/pluginutil.go

    	}
    
    	return cniConfigMap, nil
    }
    
    // Given an unmarshalled CNI config JSON map, return the plugin list asserted as a []interface{}
    func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) {
    	plugins, ok := cniConfigMap["plugins"].([]any)
    	if !ok {
    		err = fmt.Errorf("error reading plugin list from CNI config")
    		return
    	}
    	return
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top