Skip to content

Commit 7a4a6bf

Browse files
committed
[Maintenance] Update Features Description, Supported K8S Versions and K8S Dependency to 1.28.5
1 parent 1e87498 commit 7a4a6bf

File tree

195 files changed

+3920
-703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+3920
-703
lines changed

.circleci/continue_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
echo "This is not a pull request. Skipping..."
8383
exit 0
8484
fi
85-
make verify-generated synchronize-v2alpha1-with-v1 generate-internal fmt yamlfmt
85+
make update-generated synchronize-v2alpha1-with-v1 generate-internal fmt yamlfmt
8686
if [ ! -z "$(git status --porcelain)" ]; then
8787
echo "There are uncommited changes!"
8888
git status

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
44
- (Documentation) Improve documentation rendering for GitHub Pages
55
- (Maintenance) Reduce binary size
6+
- (Maintenance) Update Features Description, Supported K8S Versions and K8S Dependency to 1.28.5
67

78
## [1.2.36](https://github.com/arangodb/kube-arangodb/tree/1.2.36) (2024-01-08)
89
- (Documentation) Improvements and fixes for rendered documentation (GH pages)

Makefile

+4-8
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ifeq ($(shell uname),Darwin)
99
REALPATH ?= grealpath
1010
endif
1111

12-
KUBERNETES_VERSION_MINOR:=25
13-
KUBERNETES_VERSION_PATCH:=13
12+
KUBERNETES_VERSION_MINOR:=28
13+
KUBERNETES_VERSION_PATCH:=5
1414

