Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VizierReason ¶
type VizierReason string
VizierReason is the reason that Vizier is in its current state. All VizierReason values should be included in this file.
const ( // VizierVersionTooOld occurs when the running Vizier version is more than one major version too old. VizierVersionTooOld VizierReason = "VizierVersionOld" // KernelVersionsIncompatible occurs when the majority of nodes have an incompatible kernel version. KernelVersionsIncompatible VizierReason = "KernelVersionsIncompatible" // CloudConnectorFailedToConnect occurs when the cloud connector is unable to connect to the specified cloud addr. CloudConnectorFailedToConnect VizierReason = "CloudConnectFailed" // CloudConnectorInvalidDeployKey occurs when the cloud connector has an invalid deploy key. This will prevent // the Vizier from properly registering. CloudConnectorInvalidDeployKey VizierReason = "InvalidDeployKey" // CloudConnectorBasicQueryFailed occurs when the cloud connector is fully connected, but fails to run basic queries. CloudConnectorBasicQueryFailed VizierReason = "BasicQueryFailed" // CloudConnectorPodPending occurs when a cloud connector is in the Pending Kubeneretes PodPhase. CloudConnectorPodPending VizierReason = "CloudConnectorPodPending" // CloudConnectorPodFailed occurs when a cloud connector pod is in the Failed Kubernetes PodPhase. CloudConnectorPodFailed VizierReason = "CloudConnectorPodFailed" // CloudConnectorMissing occurs when a cloud connector pod doesn't exist for a cluster. CloudConnectorMissing VizierReason = "CloudConnectorMissing" // CloudConnectorRegistering occurs when the cloud connector is still registering with Pixie Cloud. CloudConnectorRegistering VizierReason = "CloudConnectorRegistering" // MetadataPVCMissing occurs when the operator cannot find the metadata PVC. MetadataPVCMissing VizierReason = "MetadataPVCMissing" MetadataPVCStorageClassUnavailable VizierReason = "MetadataPVCStorageClassUnavailable" // MetadataPVCPendingBinding occurs when the Metadata PVC is still pending, but the spec is requesting a valid Storage class. MetadataPVCPendingBinding VizierReason = "MetadataPVCPendingBinding" // MetadataStatefulSetPodPending occurs when the stateful metadata pod is stuck pending. MetadataStatefulSetPodPending VizierReason = "MetadataStatefulSetPodPending" // ControlPlanePodsPending occurs when one or more control plane pods are pending. ControlPlanePodsPending VizierReason = "ControlPlanePodsPending" // ControlPlanePodsFailed occurs when one or more control plane pods are failing, but none are pending. ControlPlanePodsFailed VizierReason = "ControlPlanePodsFailed" // ControlPlaneFailedToSchedule occurs when a pod in the control plane cannot be scheduled. More specific states are enumerated in separate reasons below. ControlPlaneFailedToSchedule VizierReason = "ControlPlaneFailedToSchedule" // ControlPlaneFailedToScheduleBecauseOfTaints occurs when a pod in the control plane could not be scheduled because of restrictive taints. ControlPlaneFailedToScheduleBecauseOfTaints VizierReason = "ControlPlaneFailedToScheduleBecauseOfTaints" // NATSPodPending occurs when the nats pod is pending. NATSPodPending VizierReason = "NATSPodPending" // NATSPodMissing occurs when the nats pod is missing. NATSPodMissing VizierReason = "NATSPodMissing" // NATSPodFailed occurs when the nats pod failed to start up. NATSPodFailed VizierReason = "NATSPodFailed" // EtcdPodsMissing when the etcd pods are missing. EtcdPodsMissing VizierReason = "EtcdPodsMissing" // EtcdPodsCrashing when the etcd pods are crashing. EtcdPodsCrashing VizierReason = "EtcdPodsCrashing" // UnableToConnectToCloud occurs when the Operator cannot make requests to the Pixie Cloud instance. UnableToConnectToCloud VizierReason = "UnableToConnectToCloud" // PEMsSomeInsufficientMemory occurs when some PEMs (strictly not all) fail to schedule due to insufficient memory. If all PEMs experience // insufficient memory, then the Reason should be PEMsAllInsufficientMemory. PEMsSomeInsufficientMemory VizierReason = "PEMsSomeInsufficientMemory" // PEMsAllInsufficientMemory occurs when all PEMs fail to schedule due to insufficient memory. If only some pods experience // insufficient memory, then the Reason should be PEMsSomeInsufficientMemory. PEMsAllInsufficientMemory VizierReason = "PEMsAllInsufficientMemory" // PEMsMissing occurs when the operator can't find PEMs in the monitoring namespace. PEMsMissing VizierReason = "PEMsMissing" // PEMsHighFailureRate occurs when a large portion of PEMs are hurting the stability of the cluster. PEMsHighFailureRate VizierReason = "PEMsHighFailureRate" // PEMsAllFailing occurs when a all PEMs are failing. PEMsAllFailing VizierReason = "PEMsAllFailing" // TLSCertsExpired occurs when the service TLS certs are expired or almost expired. TLSCertsExpired VizierReason = "TLSCertsExpired" )
func (VizierReason) GetMessage ¶
func (reason VizierReason) GetMessage() string
GetMessage gets the human-readable message for a Vizier status reason.
Click to show internal directories.
Click to hide internal directories.