Skip to content

Commit e2ef0e3

Browse files
Add docs with examples how to deploy ArangoMLExtension (#1552)
Co-authored-by: Adam Janikowski <[email protected]>
1 parent d7a9722 commit e2ef0e3

13 files changed

+1025
-912
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
- (Feature) (ML) GPU Jobs
4141
- (Feature) (ML) Container Envs
4242
- (Feature) Pass Arguments to ID Group
43+
- (Documentation) (ML) Minimal docs with examples how to deploy ArangoMLExtension
4344

4445
## [1.2.35](https://github.com/arangodb/kube-arangodb/tree/1.2.35) (2023-11-06)
4546
- (Maintenance) Update go-driver to v1.6.0, update IsNotFound() checks

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- [ArangoLocalStorage](storage-resource.md)
1515
- [Backup](backup-resource.md)
1616
- [BackupPolicy](backuppolicy-resource.md)
17+
- [ArangoMLExtension](mlextension-resource.md)
1718
- [Configuration and secrets](configuration-and-secrets.md)
1819
- [Configuring your driver for ArangoDB access](driver-configuration.md)
1920
- [Using Helm](helm.md)
@@ -45,6 +46,7 @@ Each of these uses involves a different custom resource.
4546
- Use an [ArangoBackup](backup-resource.md) and [ArangoBackupPolicy](backuppolicy-resource.md) resources to create ArangoDB backups.
4647
- Use an [ArangoLocalStorage resource](storage-resource.md) to provide local `PersistentVolumes` for optimal I/O performance.
4748
- Use an [ArangoDeploymentReplication resource](deployment-replication-resource-reference.md) to configure ArangoDB Datacenter-to-Datacenter Replication.
49+
- Use an [ArangoMLExtension resource](mlextension-resource.md) to configure [ArangoML](https://github.com/arangoml) for your deployment.
4850

4951
Continue with [Using the ArangoDB Kubernetes Operator](using-the-operator.md)
5052
to learn how to install the ArangoDB Kubernetes operator and create

docs/api/ArangoBackup.V1.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,39 @@
44

55
### .spec.backoff.iterations
66

7-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L31)</sup>
7+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L31)</sup>
88

99
Iterations defines number of iterations before reaching MaxDelay. Default to 5
1010

1111
***
1212

1313
### .spec.backoff.max_delay
1414

15-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L29)</sup>
15+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L29)</sup>
1616

1717
MaxDelay defines maximum delay in seconds. Default to 600
1818

1919
***
2020

2121
### .spec.backoff.max_iterations
2222

23-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L33)</sup>
23+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L33)</sup>
2424

2525
MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit)
2626

2727
***
2828

2929
### .spec.backoff.min_delay
3030

31-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec_backoff.go#L27)</sup>
31+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L27)</sup>
3232

3333
MinDelay defines minimum delay in seconds. Default to 30
3434

3535
***
3636

3737
### .spec.deployment.name
3838

39-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L54)</sup>
39+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L54)</sup>
4040

4141
Name of the ArangoDeployment Custom Resource within same namespace as ArangoBackup Custom Resource.
4242

@@ -46,7 +46,7 @@ This field is **immutable**: can't be changed after backup creation
4646

4747
### .spec.download.credentialsSecretName
4848

49-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L81)</sup>
49+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L81)</sup>
5050

5151
CredentialsSecretName is the name of the secret used while accessing repository
5252

@@ -59,7 +59,7 @@ This field is **immutable**: can't be changed after backup creation
5959

6060
### .spec.download.id
6161

62-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L89)</sup>
62+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L89)</sup>
6363

6464
ID of the ArangoBackup to be downloaded
6565

@@ -69,7 +69,7 @@ This field is **immutable**: can't be changed after backup creation
6969

7070
### .spec.download.repositoryURL
7171

72-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L77)</sup>
72+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L77)</sup>
7373

7474
RepositoryURL is the URL path for file storage
7575
Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local.
@@ -90,15 +90,15 @@ This field is **immutable**: can't be changed after backup creation
9090

9191
### .spec.lifetime
9292

93-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L47)</sup>
93+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L47)</sup>
9494

9595
Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m".
9696

9797
***
9898

