API Reference#
Packages#
hibernation.stakater.com/v1beta1#
Resource Types#
ClusterResourceSupervisor#
ClusterResourceSupervisor is the Schema for the resourcesupervisors API
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
hibernation.stakater.com/v1beta1 |
||
kind string |
ClusterResourceSupervisor |
||
metadata ObjectMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
spec ClusterResourceSupervisorSpec |
|||
status ClusterResourceSupervisorStatus |
ClusterResourceSupervisorSpec#
ClusterResourceSupervisorSpec defines the desired state of ClusterResourceSupervisor
Appears in: - ClusterResourceSupervisor
| Field | Description | Default | Validation |
|---|---|---|---|
schedule Hibernation |
Required: {} |
||
namespaces Namespaces |
Namespaces is a list of namespaces to which the schedule will be applied | Optional: {} |
|
argocd ArgoCDHibernation |
ArgoCD contains details about ArgoCD to which the schedule will be applied |
ClusterResourceSupervisorStatus#
ClusterResourceSupervisorStatus defines the observed state of ClusterResourceSupervisor
Appears in: - ClusterResourceSupervisor
| Field | Description | Default | Validation |
|---|---|---|---|
nextReconcileTime Time |
NextReconcileTime contains the next time at which the namespace resources will sleep or wake up | ||
currentStatus Status |
CurrentStatus shows the state the tenant's resources | Enum: [sleeping running error] |
|
sleepingNamespaces SleepingNamespace array |
SleepingResources contains the previous states for each of the deployments currently scaled down | ||
watchedNamespaces string array |
WatchedNamespaces contains the list of namespaces that are being watched by the ClusterResourceSupervisor | ||
ignoreNamespaces string array |
IgnoreNamespaces contains the list of namespaces that are being ignored by the ClusterResourceSupervisor |
ResourceSupervisor#
ResourceSupervisor is the Schema for the resourcesupervisors API
| Field | Description | Default | Validation |
|---|---|---|---|
apiVersion string |
hibernation.stakater.com/v1beta1 |
||
kind string |
ResourceSupervisor |
||
metadata ObjectMeta |
Refer to Kubernetes API documentation for fields of metadata. |
||
spec ResourceSupervisorSpec |
|||
status ResourceSupervisorStatus |
ResourceSupervisorSpec#
ResourceSupervisorSpec defines the desired state of ResourceSupervisor API
Appears in: - ResourceSupervisor
| Field | Description | Default | Validation |
|---|---|---|---|
schedule Hibernation |
Required: {} |
ResourceSupervisorStatus#
ResourceSupervisorStatus defines the observed state of ResourceSupervisor
Appears in: - ResourceSupervisor
| Field | Description | Default | Validation |
|---|---|---|---|
nextReconcileTime Time |
NextReconcileTime contains the next time at which the namespace resources will sleep or wake up | ||
currentStatus Status |
CurrentStatus shows the state the tenant's resources | Enum: [sleeping running error] |
Status#
Underlying type: string
Validation: - Enum: [sleeping running error]
Appears in: - ClusterResourceSupervisorStatus - ResourceSupervisorStatus