Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Nevett (0.19 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    	if valErr != nil {
    		return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v",
    			"includeOutboundPorts", isFound, valErr)
    	}
    	// Add 15090 to sync with non-cni injection template
    	// TODO: Revert below once https://github.com/istio/istio/pull/23037 or its follow up is merged.
    	redir.excludeInboundPorts = strings.TrimSpace(redir.excludeInboundPorts)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    // You may ask why we pass the pod IPs separately from the pod manifest itself (which contains the pod IPs as a field)
    // - this is because during add specifically, if CNI plugins have not finished executing,
    // K8S may get a pod Add event without any IPs in the object, and the pod will later be updated with IPs.
    //
    // We always need the IPs, but this is fine because this AddPodToMesh can be called from the CNI plugin as well,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. cni/pkg/nodeagent/informers_test.go

    	assert.NoError(t, err)
    
    	// wait for an update event
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(2))
    
    	// wait for the pod to be annotated
    	// after Pod annotated, another update event will be triggered.
    	assertPodAnnotated(t, client, pod)
    
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    	grpcOpts []grpc.DialOption,
    ) (*discovery.DiscoveryResponse, error) {
    	adscConn, err := adsc.NewWithBackoffPolicy(opts.Xds, &adsc.ADSConfig{
    		Config: adsc.Config{
    			Meta: model.NodeMetadata{
    				Generator:      "event",
    				ServiceAccount: serviceAccount,
    				Namespace:      ns,
    				CloudrunAddr:   opts.IstiodAddr,
    			}.ToStruct(),
    			CertDir:            opts.CertDir,
    			InsecureSkipVerify: opts.InsecureSkipVerify,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. cni/pkg/install/cniconfig.go

    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__LOG_LEVEL__", vars.logLevel)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__LOG_UDS_ADDRESS__", vars.logUDSAddress)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__CNI_EVENT_ADDRESS__", vars.cniEventAddress)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBECONFIG_FILENAME__", vars.kubeconfigFilename)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

                    "address": "10.0.0.2/24",
                    "gateway": "10.0.0.1",
                    "interface": 0
                }
            ],
            "routes": []
    
        },
        "log_level": "debug",
        "cni_event_address": "%s",
        "ambient_enabled": %t,
        "kubernetes": {
            "k8s_api_root": "APIRoot",
            "kubeconfig": "testK8sConfig",
    		"intercept_type": "%s",
            "node_name": "testNodeName",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers.go

    		return fmt.Errorf("unexpected event type: %+v", input)
    	}
    }
    
    func (s *InformerHandlers) reconcileNamespace(input any) error {
    	event := input.(controllers.Event)
    	ns := event.Latest().(*corev1.Namespace)
    
    	switch event.Event {
    	case controllers.EventAdd:
    		log.Debugf("Namespace %s added", ns.Name)
    		s.enqueueNamespace(ns)
    
    	case controllers.EventUpdate:
    		newNs := event.New.(*corev1.Namespace)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. cni/pkg/repair/repaircontroller.go

    	m := podsRepaired.With(typeLabel.Value(repairType))
    	log := repairLog.WithLabels("pod", pod.Namespace+"/"+pod.Name)
    	key := types.NamespacedName{Name: pod.Name, Namespace: pod.Namespace}
    	// We will get an event every time the pod changes. The repair is not instantaneous, though -- it will only recover
    	// once the pod restarts (in CrashLoopBackoff), which can take some time.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. cni/pkg/install/install_test.go

    						t.Fatal(err)
    					}
    					assert.Equal(t, isReady.Load(), false)
    				case <-time.After(5 * time.Second):
    					t.Fatal("timed out waiting for invalid configuration to be detected")
    				}
    
    				// Revert valid SA
    				if err := file.AtomicCopy(filepath.Join("testdata", c.saFilename), tempDir, c.saFilename); err != nil {
    					t.Fatal(err)
    				}
    
    				// Run sleepWatchInstall
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  10. cni/pkg/constants/constants.go

    	SkipTLSVerify        = "skip-tls-verify"
    	MonitoringPort       = "monitoring-port"
    	LogUDSAddress        = "log-uds-address"
    	ZtunnelUDSAddress    = "ztunnel-uds-address"
    	CNIEventAddress      = "cni-event-address"
    	AmbientEnabled       = "ambient-enabled"
    	AmbientDNSCapture    = "ambient-dns-capture"
    	AmbientIPv6          = "ambient-ipv6"
    
    	// Repair
    	RepairEnabled            = "repair-enabled"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top