ResourceHealth
ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.
Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/core.api.k8s.io/ResourceHealth_v1.json▶ Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/core.api.k8s.io/ResourceHealth_v1.jsonkubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yamlResource Structure
healthstringHealth of the resource. can be one of:
- Healthy: operates as normal
- Unhealthy: reported unhealthy. We consider this a temporary health issue
since we do not have a mechanism today to distinguish
temporary and permanent issues.
- Unknown: The status cannot be determined.
For example, Device Plugin got unregistered and hasn't been re-registered since.
In future we may want to introduce the PermanentlyUnhealthy Status.
resourceIDstringRequiredResourceID is the unique identifier of the resource. See the ResourceID type for more information.