Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 799 for Rolling (0.1 sec)

  1. pkg/apis/apps/v1/defaults_test.go

    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	if *(d.Spec.Replicas)-int32(maxUnavailable) <= 0 {
    		t.Fatalf("the default value of maxUnavailable can lead to no active replicas during rolling update")
    	}
    }
    
    func TestSetDefaultReplicaSetReplicas(t *testing.T) {
    	tests := []struct {
    		rs             appsv1.ReplicaSet
    		expectReplicas int32
    	}{
    		{
    			rs: appsv1.ReplicaSet{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. pkg/controller/deployment/sync.go

    			}
    		}
    		return nil
    	}
    
    	// There are old replica sets with pods and the new replica set is not saturated.
    	// We need to proportionally scale all replica sets (new and old) in case of a
    	// rolling deployment.
    	if deploymentutil.IsRollingUpdate(deployment) {
    		allRSs := controller.FilterActiveReplicaSets(append(oldRSs, newRS))
    		allRSsReplicas := deploymentutil.GetReplicaCountForReplicaSets(allRSs)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  3. pkg/controller/deployment/deployment_controller.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package deployment contains all the logic for handling Kubernetes Deployments.
    // It implements a set of strategies (rolling, recreate) for deploying an application,
    // the means to rollback to previous versions, proportional scaling for mitigating
    // risk, cleanup policy, and other useful features of Deployments.
    package deployment
    
    import (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_utils.go

    		status.CurrentRevision != set.Status.CurrentRevision ||
    		status.AvailableReplicas != set.Status.AvailableReplicas ||
    		status.UpdateRevision != set.Status.UpdateRevision
    }
    
    // completeRollingUpdate completes a rolling update when all of set's replica Pods have been updated
    // to the updateRevision. status's currentRevision is set to updateRevision and its' updateRevision
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control.go

    func (ssc *defaultStatefulSetControl) updateStatefulSetStatus(
    	ctx context.Context,
    	set *apps.StatefulSet,
    	status *apps.StatefulSetStatus) error {
    	// complete any in progress rolling update if necessary
    	completeRollingUpdate(set, status)
    
    	// if the status is not inconsistent do not perform an update
    	if !inconsistentStatus(set, status) {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/config/types.go

    	KubeletCgroups string
    	// SystemCgroups is absolute name of cgroups in which to place
    	// all non-kernel processes that are not already in a container. Empty
    	// for no container. Rolling back the flag requires a reboot.
    	SystemCgroups string
    	// CgroupRoot is the root cgroup to use for pods.
    	// If CgroupsPerQOS is enabled, this is the root of the QoS cgroup hierarchy.
    	CgroupRoot string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. cmd/kubelet/app/options/options.go

    	fs.StringVar(&c.SystemCgroups, "system-cgroups", c.SystemCgroups, "Optional absolute name of cgroups in which to place all non-kernel processes that are not already inside a cgroup under '/'. Empty for no container. Rolling back the flag requires a reboot.")
    
    	fs.StringVar(&c.ProviderID, "provider-id", c.ProviderID, "Unique identifier for identifying the node in a machine database, i.e cloudprovider")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/wait/backoff.go

    // The returned timer must be drained before calling Backoff() the second time
    func (b *exponentialBackoffManagerImpl) Backoff() clock.Timer {
    	if b.backoffTimer == nil {
    		b.backoffTimer = b.clock.NewTimer(b.getNextBackoff())
    	} else {
    		b.backoffTimer.Reset(b.getNextBackoff())
    	}
    	return b.backoffTimer
    }
    
    // Deprecated: Will be removed when the legacy polling functions are removed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/api.go

    // and invoke it incrementally by calling Checker.Files.
    //
    // Type-checking consists of several interdependent phases:
    //
    // Name resolution maps each identifier (syntax.Name) in the program to the
    // language object (Object) it denotes.
    // Use Info.{Defs,Uses,Implicits} for the results of name resolution.
    //
    // Constant folding computes the exact constant value (constant.Value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. pkg/apis/core/fuzzer/fuzzer.go

    			c.FuzzNoCustom(cm) // fuzz self without calling this function again
    			if c.RandBool() {
    				opt := c.RandBool()
    				cm.Optional = &opt
    			}
    		},
    		func(s *core.SecretEnvSource, c fuzz.Continue) {
    			c.FuzzNoCustom(s) // fuzz self without calling this function again
    		},
    		func(sc *core.SecurityContext, c fuzz.Continue) {
    			c.FuzzNoCustom(sc) // fuzz self without calling this function again
    			if c.RandBool() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top