Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsK8VersionSupported (0.08 sec)

  1. istioctl/pkg/install/k8sversion/version.go

    	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 {
    	serverVersion, err := c.GetKubernetesVersion()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. istioctl/pkg/install/k8sversion/version_test.go

    			k8sClient := kube.NewFakeClient()
    			k8sClient.Kube().Discovery().(*fakediscovery.FakeDiscovery).FakedServerVersion = c.version
    
    			logger := clog.NewConsoleLogger(&outBuf, &errBuf, nil)
    			IsK8VersionSupported(k8sClient, logger)
    
    			errMsgTrim := strings.TrimSpace(c.logMsg)
    			outBufTrim := strings.TrimSpace(outBuf.String())
    
    			if !c.isValid && strings.Compare(errMsgTrim, outBufTrim) != 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top