-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
744 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# do not switch to V2 yet - we still need to support Helm 2 | ||
apiVersion: v1 | ||
name: arangodb-bootstrap | ||
version: 1.2.36 | ||
description: "ArangoDB Kubernetes Bootstrap Job" |
2 changes: 1 addition & 1 deletion
2
chart/arangodb-ingress-proxy/LICENSE → chart/arangodb-bootstrap/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
# Introduction | ||
|
||
Kubernetes ArangoDB Bootstrap Helper. | ||
|
||
# Chart Details | ||
|
||
Chart will bootstrap ArangoDeployment with predefined Users, Databases, Collections and Permissions. | ||
|
||
# Prerequisites | ||
|
||
ArangoDeployment as the destination. Bootstrap will ensure that ArangoDeployment is Ready before starting deployment | ||
|
||
# Installing the Chart | ||
|
||
Chart can be installed in two methods: | ||
- With all Operators in single Helm Release | ||
- One Helm Release per Operator | ||
|
||
Possible Operators: | ||
- `ArangoDeployment` - enabled by default | ||
- `ArangoDeploymentReplications` - enabled by default | ||
- `ArangoLocalStorage` - disabled by default | ||
- `ArangoBackup` - disabled by default | ||
- `ArangoJob` - disabled by default | ||
- `ArangoClusterSynchronization` - disabled by default | ||
|
||
To install Operators in mode "One per Helm Release" we can use: | ||
|
||
``` | ||
helm install --name arango-deployment kube-arangodb.tar.gz \ | ||
--set operator.features.deployment=true \ | ||
--set operator.features.deploymentReplications=false \ | ||
--set operator.features.storage=false \ | ||
--set operator.features.backup=false \ | ||
--set operator.features.apps=false \ | ||
--set operator.features.k8sToK8sClusterSync=false | ||
``` | ||
|
||
|
||
# Configuration | ||
|
||
### `operator.image` | ||
|
||
Image used for the ArangoDB Operator. | ||
|
||
Default: `arangodb/kube-arangodb:latest` | ||
|
||
### `operator.imagePullPolicy` | ||
|
||
Image pull policy for Operator images. | ||
|
||
Default: `IfNotPresent` | ||
|
||
### `operator.imagePullSecrets` | ||
|
||
List of the Image Pull Secrets for Operator images. | ||
|
||
Default: `[]string` | ||
|
||
### `operator.scope` | ||
|
||
Scope on which Operator will be configured. | ||
|
||
Default: `legacy` | ||
|
||
Supported modes: | ||
- `legacy` - mode with limited cluster scope access | ||
- `namespaced` - mode with namespace access only | ||
|
||
### `operator.service.type` | ||
|
||
Type of the Operator service. | ||
|
||
Default: `ClusterIP` | ||
|
||
### `operator.annotations` | ||
|
||
Annotations passed to the Operator Deployment definition. | ||
|
||
Default: `[]string` | ||
|
||
### `operator.resources.limits.cpu` | ||
|
||
CPU limits for operator pods. | ||
|
||
Default: `1` | ||
|
||
### `operator.resources.limits.memory` | ||
|
||
Memory limits for operator pods. | ||
|
||
Default: `256Mi` | ||
|
||
### `operator.resources.requested.cpu` | ||
|
||
Requested CPI by Operator pods. | ||
|
||
Default: `250m` | ||
|
||
### `operator.resources.requested.memory` | ||
|
||
Requested memory for operator pods. | ||
|
||
Default: `256Mi` | ||
|
||
### `operator.nodeSelector` | ||
|
||
NodeSelector for Deployment pods. | ||
|
||
Default: `{}` | ||
|
||
### `operator.tolerations` | ||
|
||
Tolerations for Deployment pods. | ||
|
||
There is built in configuration (can not be changed): | ||
```yaml | ||
tolerations: | ||
- key: "node.kubernetes.io/unreachable" | ||
operator: "Exists" | ||
effect: "NoExecute" | ||
tolerationSeconds: 5 | ||
- key: "node.kubernetes.io/not-ready" | ||
operator: "Exists" | ||
effect: "NoExecute" | ||
tolerationSeconds: 5 | ||
``` | ||
which can be extended by additional entries e.g.: | ||
```yaml | ||
tolerations: | ||
- key: devops | ||
operator: Exists | ||
effect: NoSchedule | ||
``` | ||
Default (empty): `[]` | ||
|
||
### `operator.securityContext.runAsUser` | ||
|
||
Controls which user ID the containers are run with. | ||
|
||
Default: `1000` | ||
|
||
### `operator.replicaCount` | ||
|
||
Replication count for Operator deployment. | ||
|
||
Default: `2` | ||
|
||
### `operator.updateStrategy` | ||
|
||
Update strategy for operator pod. | ||
|
||
Default: `Recreate` | ||
|
||
### `operator.features.deployment` | ||
|
||
Define if ArangoDeployment Operator should be enabled. | ||
|
||
Default: `true` | ||
|
||
### `operator.features.deploymentReplications` | ||
|
||
Define if ArangoDeploymentReplications Operator should be enabled. | ||
|
||
Default: `true` | ||
|
||
### `operator.features.storage` | ||
|
||
Define if ArangoLocalStorage Operator should be enabled. | ||
|
||
Default: `false` | ||
|
||
### `operator.features.backup` | ||
|
||
Define if ArangoBackup Operator should be enabled. | ||
|
||
Default: `false` | ||
|
||
### `operator.features.apps` | ||
|
||
Define if ArangoJob Operator should be enabled. | ||
|
||
Default: `false` | ||
|
||
### `operator.features.k8sToK8sClusterSync` | ||
|
||
Define if ArangoClusterSynchronization Operator should be enabled. | ||
|
||
Default: `false` | ||
|
||
### `rbac.enabled` | ||
|
||
Define if RBAC should be enabled. | ||
|
||
Default: `true` | ||
|
||
### `operator.architectures` | ||
|
||
List of supported architectures. | ||
|
||
Default: `[]string{"amd64"}` | ||
|
||
# Limitations | ||
|
||
N/A |
Oops, something went wrong.