Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for detect (0.15 sec)

  1. operator/cmd/mesh/install.go

    	exists := revtag.PreviousInstallExists(context.Background(), kubeClient.Kube())
    	err = detectDefaultWebhookChange(p, kubeClient, iop, exists)
    	if err != nil {
    		return fmt.Errorf("failed to detect the default webhook change: %v", err)
    	}
    
    	// Warn users if they use `istioctl install` without any config args.
    	if !rootArgs.DryRun && !iArgs.SkipConfirmation {
    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)
  2. cni/pkg/install/install_test.go

    			go func(ctx context.Context, tick <-chan time.Time) {
    				for {
    					select {
    					case <-ctx.Done():
    						return
    					case <-tick:
    						if isReady.Load().(bool) {
    							readyChan <- true
    						}
    					}
    				}
    			}(ctx, ticker.C)
    
    			// Listen to sleepWatchInstall return value
    			// Should detect a valid configuration and wait indefinitely for a file modification
    			errChan := make(chan error)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe_test.go

    			},
    			expectedProtocol: "HTTP",
    		},
    		{
    			port: corev1.ServicePort{
    				Protocol: corev1.ProtocolTCP,
    				Port:     80,
    			},
    			expectedProtocol: "auto-detect",
    		},
    		{
    			port: corev1.ServicePort{
    				Protocol: corev1.ProtocolUDP,
    				Port:     80,
    			},
    			expectedProtocol: "UDP",
    		},
    	}
    
    	for _, tc := range cases {
    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)
  4. cni/pkg/cmd/root.go

    		o := ctrlz.DefaultOptions()
    		o.EnablePprof = true
    		return o
    	}()
    )
    
    var rootCmd = &cobra.Command{
    	Use:          "install-cni",
    	Short:        "Install and configure Istio CNI plugin on a node, detect and repair pod which is broken by race condition.",
    	SilenceUsage: true,
    	PreRunE: func(c *cobra.Command, args []string) error {
    		if err := log.Configure(logOptions); err != nil {
    			log.Errorf("Failed to configure log %v", err)
    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)
  5. istioctl/pkg/workload/workload.go

    		}
    	}
    
    	var hosts string
    	if netutil.IsValidIPAddress(ingressIP) {
    		hosts = fmt.Sprintf("%s %s\n", ingressIP, IstiodHost(istioNamespace, revision))
    	} else {
    		log.Warnf("Could not auto-detect IP for %s/%s. Use --ingressIP to manually specify the Gateway address to reach istiod from the VM.",
    			IstiodHost(istioNamespace, revision), istioNamespace)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-remove.go

    	}
    
    	if installed && err != nil {
    		l.LogAndFatal(err)
    	}
    	if !installed && !orArgs.purge {
    		l.LogAndPrintf("Operator controller is not installed in %s namespace (no Deployment detected).", orArgs.operatorNamespace)
    		if !orArgs.force {
    			l.LogAndFatal("Aborting, use --force to override.")
    		}
    	}
    
    	var message string
    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)
  7. istioctl/pkg/describe/describe.go

    		}
    	}
    }
    
    func findProtocolForPort(port *corev1.ServicePort) string {
    	var protocol string
    	if port.Name == "" && port.AppProtocol == nil && port.Protocol != corev1.ProtocolUDP {
    		protocol = "auto-detect"
    	} else {
    		protocol = string(configKube.ConvertProtocol(port.Port, port.Name, port.Protocol, port.AppProtocol))
    	}
    	return protocol
    }
    
    func isMeshed(pod *corev1.Pod) bool {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. cni/pkg/repair/repaircontroller.go

    	})
    	if err != nil {
    		c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, but failed to delete: %v", err)
    		m.With(resultLabel.Value(resultFail)).Increment()
    		return err
    	}
    	c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, deleted")
    	m.With(resultLabel.Value(resultSuccess)).Increment()
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. cni/pkg/install/install.go

    	// unless it's missing or the contents are not what we expect.
    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    		installLog.Infof("missing (or invalid) configuration detected, (re)writing CNI config file at %s", in.cniConfigFilepath)
    		cfgPath, err := createCNIConfigFile(ctx, in.cfg)
    		if err != nil {
    			cniInstalls.With(resultLabel.Value(resultCreateCNIConfigFailure)).Increment()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top