Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for DeploymentStatus (0.19 sec)

  1. pkg/controller/deployment/util/deployment_util_test.go

    	tests := []struct {
    		name string
    
    		status *apps.DeploymentStatus
    		cond   apps.DeploymentCondition
    
    		expectedStatus *apps.DeploymentStatus
    	}{
    		{
    			name: "set for the first time",
    
    			status: &apps.DeploymentStatus{},
    			cond:   condAvailable(),
    
    			expectedStatus: &apps.DeploymentStatus{Conditions: []apps.DeploymentCondition{condAvailable()}},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  2. pkg/controller/deployment/progress_test.go

    	"k8s.io/client-go/util/workqueue"
    	"k8s.io/klog/v2/ktesting"
    	"k8s.io/kubernetes/pkg/controller/deployment/util"
    )
    
    func newDeploymentStatus(replicas, updatedReplicas, availableReplicas int32) apps.DeploymentStatus {
    	return apps.DeploymentStatus{
    		Replicas:          replicas,
    		UpdatedReplicas:   updatedReplicas,
    		AvailableReplicas: availableReplicas,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/controller/deployment/rolling.go

    	if err != nil {
    		return err
    	}
    	if scaledUp {
    		// Update DeploymentStatus
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    	// Scale down, if we can.
    	scaledDown, err := dc.reconcileOldReplicaSets(ctx, allRSs, controller.FilterActiveReplicaSets(oldRSs), newRS, d)
    	if err != nil {
    		return err
    	}
    	if scaledDown {
    		// Update DeploymentStatus
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. pkg/controller/deployment/util/deployment_util.go

    		Reason:             reason,
    		Message:            message,
    	}
    }
    
    // GetDeploymentCondition returns the condition with the provided type.
    func GetDeploymentCondition(status apps.DeploymentStatus, condType apps.DeploymentConditionType) *apps.DeploymentCondition {
    	for i := range status.Conditions {
    		c := status.Conditions[i]
    		if c.Type == condType {
    			return &c
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // not be estimated during the time a deployment is paused. Defaults to 600s.
      // +optional
      optional int32 progressDeadlineSeconds = 9;
    }
    
    // DeploymentStatus is the most recently observed status of the Deployment.
    message DeploymentStatus {
      // observedGeneration is the generation observed by the deployment controller.
      // +optional
      optional int64 observedGeneration = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // not be estimated during the time a deployment is paused. Defaults to 600s.
      // +optional
      optional int32 progressDeadlineSeconds = 9;
    }
    
    // DeploymentStatus is the most recently observed status of the Deployment.
    message DeploymentStatus {
      // observedGeneration is the generation observed by the deployment controller.
      // +optional
      optional int64 observedGeneration = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/types.go

    	// +optional
    	MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"`
    }
    
    // DeploymentStatus is the most recently observed status of the Deployment.
    type DeploymentStatus struct {
    	// observedGeneration is the generation observed by the deployment controller.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1/generated.proto

      // not be estimated during the time a deployment is paused. Defaults to 600s.
      optional int32 progressDeadlineSeconds = 9;
    }
    
    // DeploymentStatus is the most recently observed status of the Deployment.
    message DeploymentStatus {
      // The generation observed by the deployment controller.
      // +optional
      optional int64 observedGeneration = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/generated.proto

      // not be estimated during the time a deployment is paused. Defaults to 600s.
      optional int32 progressDeadlineSeconds = 9;
    }
    
    // DeploymentStatus is the most recently observed status of the Deployment.
    message DeploymentStatus {
      // The generation observed by the deployment controller.
      // +optional
      optional int64 observedGeneration = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // not be estimated during the time a deployment is paused. Defaults to 600s.
      optional int32 progressDeadlineSeconds = 9;
    }
    
    // DeploymentStatus is the most recently observed status of the Deployment.
    message DeploymentStatus {
      // The generation observed by the deployment controller.
      // +optional
      optional int64 observedGeneration = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top