mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
make replicas a pointer in v1beta3 api
This commit is contained in:
@@ -953,7 +953,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