-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance status for deploymentconfigs #6233
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -282,14 +282,23 @@ type DeploymentConfigSpec struct { | |
|
||
// DeploymentConfigStatus represents the current deployment state. | ||
type DeploymentConfigStatus struct { | ||
// LatestVersion is used to determine whether the current deployment associated with a DeploymentConfig | ||
// is out of sync. | ||
// LatestVersion is used to determine whether the current deployment associated with a deployment | ||
// config is out of sync. | ||
LatestVersion int64 `json:"latestVersion,omitempty"` | ||
// ObservedGeneration is the most recent generation observed by the deployment config controller. | ||
ObservedGeneration int64 `json:"observedGeneration,omitempty"` | ||
// Replicas is the total number of pods targeted by this deployment config. | ||
Replicas int32 `json:"replicas,omitempty"` | ||
// UpdatedReplicas is the total number of non-terminated pods targeted by this deployment config | ||
// that have the desired template spec. | ||
UpdatedReplicas int32 `json:"updatedReplicas,omitempty"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it useful/important to know the updated available count? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hm, we should discuss it upstream. For now, I think we are ok with AvailableReplicas. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Which of these are not upstream? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Every field is upstream already On Thu, Jun 23, 2016 at 4:36 PM, Clayton Coleman notifications@github.com
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Except the one @ironcladlou proposes which is not in both There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, wanted to be clear. |
||
// AvailableReplicas is the total number of available pods targeted by this deployment config. | ||
AvailableReplicas int32 `json:"availableReplicas,omitempty"` | ||
// UnavailableReplicas is the total number of unavailable pods targeted by this deployment config. | ||
UnavailableReplicas int32 `json:"unavailableReplicas,omitempty"` | ||
// Details are the reasons for the update to this deployment config. | ||
// This could be based on a change made by the user or caused by an automatic trigger | ||
Details *DeploymentDetails `json:"details,omitempty"` | ||
// ObservedGeneration is the most recent generation observed by the controller. | ||
ObservedGeneration int64 `json:"observedGeneration,omitempty"` | ||
} | ||
|
||
// DeploymentTriggerPolicy describes a policy for a single trigger that results in a new deployment. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/cofnig/config/