Skip to content

Commit 3dbe155

Browse files
[Documentation] Improve rendering for enums, add missing values for Backup State (#1560)
1 parent 316f208 commit 3dbe155

File tree

5 files changed

+91
-84
lines changed

5 files changed

+91
-84
lines changed

docs/api/ArangoBackup.V1.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -243,23 +243,23 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
243243

244244
### .status.message
245245

246-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/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#L91)</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.36/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#L114)</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.36/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#L117)</sup>
263263

264264
Progress ArangoDB job progress in percents
265265

@@ -272,22 +272,25 @@ Example:
272272

273273
### .status.state
274274

275-
Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/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#L85)</sup>
276276

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

279279
Possible Values:
280-
* Pending (default) - state in which Custom Resource is queued. If Backup is possible changed to "Scheduled"
281-
* Scheduled - state which will start create/download process
282-
* Download - state in which download request will be created on ArangoDB
283-
* DownloadError - state when download failed
284-
* Downloading - state for downloading progress
285-
* Create - state for creation, field available set to true
286-
* Upload - state in which upload request will be created on ArangoDB
287-
* Uploading - state for uploading progress
288-
* UploadError - state when uploading failed
289-
* Ready - state when Backup is finished
290-
* Deleted - state when Backup was once in ready, but has been deleted
291-
* Failed - state for failure
292-
* Unavailable - state when Backup is not available on the ArangoDB. It can happen in case of upgrades, node restarts etc.
280+
* `""` (default) - state for un-initialized Custom Resource
281+
* `"Pending"` - state in which Custom Resource is queued. If Backup is possible changed to "Scheduled"
282+
* `"Scheduled"` - state which will start create/download process
283+
* `"Download"` - state in which download request will be created on ArangoDB
284+
* `"DownloadError"` - state when download failed
285+
* `"Downloading"` - state for downloading progress
286+
* `"Create"` - state for backup when it is scheduled for creation, field available set to true
287+
* `"Creating"` - state for backup when it is creating
288+
* `"CreateError"` - state for backup when it is creation failed
289+
* `"Upload"` - state in which upload request will be created on ArangoDB
290+
* `"Uploading"` - state for uploading progress
291+
* `"UploadError"` - state when uploading failed
292+
* `"Ready"` - state when Backup is finished
293+
* `"Deleted"` - state when Backup was once in ready, but has been deleted
294+
* `"Failed"` - state for failure
295+
* `"Unavailable"` - state when Backup is not available on the ArangoDB. It can happen in case of upgrades, node restarts etc.
293296

docs/api/ArangoDeployment.V1.md

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
156156
IndexMethod define group Indexing method
157157

158158
Possible Values:
159-
* random (default) - Pick random ID for member. Enforced on the Community Operator.
160-
* ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
159+
* `"random"` (default) - Pick random ID for member. Enforced on the Community Operator.
160+
* `"ordered"` - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
161161

162162
***
163163

@@ -577,8 +577,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
577577
VolumeResizeMode specified resize mode for PVCs and PVs
578578

579579
Possible Values:
580-
* runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
581-
* rotate - Pod will be shutdown and PVC will be resized (AKS)
580+
* `"runtime"` (default) - PVC will be resized in Pod runtime (EKS, GKE)
581+
* `"rotate"` - Pod will be shutdown and PVC will be resized (AKS)
582582

583583
***
584584

@@ -939,9 +939,9 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
939939
AnnotationsMode defines annotations mode which should be use while overriding annotations.
940940

941941
Possible Values:
942-
* disabled (default) - Disable annotations/labels override. Default if there is no annotations/labels set in ArangoDeployment
943-
* append - Add new annotations/labels without affecting old ones
944-
* replace - Replace existing annotations/labels
942+
* `"disabled"` (default) - Disable annotations/labels override. Default if there is no annotations/labels set in ArangoDeployment
943+
* `"append"` - Add new annotations/labels without affecting old ones
944+
* `"replace"` - Replace existing annotations/labels
945945

946946
***
947947

@@ -1040,11 +1040,11 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
10401040
CommunicationMethod define communication method used in deployment
10411041

10421042
Possible Values:
1043-
* headless (default) - Define old communication mechanism, based on headless service.
1044-
* dns - Define ClusterIP Service DNS based communication.
1045-
* short-dns - Define ClusterIP Service DNS based communication. Use namespaced short DNS (used in migration)
1046-
* headless-dns - Define Headless Service DNS based communication.
1047-
* ip - Define ClusterIP Service IP based communication.
1043+
* `"headless"` (default) - Define old communication mechanism, based on headless service.
1044+
* `"dns"` - Define ClusterIP Service DNS based communication.
1045+
* `"short-dns"` - Define ClusterIP Service DNS based communication. Use namespaced short DNS (used in migration)
1046+
* `"headless-dns"` - Define Headless Service DNS based communication.
1047+
* `"ip"` - Define ClusterIP Service IP based communication.
10481048

10491049
***
10501050

@@ -1202,8 +1202,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
12021202
IndexMethod define group Indexing method
12031203

12041204
Possible Values:
1205-
* random (default) - Pick random ID for member. Enforced on the Community Operator.
1206-
* ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
1205+
* `"random"` (default) - Pick random ID for member. Enforced on the Community Operator.
1206+
* `"ordered"` - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
12071207

12081208
***
12091209

@@ -1623,8 +1623,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
16231623
VolumeResizeMode specified resize mode for PVCs and PVs
16241624

16251625
Possible Values:
1626-
* runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
1627-
* rotate - Pod will be shutdown and PVC will be resized (AKS)
1626+
* `"runtime"` (default) - PVC will be resized in Pod runtime (EKS, GKE)
1627+
* `"rotate"` - Pod will be shutdown and PVC will be resized (AKS)
16281628

16291629
***
16301630

@@ -2116,8 +2116,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
21162116
IndexMethod define group Indexing method
21172117

21182118
Possible Values:
2119-
* random (default) - Pick random ID for member. Enforced on the Community Operator.
2120-
* ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
2119+
* `"random"` (default) - Pick random ID for member. Enforced on the Community Operator.
2120+
* `"ordered"` - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
21212121

21222122
***
21232123

@@ -2537,8 +2537,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
25372537
VolumeResizeMode specified resize mode for PVCs and PVs
25382538

25392539
Possible Values:
2540-
* runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
2541-
* rotate - Pod will be shutdown and PVC will be resized (AKS)
2540+
* `"runtime"` (default) - PVC will be resized in Pod runtime (EKS, GKE)
2541+
* `"rotate"` - Pod will be shutdown and PVC will be resized (AKS)
25422542

25432543
***
25442544

@@ -2902,8 +2902,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
29022902
Environment setting specifies the type of environment in which the deployment is created.
29032903

29042904
Possible Values:
2905-
* Development (default) - This value optimizes the deployment for development use. It is possible to run a deployment on a small number of nodes (e.g. minikube).
2906-
* Production - This value optimizes the deployment for production use. It puts required affinity constraints on all pods to avoid Agents & DB-Servers from running on the same machine.
2905+
* `"Development"` (default) - This value optimizes the deployment for development use. It is possible to run a deployment on a small number of nodes (e.g. minikube).
2906+
* `"Production"` - This value optimizes the deployment for production use. It puts required affinity constraints on all pods to avoid Agents & DB-Servers from running on the same machine.
29072907

29082908
***
29092909

@@ -2964,10 +2964,10 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
29642964
Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster.
29652965

29662966
Possible Values:
2967-
* Auto (default) - Create a Service of type LoadBalancer and fallback to a Service or type NodePort when the LoadBalancer is not assigned an IP address.
2968-
* None - limit access to application running inside the Kubernetes cluster.
2969-
* LoadBalancer - Create a Service of type LoadBalancer for the ArangoDB deployment.
2970-
* NodePort - Create a Service of type NodePort for the ArangoDB deployment.
2967+
* `"Auto"` (default) - Create a Service of type LoadBalancer and fallback to a Service or type NodePort when the LoadBalancer is not assigned an IP address.
2968+
* `"None"` - limit access to application running inside the Kubernetes cluster.
2969+
* `"LoadBalancer"` - Create a Service of type LoadBalancer for the ArangoDB deployment.
2970+
* `"NodePort"` - Create a Service of type NodePort for the ArangoDB deployment.
29712971

29722972
***
29732973

@@ -3218,8 +3218,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
32183218
ImageDiscoveryMode specifies the image discovery mode.
32193219

32203220
Possible Values:
3221-
* kubelet (default) - Use sha256 of the discovered image in the pods
3222-
* direct - Use image provided in the spec.image directly in the pods
3221+
* `"kubelet"` (default) - Use sha256 of the discovered image in the pods
3222+
* `"direct"` - Use image provided in the spec.image directly in the pods
32233223

32243224
***
32253225

@@ -3233,9 +3233,9 @@ Links:
32333233
* [Documentation of core.PullPolicy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy)
32343234

32353235
Possible Values:
3236-
* Always (default) - Means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
3237-
* Never - Means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
3238-
* IfNotPresent - Means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
3236+
* `"Always"` (default) - Means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.
3237+
* `"Never"` - Means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present
3238+
* `"IfNotPresent"` - Means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.
32393239

32403240
***
32413241

@@ -3270,9 +3270,9 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
32703270
LabelsMode Define labels mode which should be use while overriding labels
32713271

32723272
Possible Values:
3273-
* disabled (default) - Disable annotations/labels override. Default if there is no annotations/labels set in ArangoDeployment
3274-
* append - Add new annotations/labels without affecting old ones
3275-
* replace - Replace existing annotations/labels
3273+
* `"disabled"` (default) - Disable annotations/labels override. Default if there is no annotations/labels set in ArangoDeployment
3274+
* `"append"` - Add new annotations/labels without affecting old ones
3275+
* `"replace"` - Replace existing annotations/labels
32763276

32773277
***
32783278

@@ -3308,8 +3308,8 @@ The propagation of the configuration changes can be deferred to the next restart
33083308
This reduces the number of restarts for upgrading both the server and the operator from two to one.
33093309

33103310
Possible Values:
3311-
* always (default) - Restart the member as soon as a configuration change is discovered
3312-
* on-restart - Wait until the next restart to change the member configuration
3311+
* `"always"` (default) - Restart the member as soon as a configuration change is discovered
3312+
* `"on-restart"` - Wait until the next restart to change the member configuration
33133313

33143314
***
33153315

@@ -3399,9 +3399,9 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
33993399
Mode specifies the type of ArangoDB deployment to create.
34003400

34013401
Possible Values:
3402-
* Cluster (default) - Full cluster. Defaults to 3 Agents, 3 DB-Servers & 3 Coordinators.
3403-
* ActiveFailover - Active-failover single pair. Defaults to 3 Agents and 2 single servers.
3404-
* Single - Single server only (note this does not provide high availability or reliability).
3402+
* `"Cluster"` (default) - Full cluster. Defaults to 3 Agents, 3 DB-Servers & 3 Coordinators.
3403+
* `"ActiveFailover"` - Active-failover single pair. Defaults to 3 Agents and 2 single servers.
3404+
* `"Single"` - Single server only (note this does not provide high availability or reliability).
34053405

34063406
This field is **immutable**: Change of the ArangoDeployment Mode is not possible after creation.
34073407

@@ -3644,8 +3644,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
36443644
IndexMethod define group Indexing method
36453645

36463646
Possible Values:
3647-
* random (default) - Pick random ID for member. Enforced on the Community Operator.
3648-
* ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
3647+
* `"random"` (default) - Pick random ID for member. Enforced on the Community Operator.
3648+
* `"ordered"` - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
36493649

36503650
***
36513651

@@ -4065,8 +4065,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
40654065
VolumeResizeMode specified resize mode for PVCs and PVs
40664066

40674067
Possible Values:
4068-
* runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
4069-
* rotate - Pod will be shutdown and PVC will be resized (AKS)
4068+
* `"runtime"` (default) - PVC will be resized in Pod runtime (EKS, GKE)
4069+
* `"rotate"` - Pod will be shutdown and PVC will be resized (AKS)
40704070

40714071
***
40724072

@@ -4403,8 +4403,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
44034403
StorageEngine specifies the type of storage engine used for all servers in the cluster.
44044404

44054405
Possible Values:
4406-
* RocksDB (default) - To use the RocksDB storage engine.
4407-
* MMFiles - To use the MMFiles storage engine. Deprecated.
4406+
* `"RocksDB"` (default) - To use the RocksDB storage engine.
4407+
* `"MMFiles"` - To use the MMFiles storage engine. Deprecated.
44084408

44094409
This field is **immutable**: This setting cannot be changed after the cluster has been created.
44104410

@@ -4529,10 +4529,10 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
45294529
Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster.
45304530

45314531
Possible Values:
4532-
* Auto (default) - Create a Service of type LoadBalancer and fallback to a Service or type NodePort when the LoadBalancer is not assigned an IP address.
4533-
* None - limit access to application running inside the Kubernetes cluster.
4534-
* LoadBalancer - Create a Service of type LoadBalancer for the ArangoDB deployment.
4535-
* NodePort - Create a Service of type NodePort for the ArangoDB deployment.
4532+
* `"Auto"` (default) - Create a Service of type LoadBalancer and fallback to a Service or type NodePort when the LoadBalancer is not assigned an IP address.
4533+
* `"None"` - limit access to application running inside the Kubernetes cluster.
4534+
* `"LoadBalancer"` - Create a Service of type LoadBalancer for the ArangoDB deployment.
4535+
* `"NodePort"` - Create a Service of type NodePort for the ArangoDB deployment.
45364536

45374537
***
45384538

@@ -4759,8 +4759,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
47594759
IndexMethod define group Indexing method
47604760

47614761
Possible Values:
4762-
* random (default) - Pick random ID for member. Enforced on the Community Operator.
4763-
* ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
4762+
* `"random"` (default) - Pick random ID for member. Enforced on the Community Operator.
4763+
* `"ordered"` - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
47644764

47654765
***
47664766

@@ -5180,8 +5180,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
51805180
VolumeResizeMode specified resize mode for PVCs and PVs
51815181

51825182
Possible Values:
5183-
* runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
5184-
* rotate - Pod will be shutdown and PVC will be resized (AKS)
5183+
* `"runtime"` (default) - PVC will be resized in Pod runtime (EKS, GKE)
5184+
* `"rotate"` - Pod will be shutdown and PVC will be resized (AKS)
51855185

51865186
***
51875187

@@ -5665,8 +5665,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
56655665
IndexMethod define group Indexing method
56665666

56675667
Possible Values:
5668-
* random (default) - Pick random ID for member. Enforced on the Community Operator.
5669-
* ordered - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
5668+
* `"random"` (default) - Pick random ID for member. Enforced on the Community Operator.
5669+
* `"ordered"` - Use sequential number as Member ID, starting from 0. Enterprise Operator required.
56705670

56715671
***
56725672

@@ -6086,8 +6086,8 @@ Type: `string` <sup>[\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2
60866086
VolumeResizeMode specified resize mode for PVCs and PVs
60876087

60886088
Possible Values:
6089-
* runtime (default) - PVC will be resized in Pod runtime (EKS, GKE)
6090-
* rotate - Pod will be shutdown and PVC will be resized (AKS)
6089+
* `"runtime"` (default) - PVC will be resized in Pod runtime (EKS, GKE)
6090+
* `"rotate"` - Pod will be shutdown and PVC will be resized (AKS)
60916091

60926092
***
60936093

docs/api/ArangoMLExtension.V1Alpha1.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ Links:
273273
* [Kubernetes Documentation](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types)
274274

275275
Possible Values:
276-
* ClusterIP (default) - service will only be accessible inside the cluster, via the cluster IP
277-
* NodePort - service will be exposed on one port of every node, in addition to 'ClusterIP' type
278-
* LoadBalancer - service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type
279-
* ExternalName - service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved
276+
* `"ClusterIP"` (default) - service will only be accessible inside the cluster, via the cluster IP
277+
* `"NodePort"` - service will be exposed on one port of every node, in addition to 'ClusterIP' type
278+
* `"LoadBalancer"` - service will be exposed via an external load balancer (if the cloud provider supports it), in addition to 'NodePort' type
279+
* `"ExternalName"` - service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved
280280

281281
***
282282

0 commit comments

Comments
 (0)