Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Up (0.14 sec)

  1. cni/README.md

    ## Reference
    
    ### Design details
    
    Broadly, `istio-cni` accomplishes ambient redirection by instructing ztunnel to set up sockets within the application pod network namespace, where:
    
    - one end of the socket is in the application pod
    - and the other end is in ztunnel's pod
    
    and setting up iptables rules to funnel traffic thru that socket "tube" to ztunnel and back.
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables_linux.go

    }
    
    func forEachLoopbackRoute(cfg *Config, f func(*netlink.Route) error) error {
    	loopbackLink, err := netlink.LinkByName("lo")
    	if err != nil {
    		return fmt.Errorf("failed to find 'lo' link: %v", err)
    	}
    
    	// Set up netlink routes for localhost
    	cidrs := []string{"0.0.0.0/0"}
    	if cfg.EnableIPv6 {
    		cidrs = append(cidrs, "0::0/0")
    	}
    	for _, fullCIDR := range cidrs {
    		_, localhostDst, err := net.ParseCIDR(fullCIDR)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    	log.Debug("Pod is now stopped... cleaning up.")
    
    	if err := removePodFromHostNSIpset(pod, &s.hostsideProbeIPSet); err != nil {
    		log.Errorf("failed to remove pod %s from host ipset, error was: %v", pod.Name, err)
    		return err
    	}
    
    	log.Info("in pod mode - deleting pod from ztunnel")
    
    	// pod is deleted, clean-up its open netns
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    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)
  4. cni/pkg/nodeagent/net_test.go

    	// 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:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    	runtime.GC()
    	assertNSClosed(t, closed)
    }
    
    func TestServerDeletePod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    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)
  5. cni/pkg/nodeagent/server.go

    	}
    
    	log.Info("CNI ambient server marking ready")
    	s.Ready()
    	s.dataplane.Start(s.ctx)
    	s.handlers.Start()
    }
    
    func (s *Server) Stop() {
    	log.Info("CNI ambient server terminating, cleaning up node net rules")
    
    	s.cniServerStopFunc()
    	s.dataplane.Stop()
    }
    
    type meshDataplane struct {
    	kubeClient kubernetes.Interface
    	netServer  MeshDataplane
    }
    
    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)
  6. architecture/ambient/ztunnel.md

    ## HBONE
    
    Along with pass-through traffic, Ztunnel supports the "HBONE" (HTTP-Based Overlay Network) protocol.
    This is not really so much a new protocol, but rather a name we came up with to refer to the expectations of clients and servers communicating in the mesh.
    
    HBONE is just a standard HTTP `CONNECT` tunnel, over mutual TLS with mesh (SPIFFE) certificates, on a well known port (15008).
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  7. Makefile.core.mk

    export GOPROXY ?= https://proxy.golang.org
    export GOSUMDB ?= sum.golang.org
    
    # If GOPATH is not set by the env, set it to a sane value
    GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd)
    export GOPATH
    
    # If GOPATH is made up of several paths, use the first one for our targets in this Makefile
    GO_TOP := $(shell echo ${GOPATH} | cut -d ':' -f1)
    export GO_TOP
    
    GO ?= go
    
    GOARCH_LOCAL := $(TARGET_ARCH)
    GOOS_LOCAL := $(TARGET_OS)
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  8. manifests/charts/istio-cni/values.yaml

          # Note this gives the DaemonSet a relatively high privilege, as it can delete any Pod.
          deletePods: false
          # repairPods will dynamically repair any broken pod by setting up the pod networking configuration even after it has started.
          # Note the pod will be crashlooping, so this may take a few minutes to become fully functional based on when the retry occurs.
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  9. cni/pkg/plugin/plugin.go

    				return nil
    			}
    		}
    	}
    
    	if _, ok := pi.Annotations[sidecarStatusKey]; !ok {
    		log.Infof("excluded due to not containing sidecar annotation")
    		return nil
    	}
    
    	log.Debugf("Setting up redirect")
    
    	redirect, err := NewRedirect(pi)
    	if err != nil {
    		log.Errorf("redirect failed due to bad params: %v", err)
    		return err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. cni/pkg/cmd/root.go

    		// Start UDS log server
    		udsLogger := udsLog.NewUDSLogger()
    		if err = udsLogger.StartUDSLogServer(cfg.InstallConfig.LogUDSAddress, ctx.Done()); err != nil {
    			log.Errorf("Failed to start up UDS Log Server: %v", err)
    			return
    		}
    
    		// Creates a basic health endpoint server that reports health status
    		// based on atomic flag, as set by installer
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
Back to top