Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for leash (0.13 sec)

  1. cni/pkg/nodeagent/informers_test.go

    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait until at least one add event happens
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "add"}, monitortest.AtLeast(1))
    
    	assertPodNotAnnotated(t, client, pod)
    
    	// Assert expected calls (not) actually made
    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/nodeagent/netns_linux.go

    				// to the original namespace; otherwise leave the thread locked which
    				// 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
    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)
  3. operator/cmd/mesh/operator-remove.go

    		Long:  "The remove subcommand removes the Istio operator controller from the cluster.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    				return fmt.Errorf("at least one of the --revision or --purge flags must be set")
    			}
    			if len(args) > 0 {
    				return fmt.Errorf("istioctl operator remove does not take arguments")
    			}
    			return nil
    		},
    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)
  4. istioctl/pkg/describe/describe_test.go

    							},
    						},
    						TrafficPolicy: &v1alpha32.TrafficPolicy{
    							LoadBalancer: &v1alpha32.LoadBalancerSettings{
    								LbPolicy: &v1alpha32.LoadBalancerSettings_Simple{Simple: v1alpha32.LoadBalancerSettings_LEAST_REQUEST},
    							},
    							ConnectionPool:   &v1alpha32.ConnectionPoolSettings{Tcp: &v1alpha32.ConnectionPoolSettings_TCPSettings{MaxConnections: 10}},
    							OutlierDetection: &v1alpha32.OutlierDetection{MinHealthPercent: 10},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    }
    
    var (
    	listAnalyzers     bool
    	useKube           bool
    	failureThreshold  = formatting.MessageThreshold{Level: diag.Error} // messages at least this level will generate an error exit code
    	outputThreshold   = formatting.MessageThreshold{Level: diag.Info}  // messages at least this level will be included in the output
    	colorize          bool
    	msgOutputFormat   string
    	meshCfgFile       string
    	selectedNamespace string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. istioctl/pkg/install/k8sversion/version.go

    	// Segments provide slice of int eg: v1.19.1 => [1, 19, 1]
    	num := ver.Segments()[1]
    	return num, nil
    }
    
    // IsK8VersionSupported checks minimum supported Kubernetes version for Istio.
    // If the K8s version is not at least the `MinK8SVersion`, it logs a message warning the user that they
    // may experience problems if they proceed with the install.
    func IsK8VersionSupported(c kube.Client, l clog.Logger) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 02:07:51 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher.go

    	}
    	go func() {
    		err := s.cniListenServer.Serve(unixListener)
    
    		select {
    		case <-s.ctx.Done():
    			// ctx done, we should silently go away
    			return
    		default:
    			// If the cniListener exits, at least we should record an error log
    			log.Errorf("CNI listener server exiting unexpectedly: %v", err)
    		}
    	}()
    
    	context.AfterFunc(s.ctx, func() {
    		if err := s.cniListenServer.Close(); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns.go

    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    			return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token)
    		}
    		cgroups = append(cgroups, Cgroup{
    			HierarchyID:    substrings[0],
    			ControllerList: substrings[1],
    			GroupPath:      substrings[2],
    		})
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    		msgs = append(msgs, result.Messages...)
    	}
    
    	return msgs, nil
    }
    
    // Checks that if the user has gateway APIs, they are the minimum version.
    // It is ok to not have them, but they must be at least v1beta1 if they do.
    func checkGatewayAPIs(cli kube.CLIClient) (diag.Messages, error) {
    	msgs := diag.Messages{}
    	res, err := cli.Ext().ApiextensionsV1().CustomResourceDefinitions().List(context.Background(), metav1.ListOptions{})
    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)
Back to top