Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for DeploymentStatus (0.22 sec)

  1. pkg/apis/extensions/v1beta1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1beta1.DeploymentStatus)(nil), (*apps.DeploymentStatus)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_DeploymentStatus_To_apps_DeploymentStatus(a.(*v1beta1.DeploymentStatus), b.(*apps.DeploymentStatus), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 95.7K bytes
    - Viewed (0)
  2. 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)
  3. operator/pkg/verifier/k8s_util.go

    				daemonSet.Namespace, daemonSet.Name, daemonSet.Status.NumberReady, daemonSet.Status.DesiredNumberScheduled)
    		}
    	}
    	return nil
    }
    
    func getDeploymentCondition(status appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) *appsv1.DeploymentCondition {
    	for i := range status.Conditions {
    		c := status.Conditions[i]
    		if c.Type == condType {
    			return &c
    		}
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 16:26:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go

    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
    func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(DeploymentStatus)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    func (m *DeploymentStatus) Reset()      { *m = DeploymentStatus{} }
    func (*DeploymentStatus) ProtoMessage() {}
    func (*DeploymentStatus) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2747f709ac7c95e7, []int{7}
    }
    func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *DeploymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. pkg/apis/apps/validation/validation_test.go

    		name string
    
    		from, to apps.DeploymentStatus
    
    		expectedErr bool
    	}{{
    		name: "increase: valid update",
    		from: apps.DeploymentStatus{
    			CollisionCount: nil,
    		},
    		to: apps.DeploymentStatus{
    			CollisionCount: &collisionCount,
    		},
    		expectedErr: false,
    	}, {
    		name: "stable: valid update",
    		from: apps.DeploymentStatus{
    			CollisionCount: &collisionCount,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  8. pkg/registry/apps/deployment/storage/storage_test.go

    						},
    					},
    					RestartPolicy: api.RestartPolicyAlways,
    					DNSPolicy:     api.DNSClusterFirst,
    				},
    			},
    			Replicas: 7,
    		},
    		Status: apps.DeploymentStatus{
    			Replicas: 5,
    		},
    	}
    }
    
    var validDeployment = *validNewDeployment()
    
    func TestCreate(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  9. pkg/controller/deployment/sync.go

    			createdRS = rs
    			err = nil
    			break
    		}
    
    		// Matching ReplicaSet is not equal - increment the collisionCount in the DeploymentStatus
    		// and requeue the Deployment.
    		if d.Status.CollisionCount == nil {
    			d.Status.CollisionCount = new(int32)
    		}
    		preCollisionCount := *d.Status.CollisionCount
    		*d.Status.CollisionCount++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  10. 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)
Back to top