1515
PROJECT := arangodb_operator
1616
SCRIPTDIR := $(shell pwd)
@@ -261,7 +261,7 @@ PROTOSOURCES := $(shell find ./ -type f -name '*.proto' $(foreach EXCLUDE_DIR,$
261261

262262
.DEFAULT_GOAL := all
263263
.PHONY: all
264-
all: check-vars verify-generated build
264+
all: check-vars build
265265

266266
.PHONY: compile
267267
compile: check-vars build
@@ -394,7 +394,7 @@ update-generated:
394394
@ln -s -f $(SCRIPTDIR) $(ORGDIR)/kube-arangodb
395395
@$(SED) -e 's/^/\/\/ /' -e 's/ *$$//' $(ROOTDIR)/tools/codegen/license-header.txt > $(ROOTDIR)/tools/codegen/boilerplate.go.txt
396396
GOPATH=$(GOBUILDDIR) $(VENDORDIR)/k8s.io/code-generator/generate-groups.sh \
397-
"all" \
397+
"client lister informer deepcopy" \
398398
"github.com/arangodb/kube-arangodb/pkg/generated" \
399399
"github.com/arangodb/kube-arangodb/pkg/apis" \
400400
"deployment:v1 replication:v1 storage:v1alpha backup:v1 deployment:v2alpha1 replication:v2alpha1 apps:v1 ml:v1alpha1" \
@@ -408,10 +408,6 @@ update-generated:
408408
--go-header-file "./tools/codegen/boilerplate.go.txt" \
409409
$(VERIFYARGS)
410410

411-
.PHONY: verify-generated
412-
verify-generated:
413-
@${MAKE} -B -s VERIFYARGS=--verify-only update-generated
414-
415411
dashboard/assets.go:
416412
cd $(DASHBOARDDIR) && docker build -t $(DASHBOARDBUILDIMAGE) -f Dockerfile.build $(DASHBOARDDIR)
417413
@mkdir -p $(DASHBOARDDIR)/build

README.md

+79-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Each of these uses involves a different custom resource:
1919
Continue with [Using the ArangoDB Kubernetes Operator](docs/using-the-operator.md)
2020
to learn how to install the ArangoDB Kubernetes operator and create your first deployment.
2121

22-
2322
## State
2423

2524
The ArangoDB Kubernetes Operator is Production ready.
@@ -121,6 +120,85 @@ To upgrade to the Enterprise Edition, you need to get in touch with the ArangoDB
121120

122121
[END_INJECT]: # (featuresEnterpriseTable)
123122

123+
## Flags
124+
125+
```
126+
Flags:
127+
--action.PVCResize.concurrency int Define limit of concurrent PVC Resizes on the cluster (default 32)
128+
--agency.refresh-delay duration The Agency refresh delay (0 = no delay) (default 500ms)
129+
--agency.refresh-interval duration The Agency refresh interval (0 = do not refresh)
130+
--agency.retries int The Agency retries (0 = no retries) (default 1)
131+
--api.enabled Enable operator HTTP and gRPC API (default true)
132+
--api.grpc-port int gRPC API port to listen on (default 8728)
133+
--api.http-port int HTTP API port to listen on (default 8628)
134+
--api.jwt-key-secret-name string Name of secret containing key used to sign JWT. If there is no such secret present, value will be saved here (default "arangodb-operator-api-jwt-key")
135+
--api.jwt-secret-name string Name of secret which will contain JWT to authenticate API requests. (default "arangodb-operator-api-jwt")
136+
--api.tls-secret-name string Name of secret containing tls.crt & tls.key for HTTPS API (if empty, self-signed certificate is used)
137+
--backup-concurrent-uploads int Number of concurrent uploads per deployment (default 4)
138+
--chaos.allowed Set to allow chaos in deployments. Only activated when allowed and enabled in deployment
139+
--crd.install Install missing CRD if access is possible (default true)
140+
--crd.validation-schema stringArray Overrides default set of CRDs which should have validation schema enabled <crd-name>=<true/false>.
141+
--deployment.feature.agency-poll Enable Agency Poll for Enterprise deployments - Required ArangoDB 3.8.0 or higher (default true)
142+
--deployment.feature.all Enable ALL Features
143+
--deployment.feature.async-backup-creation Create backups asynchronously to avoid blocking the operator and reaching the timeout - Required ArangoDB 3.8.0 or higher
144+
--deployment.feature.deployment-spec-defaults-restore Restore defaults from last accepted state of deployment - Required ArangoDB 3.8.0 or higher (default true)
145+
--deployment.feature.enforced-resign-leadership Enforce ResignLeadership and ensure that Leaders are moved from restarted DBServer - Required ArangoDB 3.8.0 or higher (default true)
146+
--deployment.feature.ephemeral-volumes Enables ephemeral volumes for apps and tmp directory - Required ArangoDB 3.8.0 or higher
147+
--deployment.feature.failover-leadership Support for leadership in fail-over mode - Required ArangoDB 3.8.0 or higher
148+
--deployment.feature.init-containers-copy-resources Copy resources spec to built-in init containers if they are not specified - Required ArangoDB 3.8.0 or higher (default true)
149+
--deployment.feature.init-containers-upscale-resources Copy resources spec to built-in init containers if they are not specified or lower - Required ArangoDB 3.8.0 or higher (default true)
150+
--deployment.feature.local-storage.pass-reclaim-policy [LocalStorage] Pass ReclaimPolicy from StorageClass instead of using hardcoded Retain - Required ArangoDB 3.8.0 or higher
151+
--deployment.feature.local-volume-replacement-check Replace volume for local-storage if volume is unschedulable (ex. node is gone) - Required ArangoDB 3.8.0 or higher
152+
--deployment.feature.random-pod-names Enables generating random pod names - Required ArangoDB 3.8.0 or higher
153+
--deployment.feature.rebalancer-v2 Rebalancer V2 feature - Required ArangoDB 3.10.0 or higher
154+
--deployment.feature.restart-policy-always Allow to restart containers with always restart policy - Required ArangoDB 3.8.0 or higher
155+
--deployment.feature.secured-containers Create server's containers with non root privileges. It enables 'ephemeral-volumes' feature implicitly - Required ArangoDB 3.8.0 or higher
156+
--deployment.feature.sensitive-information-protection Hide sensitive information from metrics and logs - Required ArangoDB 3.8.0 or higher
157+
--deployment.feature.short-pod-names Enable Short Pod Names - Required ArangoDB 3.8.0 or higher
158+
--deployment.feature.timezone-management Enable timezone management for pods - Required ArangoDB 3.8.0 or higher
159+
--deployment.feature.tls-sni TLS SNI Support - Required ArangoDB EE 3.8.0 or higher (default true)
160+
--deployment.feature.upgrade-version-check Enable initContainer with pre version check - Required ArangoDB 3.8.0 or higher (default true)
161+
--deployment.feature.upgrade-version-check-v2 Enable initContainer with pre version check based by Operator - Required ArangoDB 3.8.0 or higher
162+
--features-config-map-name string Name of the Feature Map ConfigMap (default "arangodb-operator-feature-config-map")
163+
-h, --help help for arangodb_operator
164+
--internal.scaling-integration Enable Scaling Integration
165+
--kubernetes.burst int Burst for the k8s API (default 30)
166+
--kubernetes.max-batch-size int Size of batch during objects read (default 256)
167+
--kubernetes.qps float32 Number of queries per second for k8s API (default 15)
168+
--log.format string Set log format. Allowed values: 'pretty', 'JSON'. If empty, default format is used (default "pretty")
169+
--log.level stringArray Set log levels in format <level> or <logger>=<level>. Possible loggers: action, agency, api-server, assertion, backup-operator, chaos-monkey, crd, deployment, deployment-ci, deployment-reconcile, deployment-replication, deployment-resilience, deployment-resources, deployment-storage, deployment-storage-pc, deployment-storage-service, http, inspector, k8s-client, ml-batchjob-operator, ml-cronjob-operator, ml-extension-operator, ml-extension-shutdown, ml-storage-operator, monitor, operator, operator-arangojob-handler, operator-v2, operator-v2-event, operator-v2-worker, panics, pod_compare, root, root-event-recorder, server, server-authentication (default [debug])
170+
--memory-limit uint Define memory limit for hard shutdown and the dump of goroutines. Used for testing
171+
--metrics.excluded-prefixes stringArray List of the excluded metrics prefixes
172+
--mode.single Enable single mode in Operator. WARNING: There should be only one replica of Operator, otherwise Operator can take unexpected actions
173+
--operator.apps Enable to run the ArangoApps operator
174+
--operator.backup Enable to run the ArangoBackup operator
175+
--operator.deployment Enable to run the ArangoDeployment operator
176+
--operator.deployment-replication Enable to run the ArangoDeploymentReplication operator
177+
--operator.ml Enable to run the ArangoML operator
178+
--operator.reconciliation.retry.count int Count of retries during Object Update operations in the Reconciliation loop (default 25)
179+
--operator.reconciliation.retry.delay duration Delay between Object Update operations in the Reconciliation loop (default 1s)
180+
--operator.storage Enable to run the ArangoLocalStorage operator
181+
--operator.version Enable only version endpoint in Operator
182+
--reconciliation.delay duration Delay between reconciliation loops (<= 0 -> Disabled)
183+
--scope string Define scope on which Operator works. Legacy - pre 1.1.0 scope with limited cluster access (default "legacy")
184+
--server.admin-secret-name string Name of secret containing username + password for login to the dashboard (default "arangodb-operator-dashboard")
185+
--server.allow-anonymous-access Allow anonymous access to the dashboard
186+
--server.host string Host to listen on (default "0.0.0.0")
187+
--server.port int Port to listen on (default 8528)
188+
--server.tls-secret-name string Name of secret containing tls.crt & tls.key for HTTPS server (if empty, self-signed certificate is used)
189+
--shutdown.delay duration The delay before running shutdown handlers (default 2s)
190+
--shutdown.timeout duration Timeout for shutdown handlers (default 30s)
191+
--timeout.agency duration The Agency read timeout (default 10s)
192+
--timeout.arangod duration The request timeout to the ArangoDB (default 5s)
193+
--timeout.arangod-check duration The version check request timeout to the ArangoDB (default 2s)
194+
--timeout.backup-arangod duration The request timeout to the ArangoDB during backup calls (default 30s)
195+
--timeout.backup-upload duration The request timeout to the ArangoDB during uploading files (default 5m0s)
196+
--timeout.k8s duration The request timeout to the kubernetes (default 2s)
197+
--timeout.reconciliation duration The reconciliation timeout to the ArangoDB CR (default 1m0s)
198+
--timeout.shard-rebuild duration Timeout after which particular out-synced shard is considered as failed and rebuild is triggered (default 1h0m0s)
199+
--timeout.shard-rebuild-retry duration Timeout after which rebuild shards retry flow is triggered (default 4h0m0s)
200+
```
201+
124202
## Installation and Usage
125203

126204
Docker images:

0 commit comments

Comments
 (0)