mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Merge pull request #10234 from mikedanese/rolling-update-weird
Detect if replicas have been defaulted in rolling-update and use old replica count
This commit is contained in:
@@ -971,7 +971,7 @@ type PodTemplateList struct {
|
||||
|
||||
// ReplicationControllerSpec is the specification of a replication controller.
|
||||
type ReplicationControllerSpec struct {
|
||||
// Replicas is the number of desired replicas.
|
||||
// Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified.
|
||||
Replicas *int `json:"replicas,omitempty" description:"number of replicas desired; defaults to 1"`
|
||||
|
||||
// Selector is a label query over pods that should match the Replicas count.
|
||||
|
Reference in New Issue
Block a user