Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for selectors (0.24 sec)

  1. cni/pkg/constants/constants.go

    	RepairInitTerminationMsg = "repair-init-container-termination-message"
    	RepairInitExitCode       = "repair-init-container-exit-code"
    	RepairLabelSelectors     = "repair-label-selectors"
    	RepairFieldSelectors     = "repair-field-selectors"
    )
    
    // Internal constants
    const (
    	DefaultKubeconfigMode = 0o600
    
    	CNIAddEventPath = "/cmdadd"
    	UDSLogPath      = "/log"
    
    	// K8s liveness and readiness endpoints
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    		podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels")
    		// Check all selectors align
    		mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels)
    		mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels)
    		mustSelect(t, mustGetLabels(t, deployment, "spec.selector.matchLabels"), podLabels)
    		if hpaName := mustGetPath(t, hpa, "spec.scaleTargetRef.name"); cname != hpaName {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	// init container termination message and exit code.
    	SidecarAnnotation  string
    	InitContainerName  string
    	InitTerminationMsg string
    	InitExitCode       int
    
    	// Label and field selectors to select pods managed by race repair.
    	LabelSelectors string
    	FieldSelectors string
    }
    
    func (c InstallConfig) String() string {
    	var b strings.Builder
    	b.WriteString("CNINetDir: " + c.CNINetDir + "\n")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    	registerStringParameter(constants.RepairLabelSelectors, "",
    		"A set of label selectors in label=value format that will be added to the pod list filters")
    	registerStringParameter(constants.RepairFieldSelectors, "",
    		"A set of field selectors in label=value format that will be added to the pod list filters")
    }
    
    func registerStringParameter(name, value, usage string) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    // GetFirstPod returns a pod matching the namespace and label selector
    // and the number of all pods that match the label selector.
    // This is forked from  polymorphichelpers.GetFirstPod to not watch and instead return an error if no pods are found
    func GetFirstPod(client v1.CoreV1Interface, namespace string, selector string) (*corev1.Pod, error) {
    	options := metav1.ListOptions{LabelSelector: selector}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. istioctl/pkg/admin/istiodconfig.go

    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", istiodLabelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    					return errors.New("no pods found")
    				}
    
    				if len(pl.Items) > 1 {
    					log.Warnf("more than 1 pods fits selector: %s; will use pod: %s", istiodLabelSelector, pl.Items[0].Name)
    				}
    
    				// only use the first pod in the list
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    		levelToString[OffLevel])
    
    	logCmd.PersistentFlags().BoolVarP(&reset, "reset", "r", reset, "Reset levels to default value (warning).")
    	logCmd.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    	logCmd.PersistentFlags().StringVar(&loggerLevelString, "level", loggerLevelString,
    		fmt.Sprintf("Comma-separated minimum per-logger level of messages to output, in the form of"+
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. istioctl/pkg/dashboard/dashboard.go

    	envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    	envoy.PersistentFlags().IntVar(&proxyAdminPort, "ui-port", util.DefaultProxyAdminPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(envoy)
    
    	proxy := proxyDashCmd(cliContext)
    	proxy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    		abistr := p.get(scanner.Ident).String()
    		if !p.allowABI {
    			if issueError {
    				p.errorf("ABI selector only permitted when compiling runtime, reference was to %q", name)
    			}
    		} else {
    			theabi, valid := obj.ParseABI(abistr)
    			if !valid {
    				if issueError {
    					p.errorf("malformed ABI selector %q in reference to %q",
    						abistr, name)
    				}
    			} else {
    				abi = theabi
    			}
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/admin.go

    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    	return adminCmd
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top