Enum MembershipState.LifecycleState (1.54.0)

public enum MembershipState.LifecycleState extends Enum<MembershipState.LifecycleState> implements ProtocolMessageEnum

The set of states Policy Controller can exist in.

Protobuf enum google.cloud.gkehub.policycontroller.v1beta.MembershipState.LifecycleState

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.

ACTIVE = 3;

ACTIVE_VALUE

The PC is fully installed on the cluster and in an operational mode. In this state PCH will be reconciling state with the PC, and the PC will be performing it's operational tasks per that software. Entering a READY state requires that the hub has confirmed the PC is installed and its pods are operational with the version of the PC the PCH expects.

ACTIVE = 3;

CLUSTER_ERROR

The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').

CLUSTER_ERROR = 6;

CLUSTER_ERROR_VALUE

The PC is not operational, and the PCH is unable to act to make it operational. Entering a CLUSTER_ERROR state happens automatically when the PCH determines that a PC installed on the cluster is non-operative or that the cluster does not meet requirements set for the PCH to administer the cluster but has nevertheless been given an instruction to do so (such as 'install').

CLUSTER_ERROR = 6;

DECOMMISSIONING

The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.

DECOMMISSIONING = 5;

DECOMMISSIONING_VALUE

The PC may have resources on the cluster, but the PCH wishes to remove the Membership. The Membership still exists.

DECOMMISSIONING = 5;

DETACHED

PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub.

DETACHED = 9;

DETACHED_VALUE

PoCo Hub is not taking any action to reconcile cluster objects. Changes to those objects will not be overwritten by PoCo Hub.

DETACHED = 9;

HUB_ERROR

In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.

HUB_ERROR = 7;

HUB_ERROR_VALUE

In this state, the PC may still be operational, and only the PCH is unable to act. The hub should not issue instructions to change the PC state, or otherwise interfere with the on-cluster resources. Entering a HUB_ERROR state happens automatically when the PCH determines the hub is in an unhealthy state and it wishes to 'take hands off' to avoid corrupting the PC or other data.

HUB_ERROR = 7;

INSTALLING

The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.

INSTALLING = 2;

INSTALLING_VALUE

The PCH possesses a Membership, however the PC is not fully installed on the cluster. In this state the hub can be expected to be taking actions to install the PC on the cluster.

INSTALLING = 2;

LIFECYCLE_STATE_UNSPECIFIED

The lifecycle state is unspecified.

LIFECYCLE_STATE_UNSPECIFIED = 0;

LIFECYCLE_STATE_UNSPECIFIED_VALUE

The lifecycle state is unspecified.

LIFECYCLE_STATE_UNSPECIFIED = 0;

NOT_INSTALLED

The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.

NOT_INSTALLED = 1;

NOT_INSTALLED_VALUE

The PC does not exist on the given cluster, and no k8s resources of any type that are associated with the PC should exist there. The cluster does not possess a membership with the PCH.

NOT_INSTALLED = 1;

SUSPENDED

Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).

SUSPENDED = 8;

SUSPENDED_VALUE

Policy Controller (PC) is installed but suspended. This means that the policies are not enforced, but violations are still recorded (through audit).

SUSPENDED = 8;

UNRECOGNIZED
UPDATING

The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.

UPDATING = 4;

UPDATING_VALUE

The PC is fully installed, but in the process of changing the configuration (including changing the version of PC either up and down, or modifying the manifests of PC) of the resources running on the cluster. The PCH has a Membership, is aware of the version the cluster should be running in, but has not confirmed for itself that the PC is running with that version.

UPDATING = 4;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()