Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for skewY (0.07 sec)

  1. pkg/controller/cronjob/utils.go

    }
    
    // nextScheduleTimeDuration returns the time duration to requeue based on
    // the schedule and last schedule time. It adds a 100ms padding to the next requeue to account
    // for Network Time Protocol(NTP) time skews. If the time drifts the adjustment, which in most
    // realistic cases should be around 100s, the job will still be executed without missing
    // the schedule.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/constants/constants_test.go

    			expectedResult: DefaultKubernetesPlaceholderVersion,
    		},
    		{
    			name:           "valid skew of -1",
    			versionInfo:    &apimachineryversion.Info{Major: "1", GitVersion: "v1.23.0"},
    			n:              -1,
    			expectedResult: version.MustParseSemantic("v1.22.0"),
    		},
    		{
    			name:           "valid skew of 0",
    			versionInfo:    &apimachineryversion.Info{Major: "1", GitVersion: "v1.23.0"},
    			n:              0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/options/options.go

    	// locally due to version skew.
    	PeerCAFile string
    
    	// PeerAdvertiseAddress is the IP for this kube-apiserver which is used by peer apiservers to route a request
    	// to this apiserver. This happens in cases where the peer is not able to serve the request due to
    	// version skew.
    	PeerAdvertiseAddress peerreconcilers.PeerAdvertiseAddress
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/upgrade/apply.go

    	}
    
    	if err := features.ValidateVersion(features.InitFeatureGates, initCfg.FeatureGates, initCfg.KubernetesVersion); err != nil {
    		return err
    	}
    
    	// Enforce the version skew policies
    	klog.V(1).Infoln("[upgrade/version] enforcing version skew policies")
    	allowRCUpgrades, ok := cmdutil.ValueFromFlagsOrConfig(flagSet, options.AllowRCUpgrades, upgradeCfg.Apply.AllowRCUpgrades, &flags.allowRCUpgrades).(*bool)
    	if ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    			selfMatchNum = 1
    		}
    
    		pair := topologyPair{key: tpKey, value: tpVal}
    		matchNum := 0
    		if tpCount, ok := s.TpPairToMatchNum[pair]; ok {
    			matchNum = tpCount
    		}
    		skew := matchNum + selfMatchNum - minMatchNum
    		if skew > int(c.MaxSkew) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/util/util.go

    		// CSI migration is supported even if there is version skew between
    		// managers and node.
    		return true, nil
    	}
    
    	if len(nodeName) == 0 {
    		return false, errors.New("nodeName is empty")
    	}
    
    	kubeClient := vpm.Host.GetKubeClient()
    	if kubeClient == nil {
    		// Don't handle the controller/kubelet version skew check and fallback
    		// to just checking the feature gates. This can happen if
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. src/runtime/metrics.go

    // of one another and other runtime memory stats. The fact that they
    // may be acquired at different times, especially with respect to
    // heapStatsAggregate, means there could be some skew, but because of
    // these stats are independent, there's no real consistency issue here.
    type sysStatsAggregate struct {
    	stacksSys      uint64
    	mSpanSys       uint64
    	mSpanInUse     uint64
    	mCacheSys      uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/testing/testserver.go

    	// 1. kube-apiserver and peer when the local apiserver is not able to serve the request due
    	// to version skew
    	// 2. kube-apiserver and aggregated apiserver
    
    	// We specify this as on option to pass a common proxyCA to multiple apiservers to simulate
    	// an apiserver version skew scenario where all apiservers use the same proxyCA to verify client connections.
    	ProxyCA *ProxyCA
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/constants/constants.go

    	// This would require keeping track of the supported skew in a table.
    	// More changes would be required if the kubelet version one day decouples from that of Kubernetes.
    	var ver *version.Version
    	if len(versionInfo.Major) == 0 {
    		return DefaultKubernetesPlaceholderVersion
    	}
    	ver = version.MustParseSemantic(versionInfo.GitVersion)
    	// Append the MINOR version skew.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set.go

    			logger.V(2).Info("StatefulSet will be enqueued after minReadySeconds for availability check", "statefulSet", klog.KObj(set), "minReadySeconds", set.Spec.MinReadySeconds)
    			// Add a second to avoid milliseconds skew in AddAfter.
    			// See https://github.com/kubernetes/kubernetes/issues/39785#issuecomment-279959133 for more info.
    			ssc.enqueueSSAfter(set, (time.Duration(set.Spec.MinReadySeconds)*time.Second)+time.Second)
    		}
    		return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top