Custom Installation Guide
Users who need to customize their Altinity Kubernetes Operator for ClickHouse® namespace or cannot directly connect to Github from the installation environment can perform a custom install.
Requirements
The Altinity Kubernetes Operator for ClickHouse has the following requirements:
- Kubernetes 1.15.11+. For instructions on how to install Kubernetes for your particular environment, see the Kubernetes Install Tools page.
- Access to the clickhouse-operator-install-bundle.yaml file.
Instructions
Script Install into Namespace
By default, the operator installs into the kube-system
namespace when using the Basic Installation instructions. To install into a different namespace use the following command replacing {custom namespace here} with the namespace to use:
For example, to install into the namespace test-clickhouse-operator
namespace, use:
If no OPERATOR_NAMESPACE
value is set, then the operator will be installed into kube-system
.
Manual Install into Namespace
For organizations that can not access GitHub directly from the environment they are installing the operator in, they can perform a manual install through the following steps:
-
Download the install template file: clickhouse-operator-install-template.yaml.
-
Edit the file and set OPERATOR_NAMESPACE value.
-
Use the following commands, replacing {your file name} with the name of your YAML file:
For example:
Alternatively, instead of using the install template, enter the following into your console (bash
is used below, modify depending on your particular shell). Change the OPERATOR_NAMESPACE value to match your namespace.
Verify Installation
To verify the operator is running in your namespace, use the following command: