diff --git a/api/openapi-spec/root_swagger.json b/api/openapi-spec/root_swagger.json
index b0c1a2ce775..9a0dfe9280d 100644
--- a/api/openapi-spec/root_swagger.json
+++ b/api/openapi-spec/root_swagger.json
@@ -28176,6 +28176,39 @@
}
}
},
+ "v1.ReplicationControllerCondition": {
+ "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
+ "required": [
+ "type",
+ "status"
+ ],
+ "properties": {
+ "lastProbeTime": {
+ "description": "Last time we probed the condition.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "lastTransitionTime": {
+ "description": "The last time the condition transitioned from one status to another.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "message": {
+ "description": "A human readable message indicating details about the transition.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "The reason for the condition's last transition.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the condition, one of True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of replication controller condition.",
+ "type": "string"
+ }
+ }
+ },
"v1.ReplicationControllerList": {
"description": "ReplicationControllerList is a collection of replication controllers.",
"required": [
@@ -28232,6 +28265,13 @@
"type": "integer",
"format": "int32"
},
+ "conditions": {
+ "description": "Represents the latest available observations of a replication controller's current state.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/v1.ReplicationControllerCondition"
+ }
+ },
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replication controller.",
"type": "integer",
@@ -30052,6 +30092,39 @@
}
}
},
+ "v1beta1.ReplicaSetCondition": {
+ "description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
+ "required": [
+ "type",
+ "status"
+ ],
+ "properties": {
+ "lastProbeTime": {
+ "description": "Last time we probed the condition.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "lastTransitionTime": {
+ "description": "The last time the condition transitioned from one status to another.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "message": {
+ "description": "A human readable message indicating details about the transition.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "The reason for the condition's last transition.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the condition, one of True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of replica set condition.",
+ "type": "string"
+ }
+ }
+ },
"v1beta1.ReplicaSetList": {
"description": "ReplicaSetList is a collection of ReplicaSets.",
"required": [
@@ -30105,6 +30178,13 @@
"type": "integer",
"format": "int32"
},
+ "conditions": {
+ "description": "Represents the latest available observations of a replica set's current state.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/v1beta1.ReplicaSetCondition"
+ }
+ },
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
"type": "integer",
diff --git a/api/openapi-spec/v1.json b/api/openapi-spec/v1.json
index a36b882de11..a34f9fa1f29 100644
--- a/api/openapi-spec/v1.json
+++ b/api/openapi-spec/v1.json
@@ -14679,6 +14679,39 @@
}
}
},
+ "v1.ReplicationControllerCondition": {
+ "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
+ "required": [
+ "type",
+ "status"
+ ],
+ "properties": {
+ "lastProbeTime": {
+ "description": "Last time we probed the condition.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "lastTransitionTime": {
+ "description": "The last time the condition transitioned from one status to another.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "message": {
+ "description": "A human readable message indicating details about the transition.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "The reason for the condition's last transition.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the condition, one of True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of replication controller condition.",
+ "type": "string"
+ }
+ }
+ },
"v1.ReplicationControllerList": {
"description": "ReplicationControllerList is a collection of replication controllers.",
"required": [
@@ -14735,6 +14768,13 @@
"type": "integer",
"format": "int32"
},
+ "conditions": {
+ "description": "Represents the latest available observations of a replication controller's current state.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/v1.ReplicationControllerCondition"
+ }
+ },
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replication controller.",
"type": "integer",
diff --git a/api/openapi-spec/v1beta1.extensions.json b/api/openapi-spec/v1beta1.extensions.json
index 9dfa60b74af..92697eda83b 100644
--- a/api/openapi-spec/v1beta1.extensions.json
+++ b/api/openapi-spec/v1beta1.extensions.json
@@ -7798,6 +7798,39 @@
}
}
},
+ "v1beta1.ReplicaSetCondition": {
+ "description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
+ "required": [
+ "type",
+ "status"
+ ],
+ "properties": {
+ "lastProbeTime": {
+ "description": "Last time we probed the condition.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "lastTransitionTime": {
+ "description": "The last time the condition transitioned from one status to another.",
+ "$ref": "#/definitions/unversioned.Time"
+ },
+ "message": {
+ "description": "A human readable message indicating details about the transition.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "The reason for the condition's last transition.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the condition, one of True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of replica set condition.",
+ "type": "string"
+ }
+ }
+ },
"v1beta1.ReplicaSetList": {
"description": "ReplicaSetList is a collection of ReplicaSets.",
"required": [
@@ -7851,6 +7884,13 @@
"type": "integer",
"format": "int32"
},
+ "conditions": {
+ "description": "Represents the latest available observations of a replica set's current state.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/v1beta1.ReplicaSetCondition"
+ }
+ },
"fullyLabeledReplicas": {
"description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
"type": "integer",
diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json
index dbf20d00dc3..d84f04b058f 100644
--- a/api/swagger-spec/extensions_v1beta1.json
+++ b/api/swagger-spec/extensions_v1beta1.json
@@ -10348,6 +10348,49 @@
"type": "integer",
"format": "int64",
"description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet."
+ },
+ "conditions": {
+ "type": "array",
+ "items": {
+ "$ref": "v1beta1.ReplicaSetCondition"
+ },
+ "description": "Represents the latest available observations of a replica set's current state."
+ }
+ }
+ },
+ "v1beta1.ReplicaSetCondition": {
+ "id": "v1beta1.ReplicaSetCondition",
+ "description": "ReplicaSetCondition describes the state of a replica set at a certain point.",
+ "required": [
+ "type",
+ "status"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Type of replica set condition."
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the condition, one of True, False, Unknown."
+ },
+ "lastProbeTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last time we probed the condition."
+ },
+ "lastTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time the condition transitioned from one status to another."
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the condition's last transition."
+ },
+ "message": {
+ "type": "string",
+ "description": "A human readable message indicating details about the transition."
}
}
},
diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json
index 14516e1f356..8836d8646bd 100644
--- a/api/swagger-spec/v1.json
+++ b/api/swagger-spec/v1.json
@@ -19135,6 +19135,49 @@
"type": "integer",
"format": "int64",
"description": "ObservedGeneration reflects the generation of the most recently observed replication controller."
+ },
+ "conditions": {
+ "type": "array",
+ "items": {
+ "$ref": "v1.ReplicationControllerCondition"
+ },
+ "description": "Represents the latest available observations of a replication controller's current state."
+ }
+ }
+ },
+ "v1.ReplicationControllerCondition": {
+ "id": "v1.ReplicationControllerCondition",
+ "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.",
+ "required": [
+ "type",
+ "status"
+ ],
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Type of replication controller condition."
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the condition, one of True, False, Unknown."
+ },
+ "lastProbeTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last time we probed the condition."
+ },
+ "lastTransitionTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last time the condition transitioned from one status to another."
+ },
+ "reason": {
+ "type": "string",
+ "description": "The reason for the condition's last transition."
+ },
+ "message": {
+ "type": "string",
+ "description": "A human readable message indicating details about the transition."
}
}
},
diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html
index 2c3b3f088af..c1ad1e4b572 100755
--- a/docs/api-reference/extensions/v1beta1/definitions.html
+++ b/docs/api-reference/extensions/v1beta1/definitions.html
@@ -1126,6 +1126,75 @@ Examples:
+
+
ReplicaSetCondition describes the state of a replica set at a certain point.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
type |
+Type of replica set condition. |
+true |
+string |
++ |
status |
+Status of the condition, one of True, False, Unknown. |
+true |
+string |
++ |
lastProbeTime |
+Last time we probed the condition. |
+false |
+string (date-time) |
++ |
lastTransitionTime |
+The last time the condition transitioned from one status to another. |
+false |
+string (date-time) |
++ |
reason |
+The reason for the condition’s last transition. |
+false |
+string |
++ |
message |
+A human readable message indicating details about the transition. |
+false |
+string |
++ |
integer (int64)
conditions
Represents the latest available observations of a replica set’s current state.
false