Class V1NodeConfigStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1NodeConfigStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1NodeConfigStatus extends Object
NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.
  • Field Details

  • Constructor Details

    • V1NodeConfigStatus

      public V1NodeConfigStatus()
  • Method Details

    • active

      public V1NodeConfigStatus active(V1NodeConfigSource active)
    • getActive

      @Nullable public V1NodeConfigSource getActive()
      Get active
      Returns:
      active
    • setActive

      public void setActive(V1NodeConfigSource active)
    • assigned

      public V1NodeConfigStatus assigned(V1NodeConfigSource assigned)
    • getAssigned

      @Nullable public V1NodeConfigSource getAssigned()
      Get assigned
      Returns:
      assigned
    • setAssigned

      public void setAssigned(V1NodeConfigSource assigned)
    • error

      public V1NodeConfigStatus error(String error)
    • getError

      @Nullable public String getError()
      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.
      Returns:
      error
    • setError

      public void setError(String error)
    • lastKnownGood

      public V1NodeConfigStatus lastKnownGood(V1NodeConfigSource lastKnownGood)
    • getLastKnownGood

      @Nullable public V1NodeConfigSource getLastKnownGood()
      Get lastKnownGood
      Returns:
      lastKnownGood
    • setLastKnownGood

      public void setLastKnownGood(V1NodeConfigSource lastKnownGood)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object