Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for Ehat (0.16 sec)

  1. cni/pkg/nodeagent/informers_test.go

    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	disabledPod, err := handlers.GetPodIfAmbient(pod.Name, "what")
    
    	assert.Error(t, err)
    	assert.Equal(t, disabledPod, nil)
    }
    
    func TestExistingPodAddedWhenItPreExists(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    
    	mt := monitortest.New(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)
  2. cni/pkg/plugin/plugin_test.go

    	pod.ObjectMeta.Namespace = excludedNS
    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, excludedNS, pod, ns)
    
    	wasCalled := serverClose()
    	// If the pod is being added to a namespace that is explicitly excluded by plugin config denylist
    	// it should never be added, even if the namespace has the annotation
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAdd(t *testing.T) {
    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)
  3. cni/pkg/nodeagent/informers.go

    			// We need a pod IP - if the pod was added via the CNI plugin, that plugin told us the IPs
    			// for the pod. If this is a pod added via informer, the pod should have already gone thru
    			// the CNI plugin chain, and have a PodIP.
    			//
    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    			// If we get to this point and have a pod that really and truly has no IP in either of those,
    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)
  4. cni/pkg/nodeagent/netns_linux.go

    				// will force the runtime to scrap the current thread, that is maybe
    				// not as optimal but at least always safe to do.
    				runtime.UnlockOSThread()
    			}
    		}()
    
    		return toRun()
    	}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    
    	// Start the callback in a new green thread so that if we later fail
    	// to switch the namespace back to the original one, we can safely
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver_test.go

    	// we got am essage from ztun, so it should have observed us being connected
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(1))
    
    	// we should get the fd to dev null. note that we can't assert the fd number
    	// as the kernel may have given us a different number that refers to the same file.
    	assert.Equal(t, len(fds), 1)
    	// in theory we should close the fd, but it's just a test..
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. operator/cmd/mesh/install.go

    	Force bool
    	// Verify after installation
    	Verify bool
    	// Set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	Set []string
    	// ManifestsPath is a path to a ManifestsPath and profiles directory in the local filesystem with a release tgz.
    	ManifestsPath string
    	// Revision is the Istio control plane revision the command targets.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  7. istioctl/pkg/authz/analyzer.go

    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // Analyzer that can be used to check authorization policy.
    type Analyzer struct {
    	listenerDump *envoy_admin.ListenersConfigDump
    }
    
    // NewAnalyzer creates a new analyzer for a given pod based on its envoy config.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-remove.go

    	kubeClient, client, err := KubernetesClients(cliClient, l)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	// If the user is performing purge but also specified a revision, we should warn
    	// that the purge will still remove all resources
    	if orArgs.purge && orArgs.revision != "" {
    		orArgs.revision = ""
    		l.LogAndPrint("Purge remove will remove all Istio operator controller, ignoring the specified revision\n")
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/kubeinject.go

    	}()
    	codecs       = serializer.NewCodecFactory(runtimeScheme)
    	deserializer = codecs.UniversalDeserializer()
    )
    
    // GetFirstPod returns a pod matching the namespace and label selector
    // and the number of all pods that match the label selector.
    // This is forked from  polymorphichelpers.GetFirstPod to not watch and instead return an error if no pods are found
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

      # Retrieve cluster summary for clusters with port 9080.
      istioctl proxy-config clusters <pod-name[.namespace]> --port 9080
    
      # Retrieve full cluster dump for clusters that are inbound with a FQDN of details.default.svc.cluster.local.
      istioctl proxy-config clusters <pod-name[.namespace]> --fqdn details.default.svc.cluster.local --direction inbound -o json
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top