Condition

A condition expressing an aspect of current resource state.

Container OrchestrationKubernetesLoad BalancingNetworkingService Discovery

Properties

Name Type Description
type string Type of condition.
status string
reason string Machine-readable reason for the condition.
message string Human-readable condition details.
lastTransitionTime string
View JSON Schema on GitHub

JSON Schema

kubernetes-services-condition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Condition",
  "title": "Condition",
  "type": "object",
  "description": "A condition expressing an aspect of current resource state.",
  "required": [
    "type",
    "status"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Type of condition."
    },
    "status": {
      "type": "string",
      "enum": [
        "True",
        "False",
        "Unknown"
      ]
    },
    "reason": {
      "type": "string",
      "description": "Machine-readable reason for the condition."
    },
    "message": {
      "type": "string",
      "description": "Human-readable condition details."
    },
    "lastTransitionTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}