Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for skewX (0.04 sec)

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

    			expectedMandatoryErrs: 1,
    		},
    		{
    			name: "the maximum skew between the cluster version and the kubelet versions should be three minor version.",
    			vg: &fakeVersionGetter{
    				clusterVersion: "v1.13.0",
    				kubeletVersion: "v1.10.8",
    				kubeadmVersion: "v1.13.0",
    			},
    			newK8sVersion: "v1.13.0",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 03:17:05 UTC 2023
    - 9.9K 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. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    // accuracy and only uses their change to indicate that another client has
    // renewed the leader lease. Thus the implementation is tolerant to arbitrary
    // clock skew, but is not tolerant to arbitrary clock skew rate.
    //
    // However the level of tolerance to skew rate can be configured by setting
    // RenewDeadline and LeaseDuration appropriately. The tolerance expressed as a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go

    	endpointInterval time.Duration
    	serverId         string
    	// peeraddress stores the IP and port of this kube-apiserver. Used by peer kube-apiservers to
    	// route request to this apiserver in case of a version skew.
    	peeraddress string
    
    	client kubernetes.Interface
    
    	lock   sync.Mutex
    	stopCh chan struct{} // closed by Stop()
    }
    
    func New(serverId string, peeraddress string,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go

    			// For executing: the denominator will be seats, so this metric will skew low.
    			// For waiting: total queue capacity is generally quite generous, so this metric will skew low.
    			Buckets:        []float64{0, 0.001, 0.003, 0.01, 0.03, 0.1, 0.25, 0.5, 0.75, 1},
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		LabelNamePhase, priorityLevel,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 19:40:05 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top