"description":"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: http://docs.k8s.io/api-conventions.md#concurrency-control-and-consistency"
},
"generation":{
"type":"integer",
"format":"int64",
"description":"a sequence number representing a specific generation of the desired state; populated by the system; read-only"
},
"creationTimestamp":{
"type":"string",
"description":"RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists"
...
...
@@ -12955,6 +12960,11 @@
"type":"integer",
"format":"int32",
"description":"most recently oberved number of replicas"
},
"observedGeneration":{
"type":"integer",
"format":"int64",
"description":"reflects the generation of the most recently observed replication controller"
"description":"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: http://docs.k8s.io/api-conventions.md#concurrency-control-and-consistency"
},
"generation":{
"type":"integer",
"format":"int64",
"description":"a sequence number representing a specific generation of the desired state; populated by the system; read-only"
},
"creationTimestamp":{
"type":"string",
"description":"RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists"
...
...
@@ -12957,6 +12962,11 @@
"type":"integer",
"format":"int32",
"description":"most recently oberved number of replicas"
},
"observedGeneration":{
"type":"integer",
"format":"int64",
"description":"reflects the generation of the most recently observed replication controller"
// resource or set of resources. Only servers will generate resource versions.
ResourceVersionstring`json:"resourceVersion,omitempty" description:"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: http://docs.k8s.io/api-conventions.md#concurrency-control-and-consistency"`
// A sequence number representing a specific generation of the desired state.
// Currently only implemented by replication controllers.
Generationint64`json:"generation,omitempty" description:"a sequence number representing a specific generation of the desired state; populated by the system; read-only"`
// CreationTimestamp is a timestamp representing the server time when this object was
// created. It is not guaranteed to be set in happens-before order across separate operations.
// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
...
...
@@ -1001,11 +1005,15 @@ type ReplicationControllerSpec struct {
typeReplicationControllerStatusstruct{
// Replicas is the number of actual replicas.
Replicasint`json:"replicas" description:"most recently oberved number of replicas"`
// ObservedGeneration is the most recent generation observed by the controller.
ObservedGenerationint64`json:"observedGeneration,omitempty" description:"reflects the generation of the most recently observed replication controller"`
}
// ReplicationController represents the configuration of a replication controller.
typeReplicationControllerstruct{
TypeMeta`json:",inline"`
// If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages.
ObjectMeta`json:"metadata,omitempty" description:"standard object metadata; see http://docs.k8s.io/api-conventions.md#metadata"`
// resource or set of resources. Only servers will generate resource versions.
ResourceVersionstring`json:"resourceVersion,omitempty" description:"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: http://docs.k8s.io/api-conventions.md#concurrency-control-and-consistency"`
// A sequence number representing a specific generation of the desired state.
// Currently only implemented by replication controllers.
Generationint64`json:"generation,omitempty" description:"a sequence number representing a specific generation of the desired state; populated by the system; read-only"`
// CreationTimestamp is a timestamp representing the server time when this object was
// created. It is not guaranteed to be set in happens-before order across separate operations.
// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
...
...
@@ -1005,6 +1009,9 @@ type ReplicationControllerSpec struct {
typeReplicationControllerStatusstruct{
// Replicas is the number of actual replicas.
Replicasint`json:"replicas" description:"most recently oberved number of replicas"`
// ObservedGeneration is the most recent generation observed by the controller.
ObservedGenerationint64`json:"observedGeneration,omitempty" description:"reflects the generation of the most recently observed replication controller"`
}
// ReplicationController represents the configuration of a replication controller.