-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
area/iaasIssues related to IronCore IaaS development.Issues related to IronCore IaaS development.enhancementNew feature or requestNew feature or request
Description
Summary
The meta package in K8S apimachinery exposes a Condition struct which enriches status fields with information such as transitionTime, different fine-granular condition types and reasons why this condition has been set.
The controller-utils package offers utility functions around conditions.
Basic example
// either introduce our own condition type or leverage the apimachinery condition type
type ConditionWithTimestamps struct {
Type string
Status corev1.ConditionStatus
LastUpdateTime *metav1.Time
LastTransitionTime *metav1.Time
Reason string
Message string
}
type MachineStatus struct {
...
Conditions []ConditionWithTimestamps
}
Naming is up for suggestions.
The potential resources ConditionsAPI to be integrated to
- Machine
- Volume
Motivation
The IronCore API should start actively leveraging this feature to enhance operational observability of API resources.
Metadata
Metadata
Assignees
Labels
area/iaasIssues related to IronCore IaaS development.Issues related to IronCore IaaS development.enhancementNew feature or requestNew feature or request
Type
Projects
Status
No status