mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
make fullyLabeledReplicas optional in rc and rs status
This commit is contained in:
parent
4b3e2b57ac
commit
9bdd30fdf1
@ -7877,8 +7877,7 @@
|
|||||||
"id": "v1beta1.ReplicaSetStatus",
|
"id": "v1beta1.ReplicaSetStatus",
|
||||||
"description": "ReplicaSetStatus represents the current status of a ReplicaSet.",
|
"description": "ReplicaSetStatus represents the current status of a ReplicaSet.",
|
||||||
"required": [
|
"required": [
|
||||||
"replicas",
|
"replicas"
|
||||||
"fullyLabeledReplicas"
|
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"replicas": {
|
"replicas": {
|
||||||
|
@ -17617,8 +17617,7 @@
|
|||||||
"id": "v1.ReplicationControllerStatus",
|
"id": "v1.ReplicationControllerStatus",
|
||||||
"description": "ReplicationControllerStatus represents the current status of a replication controller.",
|
"description": "ReplicationControllerStatus represents the current status of a replication controller.",
|
||||||
"required": [
|
"required": [
|
||||||
"replicas",
|
"replicas"
|
||||||
"fullyLabeledReplicas"
|
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"replicas": {
|
"replicas": {
|
||||||
|
@ -4583,7 +4583,7 @@ Both these may change in the future. Incoming requests are matched against the h
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">fullyLabeledReplicas</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">fullyLabeledReplicas</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">The number of pods that have labels matching the labels of the pod template of the replicaset.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">The number of pods that have labels matching the labels of the pod template of the replicaset.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -5605,7 +5605,7 @@ Both these may change in the future. Incoming requests are matched against the h
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2016-03-11 23:39:49 UTC
|
Last updated 2016-03-15 22:07:50 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -5565,7 +5565,7 @@ The resulting set of endpoints can be viewed as:<br>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">fullyLabeledReplicas</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">fullyLabeledReplicas</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">The number of pods that have labels matching the labels of the pod template of the replication controller.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">The number of pods that have labels matching the labels of the pod template of the replication controller.</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">true</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int32)</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -7632,7 +7632,7 @@ The resulting set of endpoints can be viewed as:<br>
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2016-03-11 23:39:43 UTC
|
Last updated 2016-03-15 20:32:41 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -26956,12 +26956,13 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [3]bool
|
var yyq2 [3]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
|
yyq2[1] = x.FullyLabeledReplicas != 0
|
||||||
yyq2[2] = x.ObservedGeneration != 0
|
yyq2[2] = x.ObservedGeneration != 0
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(3)
|
r.EncodeArrayStart(3)
|
||||||
} else {
|
} else {
|
||||||
yynn2 = 2
|
yynn2 = 1
|
||||||
for _, b := range yyq2 {
|
for _, b := range yyq2 {
|
||||||
if b {
|
if b {
|
||||||
yynn2++
|
yynn2++
|
||||||
@ -26991,6 +26992,7 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[1] {
|
||||||
yym7 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym7
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
@ -26998,6 +27000,10 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
r.EncodeInt(0)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
@ -27008,6 +27014,7 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[2] {
|
if yyq2[2] {
|
||||||
|
@ -1381,7 +1381,7 @@ type ReplicationControllerStatus struct {
|
|||||||
Replicas int `json:"replicas"`
|
Replicas int `json:"replicas"`
|
||||||
|
|
||||||
// The number of pods that have labels matching the labels of the pod template of the replication controller.
|
// The number of pods that have labels matching the labels of the pod template of the replication controller.
|
||||||
FullyLabeledReplicas int `json:"fullyLabeledReplicas"`
|
FullyLabeledReplicas int `json:"fullyLabeledReplicas,omitempty"`
|
||||||
|
|
||||||
// ObservedGeneration is the most recent generation observed by the controller.
|
// ObservedGeneration is the most recent generation observed by the controller.
|
||||||
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
||||||
|
@ -26686,12 +26686,13 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [3]bool
|
var yyq2 [3]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
|
yyq2[1] = x.FullyLabeledReplicas != 0
|
||||||
yyq2[2] = x.ObservedGeneration != 0
|
yyq2[2] = x.ObservedGeneration != 0
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(3)
|
r.EncodeArrayStart(3)
|
||||||
} else {
|
} else {
|
||||||
yynn2 = 2
|
yynn2 = 1
|
||||||
for _, b := range yyq2 {
|
for _, b := range yyq2 {
|
||||||
if b {
|
if b {
|
||||||
yynn2++
|
yynn2++
|
||||||
@ -26721,6 +26722,7 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[1] {
|
||||||
yym7 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym7
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
@ -26728,6 +26730,10 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
r.EncodeInt(0)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
@ -26738,6 +26744,7 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[2] {
|
if yyq2[2] {
|
||||||
|
@ -1680,7 +1680,7 @@ type ReplicationControllerStatus struct {
|
|||||||
Replicas int32 `json:"replicas"`
|
Replicas int32 `json:"replicas"`
|
||||||
|
|
||||||
// The number of pods that have labels matching the labels of the pod template of the replication controller.
|
// The number of pods that have labels matching the labels of the pod template of the replication controller.
|
||||||
FullyLabeledReplicas int32 `json:"fullyLabeledReplicas"`
|
FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"`
|
||||||
|
|
||||||
// ObservedGeneration reflects the generation of the most recently observed replication controller.
|
// ObservedGeneration reflects the generation of the most recently observed replication controller.
|
||||||
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
||||||
|
@ -14892,12 +14892,13 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [3]bool
|
var yyq2 [3]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
|
yyq2[1] = x.FullyLabeledReplicas != 0
|
||||||
yyq2[2] = x.ObservedGeneration != 0
|
yyq2[2] = x.ObservedGeneration != 0
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(3)
|
r.EncodeArrayStart(3)
|
||||||
} else {
|
} else {
|
||||||
yynn2 = 2
|
yynn2 = 1
|
||||||
for _, b := range yyq2 {
|
for _, b := range yyq2 {
|
||||||
if b {
|
if b {
|
||||||
yynn2++
|
yynn2++
|
||||||
@ -14927,6 +14928,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[1] {
|
||||||
yym7 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym7
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
@ -14934,6 +14936,10 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
r.EncodeInt(0)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
@ -14944,6 +14950,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[2] {
|
if yyq2[2] {
|
||||||
|
@ -816,7 +816,7 @@ type ReplicaSetStatus struct {
|
|||||||
Replicas int `json:"replicas"`
|
Replicas int `json:"replicas"`
|
||||||
|
|
||||||
// The number of pods that have labels matching the labels of the pod template of the replicaset.
|
// The number of pods that have labels matching the labels of the pod template of the replicaset.
|
||||||
FullyLabeledReplicas int `json:"fullyLabeledReplicas"`
|
FullyLabeledReplicas int `json:"fullyLabeledReplicas,omitempty"`
|
||||||
|
|
||||||
// ObservedGeneration is the most recent generation observed by the controller.
|
// ObservedGeneration is the most recent generation observed by the controller.
|
||||||
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
||||||
|
@ -16257,12 +16257,13 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
var yyq2 [3]bool
|
var yyq2 [3]bool
|
||||||
_, _, _ = yysep2, yyq2, yy2arr2
|
_, _, _ = yysep2, yyq2, yy2arr2
|
||||||
const yyr2 bool = false
|
const yyr2 bool = false
|
||||||
|
yyq2[1] = x.FullyLabeledReplicas != 0
|
||||||
yyq2[2] = x.ObservedGeneration != 0
|
yyq2[2] = x.ObservedGeneration != 0
|
||||||
var yynn2 int
|
var yynn2 int
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
r.EncodeArrayStart(3)
|
r.EncodeArrayStart(3)
|
||||||
} else {
|
} else {
|
||||||
yynn2 = 2
|
yynn2 = 1
|
||||||
for _, b := range yyq2 {
|
for _, b := range yyq2 {
|
||||||
if b {
|
if b {
|
||||||
yynn2++
|
yynn2++
|
||||||
@ -16292,6 +16293,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
}
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
|
if yyq2[1] {
|
||||||
yym7 := z.EncBinary()
|
yym7 := z.EncBinary()
|
||||||
_ = yym7
|
_ = yym7
|
||||||
if false {
|
if false {
|
||||||
@ -16299,6 +16301,10 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
r.EncodeInt(0)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if yyq2[1] {
|
||||||
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
z.EncSendContainerState(codecSelfer_containerMapKey1234)
|
||||||
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas"))
|
||||||
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
z.EncSendContainerState(codecSelfer_containerMapValue1234)
|
||||||
@ -16309,6 +16315,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) {
|
|||||||
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
r.EncodeInt(int64(x.FullyLabeledReplicas))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if yyr2 || yy2arr2 {
|
if yyr2 || yy2arr2 {
|
||||||
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
z.EncSendContainerState(codecSelfer_containerArrayElem1234)
|
||||||
if yyq2[2] {
|
if yyq2[2] {
|
||||||
|
@ -908,7 +908,7 @@ type ReplicaSetStatus struct {
|
|||||||
Replicas int32 `json:"replicas"`
|
Replicas int32 `json:"replicas"`
|
||||||
|
|
||||||
// The number of pods that have labels matching the labels of the pod template of the replicaset.
|
// The number of pods that have labels matching the labels of the pod template of the replicaset.
|
||||||
FullyLabeledReplicas int32 `json:"fullyLabeledReplicas"`
|
FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"`
|
||||||
|
|
||||||
// ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
// ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
||||||
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user