Installing with Helm (recommended)
Installing¶
The Aiven Operator for Kubernetes can be installed via Helm.
Before you start, make sure you have the prerequisites.
First add the Aiven Helm repository:
Installing Custom Resource Definitions¶
Verify the installation:
The output is similar to the following:
NAME SHORTNAMES APIVERSION NAMESPACED KIND
connectionpools aiven.io/v1alpha1 true ConnectionPool
databases aiven.io/v1alpha1 true Database
... < several omitted lines >
Installing the Operator¶
Note
Installation will fail if webhooks are enabled and the CRDs for the cert-manager are not installed.
Verify the installation:
The output is similar to the following:
NAME: aiven-operator
LAST DEPLOYED: Fri Sep 10 15:23:26 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
It is also possible to install the operator without webhooks enabled:
Configuration Options¶
Please refer to the values.yaml of the chart.
Installing without full cluster administrator access¶
If the person installing the Helm chart does not have the necessary permissions to create cluster-wide resources such as ClusterRole
and ClusterRoleBinding
, a cluster administrator can manually install these roles. This ensures that the operator can function properly.
Uninstalling¶
Important
Please see this page for more information.
Find out the name of your deployment:
The output has the name of each deployment similar to the following:
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
aiven-operator default 1 2021-09-09 10:56:14.623700249 +0200 CEST deployed aiven-operator-v0.1.0 v0.1.0
aiven-operator-crds default 1 2021-09-09 10:56:05.736411868 +0200 CEST deployed aiven-operator-crds-v0.1.0 v0.1.0
Remove the CRDs:
The confirmation message is similar to the following:
Remove the operator:
The confirmation message is similar to the following: