Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for CNI (0.01 sec)

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

        server: https://50.76.2.1:443
      name: local
    contexts:
    - context:
        cluster: local
        user: istio-cni
      name: istio-cni-context
    current-context: istio-cni-context
    kind: Config
    preferences: {}
    users:
    - name: istio-cni
      user:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 11 01:19:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. cni/pkg/install/testdata/kubeconfig-tls

        server: https://10.96.0.1:443
      name: local
    contexts:
    - context:
        cluster: local
        user: istio-cni
      name: istio-cni-context
    current-context: istio-cni-context
    kind: Config
    preferences: {}
    users:
    - name: istio-cni
      user:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. cni/pkg/install/testdata/kubeconfig-skip-tls

    clusters:
    - cluster:
        insecure-skip-tls-verify: true
        server: https://10.96.0.1:443
      name: local
    contexts:
    - context:
        cluster: local
        user: istio-cni
      name: istio-cni-context
    current-context: istio-cni-context
    kind: Config
    preferences: {}
    users:
    - name: istio-cni
      user:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 342 bytes
    - Viewed (0)
  8. cni/pkg/repair/repaircontroller.go

    package repair
    
    import (
    	"context"
    	"fmt"
    	"strings"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/kube/kclient"
    )
    
    type Controller struct {
    	client       kube.Client
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. 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)
  10. cni/pkg/log/uds_test.go

    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/constants"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestUDSLog(t *testing.T) {
    	// Start UDS log server
    	udsSockDir := t.TempDir()
    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    	logger := NewUDSLogger(istiolog.DebugLevel)
    	stop := make(chan struct{})
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top