Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for notes (0.16 sec)

  1. cni/pkg/nodeagent/server.go

    		return nil, fmt.Errorf("failed creating kube client: %v", err)
    	}
    
    	return client, nil
    }
    
    // createHostsideProbeIpset creates an ipset. This is designed to be called from the host netns.
    // Note that if the ipset already exist by name, Create will not return an error.
    //
    // We will unconditionally flush our set before use here, so it shouldn't matter.
    func createHostsideProbeIpset(isV6 bool) (ipset.IPSet, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    	// For each pod IP
    	for _, pip := range podIPs {
    		// Add to host ipset
    		log.Debugf("adding pod %s probe to ipset %s with ip %s", pod.Name, hostsideProbeSet.Prefix, pip)
    		// Add IP/port combo to set. Note that we set Replace to true - a pod ip/port combo already being
    		// in the set is perfectly fine, and something we can always safely overwrite, so we will.
    		if err := hostsideProbeSet.AddIP(pip, ipProto, podUID, true); err != 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)
  3. cni/pkg/iptables/iptables.go

    			}
    		}
    	}
    	return errors.Join(delErrs...)
    }
    
    // Setup iptables rules for in-pod mode. Ideally this should be an idempotent function.
    // NOTE that this expects to be run from within the pod network namespace!
    func (cfg *IptablesConfigurator) CreateInpodRules(hostProbeSNAT *netip.Addr) error {
    	// Append our rules here
    	builder := cfg.appendInpodRules(hostProbeSNAT)
    
    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)
  4. cni/pkg/nodeagent/ztunnelserver.go

    			// still alive. As ztunnel shouldn't send anything unless we send
    			// something first, we expect to get an os.ErrDeadlineExceeded error
    			// here if the connection is still alive.
    			// note that unlike tcp connections, reading is a good enough test here.
    			_, err := conn.readMessage(time.Second / 100)
    			switch {
    			case !errors.Is(err, os.ErrDeadlineExceeded):
    				log.Debugf("ztunnel keepalive failed: %v", 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)
  5. istioctl/pkg/dashboard/dashboard.go

    	dashboardCmd.AddCommand(skywalking)
    
    	envoy := envoyDashCmd(cliContext)
    	envoy.Long += fmt.Sprintf("\n\n%s\n", "Note: envoy command is deprecated and can be replaced with proxy command, "+
    		"e.g. `istioctl dashboard proxy --help`")
    	envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    			continue
    		}
    		res := ObjectToInstance(&svc)
    		messages.Add(msg.NewUpdateIncompatibility(res,
    			"ENABLE_EXTERNAL_NAME_ALIAS", "1.20",
    			"ExternalName services now behavior differently; consult upgrade notes for more information", "1.20"))
    
    	}
    	return nil
    }
    
    func checkPilot(cli kube.CLIClient, namespace string, messages *diag.Messages) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. istioctl/pkg/authz/analyzer.go

    // limitations under the License.
    
    // The auth package provides support for checking the authentication and authorization policy applied
    // in the mesh. It aims to increase the debuggability and observability of auth policies.
    // Note: this is still under active development and is not ready for real use.
    package authz
    
    import (
    	"fmt"
    	"io"
    
    	envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    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. cni/pkg/nodeagent/ztunnelserver_test.go

    	m, fds := readRequest(t, ztunClient)
    	// 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)
  9. cni/pkg/nodeagent/informers.go

    	s.pods.AddEventHandler(controllers.FromEventHandler(func(o controllers.Event) {
    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    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)
  10. cni/pkg/repair/repaircontroller.go

    	}
    	fieldSelectors := []string{}
    	if cfg.FieldSelectors != "" {
    		fieldSelectors = append(fieldSelectors, cfg.FieldSelectors)
    	}
    	// filter out pod events from different nodes
    	fieldSelectors = append(fieldSelectors, fmt.Sprintf("spec.nodeName=%v", cfg.NodeName))
    	c.pods = kclient.NewFiltered[*corev1.Pod](client, kclient.Filter{
    		LabelSelector: cfg.LabelSelectors,
    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)
Back to top