Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for revisionHistoryLimit (0.76 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta2.StatefulSet.yaml

      ordinals:
        start: 1
      persistentVolumeClaimRetentionPolicy:
        whenDeleted: whenDeletedValue
        whenScaled: whenScaledValue
      podManagementPolicy: podManagementPolicyValue
      replicas: 1
      revisionHistoryLimit: 8
      selector:
        matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. pkg/controller/daemon/update.go

    	nodesToDaemonPods, err := dsc.getNodesToDaemonPods(ctx, ds, true)
    	if err != nil {
    		return fmt.Errorf("couldn't get node to daemon pod mapping for daemon set %q: %v", ds.Name, err)
    	}
    
    	toKeep := int(*ds.Spec.RevisionHistoryLimit)
    	toKill := len(old) - toKeep
    	if toKill <= 0 {
    		return nil
    	}
    
    	// Find all hashes of live pods
    	liveHashes := make(map[string]bool)
    	for _, pods := range nodesToDaemonPods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top