case class NodeConfigStatus(active: Optional[NodeConfigSource] = Optional.Absent, assigned: Optional[NodeConfigSource] = Optional.Absent, error: Optional[String] = Optional.Absent, lastKnownGood: Optional[NodeConfigSource] = Optional.Absent) extends Product with Serializable
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
- error
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.
- Alphabetic
- By Inheritance
- NodeConfigStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
NodeConfigStatus(active: Optional[NodeConfigSource] = Optional.Absent, assigned: Optional[NodeConfigSource] = Optional.Absent, error: Optional[String] = Optional.Absent, lastKnownGood: Optional[NodeConfigSource] = Optional.Absent)
- error
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.
Value Members
- val active: Optional[NodeConfigSource]
- val assigned: Optional[NodeConfigSource]
- val error: Optional[String]
-
def
getActive: IO[K8sFailure, NodeConfigSource]
Gets active.
Gets active.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getAssigned: IO[K8sFailure, NodeConfigSource]
Gets assigned.
Gets assigned.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getError: IO[K8sFailure, String]
Error describes any problems reconciling the Spec.ConfigSource to the Active config.
Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getLastKnownGood: IO[K8sFailure, NodeConfigSource]
Gets lastKnownGood.
Gets lastKnownGood.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val lastKnownGood: Optional[NodeConfigSource]