Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for skewX (0.06 sec)

  1. cmd/kubeadm/app/phases/upgrade/policy.go

    	MaximumAllowedMinorVersionDowngradeSkew = 1
    
    	// MaximumAllowedMinorVersionKubeletSkew describes how many minor versions the control plane version and the kubelet can skew in a kubeadm cluster
    	MaximumAllowedMinorVersionKubeletSkew = 3
    )
    
    // VersionSkewPolicyErrors describes version skew errors that might be seen during the validation process in EnforceVersionPolicies
    type VersionSkewPolicyErrors struct {
    	Mandatory []error
    	Skippable []error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

     */
    object Punycode {
      val PREFIX_STRING = "xn--"
      val PREFIX = PREFIX_STRING.encodeUtf8()
    
      private const val BASE = 36
      private const val TMIN = 1
      private const val TMAX = 26
      private const val SKEW = 38
      private const val DAMP = 700
      private const val INITIAL_BIAS = 72
      private const val INITIAL_N = 0x80
    
      /**
       * Returns null if any label is oversized so much that the encoder cannot encode it without
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tests/integration/pilot/cni/cniversionskew_test.go

    func TestCNIVersionSkew(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			if !i.Settings().EnableCNI {
    				t.Skip("CNI version skew test is only tested when CNI is enabled.")
    			}
    			for _, v := range versions {
    				installCNIOrFail(t, v)
    				podFetchFn := kube.NewSinglePodFetch(t.Clusters().Default(), i.Settings().SystemNamespace, "k8s-app=istio-cni-node")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. 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)
Back to top