Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hurst (0.14 sec)

  1. cni/pkg/nodeagent/server.go

    func buildKubeClient(kubeConfig string) (kube.Client, error) {
    	// Used by validation
    	kubeRestConfig, err := kube.DefaultRestConfig(kubeConfig, "", func(config *rest.Config) {
    		config.QPS = 80
    		config.Burst = 160
    	})
    	if err != nil {
    		return nil, fmt.Errorf("failed creating kube config: %v", err)
    	}
    
    	client, err := kube.NewClient(kube.NewClientConfigForRestConfig(kubeRestConfig), "")
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/context.go

    		// We are running a one-off command locally, so we don't need to worry too much about rate limiting
    		// Bumping this up greatly decreases install time
    		config.QPS = 50
    		config.Burst = 100
    	})
    	if err != nil {
    		return nil, err
    	}
    	return kube.NewCLIClient(kube.NewClientConfigForRestConfig(rc), kube.WithRevision(revision))
    }
    
    func NewCLIContext(rootFlags *RootFlags) Context {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top