Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for getKind (0.27 sec)

  1. istioctl/pkg/wait/wait.go

    					result <- generation
    					return nil
    				})
    			}
    			// wait for all deployed versions to be contained in generations
    			t := time.NewTicker(pollInterval)
    			printVerbosef(cmd, "getting first version from chan")
    			firstVersion, err := w.BlockingRead()
    			if err != nil {
    				return fmt.Errorf("unable to retrieve Kubernetes resource %s: %v", "", err)
    			}
    			generations := []string{firstVersion}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    						vsName, vsNamespace)
    				}
    			}
    
    			policies, err := getIstioRBACPolicies(&cd, port.Port)
    			if err != nil {
    				log.Errorf("error getting rbac policies: %v", err)
    			}
    			if len(policies) > 0 {
    				if len(svc.Spec.Ports) > 1 {
    					// If there is more than one port, prefix each DR by the port it applies to
    					fmt.Fprintf(writer, "%d ", port.Port)
    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)
  3. cni/pkg/cmd/root.go

    		CNINetworkConfig:     viper.GetString(constants.CNINetworkConfig),
    
    		LogLevel:           viper.GetString(constants.LogLevel),
    		KubeconfigFilename: viper.GetString(constants.KubeconfigFilename),
    		KubeconfigMode:     viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:         viper.GetString(constants.KubeCAFile),
    		SkipTLSVerify:      viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol: os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    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)
  4. istioctl/pkg/install/k8sversion/version.go

    // may experience problems if they proceed with the install.
    func IsK8VersionSupported(c kube.Client, l clog.Logger) error {
    	serverVersion, err := c.GetKubernetesVersion()
    	if err != nil {
    		return fmt.Errorf("error getting Kubernetes version: %w", err)
    	}
    	if !kube.IsAtLeastVersion(c, MinK8SVersion) {
    		l.LogAndPrintf(UnSupportedK8SVersionLogMsg, serverVersion.GitVersion, pkgVersion.Info.Version, MinK8SVersion)
    	}
    	return nil
    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)
  5. istioctl/pkg/precheck/precheck.go

    				fmt.Fprintf(cmd.ErrOrStderr(), color.New(color.FgGreen).Sprint("✔")+" No issues found when checking the cluster. Istio is safe to install or upgrade!\n"+
    					"  To get started, check out https://istio.io/latest/docs/setup/getting-started/\n")
    			} else {
    				fmt.Fprintln(cmd.OutOrStdout(), output)
    			}
    			for _, m := range msgs {
    				if m.Type.Level().IsWorseThanOrEqualTo(diag.Warning) {
    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)
  6. istioctl/pkg/multicluster/remote_secret.go

    		}
    	}
    	return nil
    }
    
    func getServerFromKubeconfig(client kube.CLIClient) (string, Warning, error) {
    	restCfg := client.RESTConfig()
    	if restCfg == nil {
    		return "", nil, fmt.Errorf("failed getting REST config from client")
    	}
    	server := restCfg.Host
    	if strings.Contains(server, "127.0.0.1") || strings.Contains(server, "localhost") {
    		return server, fmt.Errorf(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate_test.go

    		{legacyLabel, objEnabled, "istiod"},
    		{legacyAndRevLabel, empty, "istiod"},
    		{legacyAndRevLabel, objEnabled, "istiod"},
    
    		// The behavior of these is a bit odd; they are explicitly selecting a revision but getting
    		// the default Unfortunately, the legacy webhook selectors would select these, cause
    		// duplicate injection, so we defer to the namespace label.
    		{legacyLabel, revLabel, "istiod"},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top