2023-10-23 07:19:59 +00:00
|
|
|
# API Reference for ArangoLocalStorage V1Alpha
|
|
|
|
|
|
|
|
## Spec
|
|
|
|
|
2023-10-30 18:14:33 +00:00
|
|
|
### .spec.localPath: array
|
2023-10-23 07:19:59 +00:00
|
|
|
|
|
|
|
LocalPath setting specifies one or more local directories (on the nodes) used to create persistent volumes in.
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L36)
|
|
|
|
|
2023-10-30 18:14:33 +00:00
|
|
|
### .spec.nodeSelector: object
|
2023-10-23 07:19:59 +00:00
|
|
|
|
|
|
|
NodeSelector setting specifies which nodes the operator will provision persistent volumes on.
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L43)
|
|
|
|
|
2023-10-30 18:14:33 +00:00
|
|
|
### .spec.podCustomization.priority: integer
|
2023-10-23 07:19:59 +00:00
|
|
|
|
|
|
|
Priority if defined, sets the priority for pods of storage provisioner
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_pod_customization.go#L25)
|
|
|
|
|
2023-10-30 18:14:33 +00:00
|
|
|
### .spec.privileged: boolean
|
2023-10-23 07:19:59 +00:00
|
|
|
|
|
|
|
Privileged if set, passes Privileged flag to SecurityContext for pods of storage provisioner
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L45)
|
|
|
|
|
2023-10-30 18:14:33 +00:00
|
|
|
### .spec.storageClass.isDefault: boolean
|
2023-10-23 07:19:59 +00:00
|
|
|
|
|
|
|
IsDefault setting specifies if the created `StorageClass` will
|
|
|
|
be marked as default storage class.
|
|
|
|
|
|
|
|
Default Value: false
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/storage_class_spec.go#L42)
|
|
|
|
|
|
|
|
### .spec.storageClass.name: string
|
|
|
|
|
|
|
|
Name setting specifies the name of the storage class that
|
|
|
|
created `PersistentVolume` will use.
|
|
|
|
If empty, this field defaults to the name of the `ArangoLocalStorage` object.
|
|
|
|
If a `StorageClass` with given name does not yet exist, it will be created.
|
|
|
|
|
|
|
|
Default Value: ""
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/storage_class_spec.go#L38)
|
|
|
|
|
|
|
|
### .spec.storageClass.reclaimPolicy: core.PersistentVolumeReclaimPolicy
|
|
|
|
|
|
|
|
ReclaimPolicy defines what happens to a persistent volume when released from its claim.
|
|
|
|
|
|
|
|
Links:
|
|
|
|
* [Documentation of core.PersistentVolumeReclaimPolicy](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming)
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/storage_class_spec.go#L46)
|
|
|
|
|
|
|
|
### .spec.tolerations: []core.Toleration
|
|
|
|
|
|
|
|
Tolerations specifies the tolerations added to pods of storage provisioner
|
|
|
|
|
|
|
|
Links:
|
|
|
|
* [Documentation of core.Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#toleration-v1-core)
|
|
|
|
|
|
|
|
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L41)
|
|
|
|
|