Condition

Condition (조건)

Condition은 이 API 리소스의 현재 상태 중 한 측면에 대한 세부 정보를 담습니다.

출처: Kubernetes API Reference

본문

Condition

apiVersion: meta/v1
import "k8s.io/apimachinery/pkg/apis/meta/v1"

Condition

Condition contains details for one aspect of the current state of this API Resource.

Field Description
lastTransitionTime *
Time
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
message *
string
message is a human readable message indicating details about the transition. This may be an empty string.
observedGeneration
integer
observedGeneration은 이 조건이 설정된 기준이 된 .metadata.generation을 나타냅니다. 예를 들어 .metadata.generation이 현재 12인데 .status.conditions[x].observedGeneration이 9라면, 이 조건은 해당 인스턴스의 현재 상태에 비해 오래된 것입니다.
reason *
string
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
status *
string
조건(condition)의 상태로, True, False, Unknown 중 하나입니다.
type *
string
type of condition in CamelCase or in foo.example.com/CamelCase.

Feedback

더 알아보기 (Learn more)