Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Stuart (0.19 sec)

  1. common/scripts/kind_provisioner.sh

    net_bits = 128 if type(net) == IPv6Network else 32;
    net_len = pow(2, net_bits - net.prefixlen)
    start, end = int(net_len / 4 * 3), net_len
    if net_len > 2000:
      start, end = 1000, 2000
    
    [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)]
    EOF
    }
    
    function ips_to_cidrs() {
      IP_RANGE_START="$1"
      IP_RANGE_END="$2"
      python3 - <<EOF
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  2. istioctl/pkg/admin/istiodconfig.go

    			if err != nil {
    				return fmt.Errorf("could not build port forwarder for ControlZ %s: %v", podName, err)
    			}
    			defer portForwarder.Close()
    			err = portForwarder.Start()
    			if err != nil {
    				return fmt.Errorf("could not start port forwarder for ControlZ %s: %v", podName, err)
    			}
    
    			ctrlzClient := &ControlzClient{
    				baseURL: &url.URL{
    					Scheme: "http",
    					Host:   portForwarder.Address(),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. operator/cmd/mesh/install.go

    	waitTimeout time.Duration, l clog.Logger,
    ) error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	opts := &helmreconciler.Options{
    		DryRun: dryRun, Log: l, WaitTimeout: waitTimeout, ProgressLog: progress.NewLog(),
    		Force: force,
    	}
    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)
  4. istioctl/pkg/kubeinject/kubeinject.go

    					podPort = v.TargetPort.IntValue()
    					break
    				}
    			}
    			f, err := e.client.NewPortForwarder(pod.Name, pod.Namespace, "", 0, podPort)
    			if err != nil {
    				return nil, err
    			}
    			if err := f.Start(); err != nil {
    				return nil, err
    			}
    			address = fmt.Sprintf("https://%s%s", f.Address(), *cc.Service.Path)
    			defer func() {
    				f.Close()
    				f.WaitForStop()
    			}()
    		}
    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)
  5. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

        spec:
          {{- if ge .KubeVersion 122 }}
          {{/* safe since 1.22: https://github.com/kubernetes/kubernetes/pull/103326. */}}
          securityContext:
            sysctls:
            - name: net.ipv4.ip_unprivileged_port_start
              value: "0"
          {{- end }}
          serviceAccountName: {{.ServiceAccount | quote}}
          containers:
          - name: istio-proxy
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 15:10:43 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net.go

    		currentPodSnapshot:   podNsMap,
    		podNs:                podNs,
    		iptablesConfigurator: iptablesConfigurator,
    		netnsRunner:          NetnsDo,
    		hostsideProbeIPSet:   probeSet,
    	}
    }
    
    func (s *NetServer) Start(ctx context.Context) {
    	log.Debug("starting ztunnel server")
    	go s.ztunnelServer.Run(ctx)
    }
    
    func (s *NetServer) Stop() {
    	log.Debug("removing host iptables rules")
    	s.iptablesConfigurator.DeleteHostRules()
    
    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)
  7. cni/pkg/nodeagent/informers_test.go

    		"",
    	).Return(nil)
    
    	server := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	fs.Start(ctx)
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	go handlers.Start()
    
    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    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)
  8. istioctl/pkg/dashboard/dashboard.go

    		return
    	}
    
    	switch runtime.GOOS {
    	case "linux":
    		err = exec.Command("xdg-open", url).Start()
    	case "windows":
    		err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
    	case "darwin":
    		err = exec.Command("open", url).Start()
    	default:
    		fmt.Fprintf(writer, "Unsupported platform %q; open %s in your browser.\n", runtime.GOOS, url)
    	}
    
    	if err != nil {
    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)
  9. cni/pkg/nodeagent/net_test.go

    	netServer := newNetServer(ztunnelServer, podNsMap, iptablesConfigurator, NewPodNetnsProcFinder(fakeFs()), set)
    
    	netServer.netnsRunner = func(fdable NetnsFd, toRun func() error) error {
    		return toRun()
    	}
    	netServer.Start(ctx)
    	return netTestFixture{
    		netServer:            netServer,
    		podNsMap:             podNsMap,
    		ztunnelServer:        ztunnelServer,
    		iptablesConfigurator: iptablesConfigurator,
    		nlDeps:               nlDeps,
    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/cmd/root.go

    		cmd.PrintFlags(c.Flags())
    		ctx := c.Context()
    
    		// Start controlz server
    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    		if cfg, err = constructConfig(); err != nil {
    			return
    		}
    		log.Infof("CNI install configuration: \n%+v", cfg.InstallConfig)
    		log.Infof("CNI race repair configuration: \n%+v", cfg.RepairConfig)
    
    		// Start metrics server
    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