9999
### .spec.options.allowInconsistent
100100

101-
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L66)</sup>
101+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L66)</sup>
102102

103103
AllowInconsistent flag for Backup creation request.
104104
If this value is set to true, backup is taken even if we are not able to acquire lock.
@@ -111,7 +111,7 @@ This field is **immutable**: can't be changed after backup creation
111111

112112
### .spec.options.timeout
113113

114-
Type: `number` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L61)</sup>
114+
Type: `number` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L61)</sup>
115115

116116
Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false.
117117

@@ -123,7 +123,7 @@ This field is **immutable**: can't be changed after backup creation
123123

124124
### .spec.policyName
125125

126-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L42)</sup>
126+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L42)</sup>
127127

128128
PolicyName name of the ArangoBackupPolicy which created this Custom Resource
129129

@@ -133,7 +133,7 @@ This field is **immutable**: can't be changed after backup creation
133133

134134
### .spec.upload.credentialsSecretName
135135

136-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L81)</sup>
136+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L81)</sup>
137137

138138
CredentialsSecretName is the name of the secret used while accessing repository
139139

@@ -146,7 +146,7 @@ This field is **immutable**: can't be changed after backup creation
146146

147147
### .spec.upload.repositoryURL
148148

149-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_spec.go#L77)</sup>
149+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L77)</sup>
150150

151151
RepositoryURL is the URL path for file storage
152152
Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local.
@@ -167,99 +167,99 @@ This field is **immutable**: can't be changed after backup creation
167167

168168
### .status.available
169169

170-
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L36)</sup>
170+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L36)</sup>
171171

172172
Available Determines if we can restore from ArangoBackup
173173

174174
***
175175

176176
### .status.backoff.iterations
177177

178-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status_backoff.go#L30)</sup>
178+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status_backoff.go#L30)</sup>
179179

180180
***
181181

182182
### .status.backup.downloaded
183183

184-
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L66)</sup>
184+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L66)</sup>
185185

186186
Downloaded Determines if ArangoBackup has been downloaded.
187187

188188
***
189189

190190
### .status.backup.id
191191

192-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L56)</sup>
192+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L56)</sup>
193193

194194
***
195195

196196
### .status.backup.imported
197197

198-
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L67)</sup>
198+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L67)</sup>
199199

200200
***
201201

202202
### .status.backup.keys
203203

204-
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L70)</sup>
204+
Type: `array` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L70)</sup>
205205

206206
***
207207

208208
### .status.backup.numberOfDBServers
209209

210-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L62)</sup>
210+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L62)</sup>
211211

212212
NumberOfDBServers Cluster size of the Backup in ArangoDB
213213

214214
***
215215

216216
### .status.backup.potentiallyInconsistent
217217

218-
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L58)</sup>
218+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L58)</sup>
219219

220220
***
221221

222222
### .status.backup.sizeInBytes
223223

224-
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L60)</sup>
224+
Type: `integer` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L60)</sup>
225225

226226
SizeInBytes Size of the Backup in ArangoDB.
227227

228228
***
229229

230230
### .status.backup.uploaded
231231

232-
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L64)</sup>
232+
Type: `boolean` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L64)</sup>
233233

234234
Uploaded Determines if ArangoBackup has been uploaded
235235

236236
***
237237

238238
### .status.backup.version
239239

240-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_status.go#L57)</sup>
240+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L57)</sup>
241241

242242
***
243243

244244
### .status.message
245245

246-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L88)</sup>
246+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L88)</sup>
247247

248248
Message for the state this object is in.
249249

250250
***
251251

252252
### .status.progress.jobID
253253

254-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L111)</sup>
254+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L111)</sup>
255255

256256
JobID ArangoDB job ID for uploading or downloading
257257

258258
***
259259

260260
### .status.progress.progress
261261

262-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L114)</sup>
262+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L114)</sup>
263263

264264
Progress ArangoDB job progress in percents
265265

@@ -272,7 +272,7 @@ Example:
272272

273273
### .status.state
274274

275-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.35/pkg/apis/backup/v1/backup_state.go#L82)</sup>
275+
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L82)</sup>
276276

277277
State holds the current high level state of the backup
278278

0 commit comments

Comments
 (0)