Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for from (0.14 sec)

  1. cni/pkg/nodeagent/net.go

    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    	log.Debug("in pod mode - removing pod from ztunnel")
    	if err := s.ztunnelServer.PodDeleted(ctx, string(pod.UID)); err != nil {
    		log.Errorf("failed to delete pod from ztunnel: %v", err)
    	}
    	return nil
    }
    
    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)
  2. istioctl/pkg/multixds/gather.go

    var DefaultOptions = Options{
    	MessageWriter:     os.Stdout,
    	XdsViaAgents:      false,
    	XdsViaAgentsLimit: 0,
    }
    
    // RequestAndProcessXds merges XDS responses from 1 central or 1..N K8s cluster-based XDS servers
    // Deprecated This method makes multiple responses appear to come from a single control plane;
    // consider using AllRequestAndProcessXds or FirstRequestAndProcessXds
    // nolint: lll
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_redirect.go

    		}
    		return true, val, nil
    	}
    	// no annotation found so use default value
    	return false, annotationRegistry[name].defaultVal, nil
    }
    
    // NewRedirect returns a new Redirect Object constructed from a list of ports and annotations
    func NewRedirect(pi *PodInfo) (*Redirect, error) {
    	var isFound bool
    	var valErr error
    
    	redir := &Redirect{}
    	redir.targetPort = defaultRedirectToPort
    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)
  4. operator/cmd/mesh/manifest_shared_test.go

    	cache.FlushObjectCaches()
    	if !kubeBuilderInstalled() {
    		return nil
    	}
    	return recreateTestEnv()
    }
    
    // getAllIstioObjects lists all Istio GVK resources from the testClient.
    func getAllIstioObjects() object.K8sObjects {
    	var out object.K8sObjects
    	for _, gvk := range append(allClusterGVKs, allNamespacedGVKs...) {
    		objects := &unstructured.UnstructuredList{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  5. istioctl/pkg/workload/workload_test.go

    // TestWorkloadEntryConfigure enumerates test cases based on subdirectories of testdata/vmconfig.
    // Each subdirectory contains two input files: workloadgroup.yaml and meshconfig.yaml that are used
    // to generate golden outputs from the VM command.
    func TestWorkloadEntryConfigure(t *testing.T) {
    	noClusterID := "failed to automatically determine the --clusterID"
    	files, err := os.ReadDir("testdata/vmconfig")
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    		"-j", "CONNMARK",
    		"--set-xmark", inpodTproxyMark)
    
    	// Handle healthcheck probes from the host node. In the host netns, before the packet enters the pod, we SNAT
    	// the healthcheck packet to a fixed IP if the packet is coming from a node-local process with a socket.
    	//
    	// We do this so we can exempt this traffic from ztunnel capture/proxy - otherwise both kube-proxy (legit)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cni/test/install_cni.go

    	}
    }
    
    // Removes Istio CNI's config from the CNI config file
    func rmCNIConfig(cniConfigFilepath string, t *testing.T) {
    	t.Helper()
    
    	// Read JSON from CNI config file
    	cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Find Istio CNI and remove from plugin list
    	plugins, err := util.GetPlugins(cniConfigMap)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver.go

    	z.conns.addConn(conn)
    	defer z.conns.deleteConn(conn)
    
    	// get hello message from ztunnel
    	m, _, err := readProto[zdsapi.ZdsHello](conn.u, readWriteDeadline, nil)
    	if err != nil {
    		return err
    	}
    	log.Infof("received hello from ztunnel. %v", m.Version)
    	log.Debug("sending snapshot to ztunnel")
    	if err := z.sendSnapshot(ctx, conn); err != nil {
    		return err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/net_test.go

    	// with delete iptables is not called, as there is no need to delete the iptables rules
    	// from a pod that's gone from the cluster.
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 0)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 0)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    	// run gc to clean up ns:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig.go

    		if err != nil {
    			return nil, err
    		}
    		installLog.Infof("Using CNI config template from %s", template.cniNetworkConfigFile)
    		return cniConfig, nil
    	}
    
    	if len(template.cniNetworkConfig) > 0 {
    		installLog.Infof("Using CNI config template from CNI_NETWORK_CONFIG environment variable.")
    		return []byte(template.cniNetworkConfig), nil
    	}
    
    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)
Back to top