On Kubernetes#
This page describes how to install the Hibernation Operator on Kubernetes with Helm. To remove the operator, refer to Uninstalling.
Requirements#
- A Kubernetes cluster, version 1.24 or later
- The Helm CLI
- kubectl
- cert-manager, installed in the cluster
The chart always deploys the validating admission webhook, and it issues the webhook and metrics certificates through a cert-manager Issuer. cert-manager is therefore required, and the chart provides no option to disable it.
Install the operator#
The chart is published as an OCI artifact in the Stakater package registry. Install it into the hibernation-operator-system namespace:
helm install hibernation-operator \
oci://ghcr.io/stakater/public/charts/hibernation-operator \
--namespace hibernation-operator-system \
--create-namespace
For production clusters, pin the chart to a specific version by adding --version <chart-version>.
The release creates:
- The
hibernation-operator-controller-managerdeployment, which runs theResourceSupervisorandClusterResourceSupervisorcontrollers - The
hibernation-operator-webhookdeployment, which serves the validating admission webhook - The CRDs, RBAC resources, services and cert-manager certificates
For the available chart values, refer to Configuration.
Verify the installation#
kubectl get pods -n hibernation-operator-system --watch
Once both pods report Running, hibernation schedules can be created:
The ArgoCD integration requires no installation option. It is enabled per resource through spec.argocd on a ClusterResourceSupervisor; refer to ArgoCD Integration.