@@ -115,7 +115,19 @@ manage this deployment yourself.
115
115
It includes helm charts, manifests, and blobs of the container image layers.
116
116
You also receive a package configuration file from the ArangoDB team.
117
117
118
- 2 . Install the certificate manager. You can check < https://github.com/cert-manager/cert-manager >
118
+ 2 . Create a Kubernetes namespace for ArangoDB and a secret with your
119
+ Enterprise Edition license key. Substitute ` <license-string> ` with the actual
120
+ license string:
121
+
122
+ ``` sh
123
+ kubectl create namespace arangodb
124
+
125
+ kubectl create secret generic arango-license-key \
126
+ --namespace arangodb \
127
+ --from-literal=token-v2=" <license-string>"
128
+ ```
129
+
130
+ 3 . Install the certificate manager. You can check < https://github.com/cert-manager/cert-manager >
119
131
for the available releases.
120
132
121
133
``` sh
@@ -130,41 +142,55 @@ manage this deployment yourself.
130
142
--set crds.enabled=true
131
143
```
132
144
133
- 3 . Install the ArangoDB operator for Kubernetes ` kube-arangodb ` with helm,
145
+ 4 . Install the ArangoDB operator for Kubernetes ` kube-arangodb ` with helm,
134
146
with options to enable webhooks, certificates, and the gateway feature.
135
147
136
148
``` sh
137
- VERSION_OPERATOR=' 1.2.50 ' # Use a newer version if available
149
+ VERSION_OPERATOR=' 1.3.0 ' # Use a newer version if available
138
150
139
151
helm upgrade --install operator \
140
- --namespace arangodb --create-namespace \
141
- " https://github.com/arangodb/kube-arangodb/releases/download/${VERSION_OPERATOR} /kube-arangodb-${VERSION_OPERATOR} .tgz" \
152
+ --namespace arangodb \
153
+ " https://github.com/arangodb/kube-arangodb/releases/download/${VERSION_OPERATOR} /kube-arangodb-enterprise- ${VERSION_OPERATOR} .tgz" \
142
154
--set " webhooks.enabled=true" \
143
155
--set " certificate.enabled=true" \
144
156
--set " operator.args[0]=--deployment.feature.gateway=true" \
157
+ --set " operator.features.platform=true" \
158
+ --set " operator.features.ml=true" \
145
159
--set " operator.architectures={amd64}" # or {arm64} for ARM-based CPUs
146
160
```
147
161
148
- 4 . Create an ` ArangoDeployment ` specification for the ArangoDB Core. See the
162
+ 5 . Create an ` ArangoDeployment ` specification for the ArangoDB Core. See the
149
163
[ ArangoDeployment Custom Resource Overview] ( https://arangodb.github.io/kube-arangodb/docs/deployment-resource-reference.html )
150
164
and the linked reference.
151
165
152
166
You need to enable the gateway feature by setting ` spec.gateway.enabled ` and
153
- ` spec.gateway.dynamic ` to ` true ` in the specification:
167
+ ` spec.gateway.dynamic ` to ` true ` in the specification. You also need to set
168
+ ` spec.license ` to the secret created earlier. Example for an ArangoDB cluster
169
+ deployment using version 3.12.5 with three DB-Servers and two Coordinators:
154
170
155
171
``` yaml
156
172
apiVersion : " database.arangodb.com/v1"
157
173
kind : " ArangoDeployment"
158
174
metadata :
159
175
name : " platform-example"
160
176
spec :
177
+ mode : Cluster
178
+ image : " arangodb/enterprise:3.12.5"
161
179
gateway :
162
180
enabled : true
163
181
dynamic : true
182
+ gateways :
183
+ count : 1
184
+ dbservers :
185
+ count : 3
186
+ coordinators :
187
+ count : 2
188
+ license :
189
+ secretName : arango-license-key
164
190
# ...
165
191
```
166
192
167
- 5 . Download the ArangoDB Platform CLI tool `arangodb_operator_platform` from
193
+ 6 . Download the ArangoDB Platform CLI tool `arangodb_operator_platform` from
168
194
<https://github.com/arangodb/kube-arangodb/releases>.
169
195
It is available for Linux and macOS, for the x86-64 as well as 64-bit ARM
170
196
architecture (e.g. `arangodb_operator_platform_linux_amd64`).
@@ -176,7 +202,7 @@ manage this deployment yourself.
176
202
The Platform CLI tool simplifies the further setup and later management of
177
203
the Platform's Kubernetes services.
178
204
179
- 6 . Import the zip package of the ArangoDB Platform into the container registry.
205
+ 7 . Import the zip package of the ArangoDB Platform into the container registry.
180
206
Replace `platform.zip` with the file path of the offline installation package.
181
207
Replace `gcr.io/my-reg` with the address of your registry.
182
208
@@ -188,7 +214,7 @@ manage this deployment yourself.
188
214
platform.imported.yaml
189
215
` ` `
190
216
191
- 7 . Install the package using the package configuration you received from the
217
+ 8 . Install the package using the package configuration you received from the
192
218
ArangoDB team (`platform.yaml`) and the configuration generated by the
193
219
previous command (`platform.imported.yaml`). These configurations are merged,
194
220
allowing for targeted upgrades and user-defined overrides.
0 commit comments