Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for cni0 (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cni/pkg/install/kubeconfig.go

    package install
    
    import (
    	"fmt"
    	"net"
    	"os"
    	"path/filepath"
    
    	"k8s.io/client-go/tools/clientcmd/api"
    	"k8s.io/client-go/tools/clientcmd/api/latest"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/file"
    )
    
    type kubeconfig struct {
    	// The full kubeconfig
    	Full string
    	// Kubeconfig with confidential data redacted.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. cni/test/testdata/expected/10-calico.conflist-istioconfig

          "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
    - 793 bytes
    - Viewed (0)
  9. cni/pkg/install/install_test.go

    		},
    		{
    			name:              "chained CNI plugin",
    			cniConfigFilename: "list.conflist",
    			chainedCNIPlugin:  true,
    			existingConfFiles: map[string]string{"list.conflist.golden": "list.conflist"},
    		},
    		{
    			name:              "standalone CNI plugin istio-cni config not in CNI config file",
    			expectedFailure:   true,
    			cniConfigFilename: "bridge.conf",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. cni/pkg/install/monitoring.go

    	resultCreateCNIConfigFailure  = "CREATE_CNI_CONFIG_FAILURE"
    
    	cniInstalls = monitoring.NewSum(
    		"istio_cni_installs_total",
    		"Total number of CNI plugins installed by the Istio CNI installer",
    	)
    
    	installReady = monitoring.NewGauge(
    		"istio_cni_install_ready",
    		"Whether the CNI plugin installation is ready or not",
    	)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top