mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
apps: update observedGeneration doc for statefulsets
This commit is contained in:
parent
2b0a1f2b11
commit
19e181d8eb
@ -36012,7 +36012,7 @@
|
|||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"observedGeneration": {
|
"observedGeneration": {
|
||||||
"description": "most recent generation observed by this autoscaler.",
|
"description": "most recent generation observed by this StatefulSet.",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
|
@ -2891,7 +2891,7 @@
|
|||||||
"observedGeneration": {
|
"observedGeneration": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
"description": "most recent generation observed by this autoscaler."
|
"description": "most recent generation observed by this StatefulSet."
|
||||||
},
|
},
|
||||||
"replicas": {
|
"replicas": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -1282,7 +1282,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">observedGeneration</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">observedGeneration</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">most recent generation observed by this autoscaler.</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">most recent generation observed by this StatefulSet.</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">false</p></td>
|
||||||
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int64)</p></td>
|
<td class="tableblock halign-left valign-top"><p class="tableblock">integer (int64)</p></td>
|
||||||
<td class="tableblock halign-left valign-top"></td>
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
@ -4875,7 +4875,7 @@ Examples:<br>
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2016-12-16 14:44:13 UTC
|
Last updated 2016-12-19 12:58:07 UTC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
@ -86,7 +86,7 @@ type StatefulSetSpec struct {
|
|||||||
|
|
||||||
// StatefulSetStatus represents the current state of a StatefulSet.
|
// StatefulSetStatus represents the current state of a StatefulSet.
|
||||||
type StatefulSetStatus struct {
|
type StatefulSetStatus struct {
|
||||||
// most recent generation observed by this autoscaler.
|
// most recent generation observed by this StatefulSet.
|
||||||
// +optional
|
// +optional
|
||||||
ObservedGeneration *int64
|
ObservedGeneration *int64
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ message StatefulSetSpec {
|
|||||||
|
|
||||||
// StatefulSetStatus represents the current state of a StatefulSet.
|
// StatefulSetStatus represents the current state of a StatefulSet.
|
||||||
message StatefulSetStatus {
|
message StatefulSetStatus {
|
||||||
// most recent generation observed by this autoscaler.
|
// most recent generation observed by this StatefulSet.
|
||||||
// +optional
|
// +optional
|
||||||
optional int64 observedGeneration = 1;
|
optional int64 observedGeneration = 1;
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ type StatefulSetSpec struct {
|
|||||||
|
|
||||||
// StatefulSetStatus represents the current state of a StatefulSet.
|
// StatefulSetStatus represents the current state of a StatefulSet.
|
||||||
type StatefulSetStatus struct {
|
type StatefulSetStatus struct {
|
||||||
// most recent generation observed by this autoscaler.
|
// most recent generation observed by this StatefulSet.
|
||||||
// +optional
|
// +optional
|
||||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`
|
ObservedGeneration *int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ func (StatefulSetSpec) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_StatefulSetStatus = map[string]string{
|
var map_StatefulSetStatus = map[string]string{
|
||||||
"": "StatefulSetStatus represents the current state of a StatefulSet.",
|
"": "StatefulSetStatus represents the current state of a StatefulSet.",
|
||||||
"observedGeneration": "most recent generation observed by this autoscaler.",
|
"observedGeneration": "most recent generation observed by this StatefulSet.",
|
||||||
"replicas": "Replicas is the number of actual replicas.",
|
"replicas": "Replicas is the number of actual replicas.",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12050,7 +12050,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
|
|||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"observedGeneration": {
|
"observedGeneration": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "most recent generation observed by this autoscaler.",
|
Description: "most recent generation observed by this StatefulSet.",
|
||||||
Type: []string{"integer"},
|
Type: []string{"integer"},
|
||||||
Format: "int64",
|
Format: "int64",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user