Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maintenance] Update README #1736

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 80 additions & 55 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -542,75 +542,100 @@ manifests-crd-kustomize: manifests-crd-file
manifests: manifests-crd-kustomize

$(eval $(call manifest-generator, deployment, kube-arangodb, \
--set "operator.features.deployment=true" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.apps=false" \
--set "operator.features.ml=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.backup=false"))
--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" \
--set "operator.features.ml=false" \
--set "operator.features.analytics=false" \
--set "operator.features.networking=true" \
--set "operator.features.scheduler=true"))

$(eval $(call manifest-generator, deployment-replication, kube-arangodb, \
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=true" \
--set "operator.features.storage=false" \
--set "operator.features.apps=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.backup=false"))
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=true" \
--set "operator.features.storage=false" \
--set "operator.features.backup=false" \
--set "operator.features.apps=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.ml=false" \
--set "operator.features.analytics=false" \
--set "operator.features.networking=false" \
--set "operator.features.scheduler=false"))

$(eval $(call manifest-generator, storage, kube-arangodb, \
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=true" \
--set "operator.features.apps=false" \
--set "operator.features.ml=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.backup=false"))
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=true" \
--set "operator.features.backup=false" \
--set "operator.features.apps=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.ml=false" \
--set "operator.features.analytics=false" \
--set "operator.features.networking=false" \
--set "operator.features.scheduler=false"))

$(eval $(call manifest-generator, backup, kube-arangodb, \
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.apps=false" \
--set "operator.features.ml=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.backup=true"))
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.backup=true" \
--set "operator.features.apps=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.ml=false" \
--set "operator.features.analytics=false" \
--set "operator.features.networking=false" \
--set "operator.features.scheduler=false"))

$(eval $(call manifest-generator, apps, kube-arangodb, \
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.apps=true" \
--set "operator.features.ml=false" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.backup=false"))
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.backup=false" \
--set "operator.features.apps=true" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.ml=false" \
--set "operator.features.analytics=false" \
--set "operator.features.networking=false" \
--set "operator.features.scheduler=false"))

$(eval $(call manifest-generator, ml, kube-arangodb, \
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.apps=false" \
--set "operator.features.ml=true" \
--set "operator.features.k8sToK8sClusterSync=false" \
--set "operator.features.backup=false"))
--set "operator.features.deployment=false" \
--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" \
--set "operator.features.ml=true" \
--set "operator.features.analytics=false" \
--set "operator.features.networking=false" \
--set "operator.features.scheduler=false"))

$(eval $(call manifest-generator, k2kclustersync, kube-arangodb, \
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.apps=false" \
--set "operator.features.ml=false" \
--set "operator.features.k8sToK8sClusterSync=true" \
--set "operator.features.backup=false"))
--set "operator.features.deployment=false" \
--set "operator.features.deploymentReplications=false" \
--set "operator.features.storage=false" \
--set "operator.features.backup=false" \
--set "operator.features.apps=false" \
--set "operator.features.k8sToK8sClusterSync=true" \
--set "operator.features.ml=false" \
--set "operator.features.analytics=false" \
--set "operator.features.networking=false" \
--set "operator.features.scheduler=false"))

$(eval $(call manifest-generator, all, kube-arangodb, \
--set "operator.features.deployment=true" \
--set "operator.features.deploymentReplications=true" \
--set "operator.features.storage=true" \
--set "operator.features.apps=true" \
--set "operator.features.ml=true" \
--set "operator.features.k8sToK8sClusterSync=true" \
--set "operator.features.backup=true"))
--set "operator.features.deployment=true" \
--set "operator.features.deploymentReplications=true" \
--set "operator.features.storage=true" \
--set "operator.features.backup=true" \
--set "operator.features.apps=true" \
--set "operator.features.k8sToK8sClusterSync=true" \
--set "operator.features.ml=true" \
--set "operator.features.analytics=true" \
--set "operator.features.networking=true" \
--set "operator.features.scheduler=true"))

.PHONY: chart-crd
chart-crd: export CHART_NAME := kube-arangodb-crd
Expand Down
39 changes: 26 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,32 @@ covers individual newer features separately.

[START_INJECT]: # (kubernetesVersionsTable)

| Platform | Kubernetes Version | ArangoDB Version | State | Remarks | Provider Remarks |
|:--------------------|:-------------------|:-----------------|:-----------|:------------------------------------------|:-----------------------------------|
| Google GKE | 1.25-1.30 | >= 3.8.0 | Production | Don't use micro nodes | |
| Azure AKS | 1.25-1.30 | >= 3.8.0 | Production | | |
| Amazon EKS | 1.25-1.30 | >= 3.8.0 | Production | | [Amazon EKS](./docs/providers/eks) |
| IBM Cloud | <= 1.20 | >= 3.8.0 | Deprecated | Support will be dropped in Operator 1.5.0 | |
| IBM Cloud | 1.25-1.30 | >= 3.8.0 | Production | | |
| OpenShift | 3.11 | >= 3.8.0 | Deprecated | Support will be dropped in Operator 1.5.0 | |
| OpenShift | 4.2-4.14 | >= 3.8.0 | Production | | |
| BareMetal (kubeadm) | <= 1.20 | >= 3.8.0 | Deprecated | Support will be dropped in Operator 1.5.0 | |
| BareMetal (kubeadm) | 1.25-1.30 | >= 3.8.0 | Production | | |
| Minikube | 1.25-1.30 | >= 3.8.0 | Devel Only | | |
| Other | 1.25-1.30 | >= 3.8.0 | Devel Only | | |
| Platform | State | Kubernetes Version | ArangoDB Version | Remarks | Provider Remarks |
|:--------------------|:-------------|:-------------------|:-----------------|:----------------------|:-----------------------------------|
| Google GKE | Production | 1.28-1.31 | >= 3.11.0 | Don't use micro nodes | |
| | EOL | 1.25-1.27 | 3.9.0-3.10.0 | Don't use micro nodes | |
| | NotSupported | < 1.25 | < 3.8.0 | Don't use micro nodes | |
| Azure AKS | Production | 1.28-1.32 | >= 3.11.0 | | |
| | EOL | 1.25-1.27 | 3.9.0-3.10.0 | | |
| | NotSupported | < 1.25 | < 3.8.0 | | |
| Amazon EKS | Production | 1.28-1.31 | >= 3.11.0 | | [Amazon EKS](./docs/providers/eks) |
| | EOL | 1.25-1.27 | 3.9.0-3.10.0 | | [Amazon EKS](./docs/providers/eks) |
| | NotSupported | < 1.25 | < 3.8.0 | | [Amazon EKS](./docs/providers/eks) |
| IBM Cloud | Production | 1.29-1.31 | >= 3.11.0 | | |
| | EOL | 1.25-1.28 | 3.9.0-3.10.0 | | |
| | NotSupported | < 1.25 | < 3.8.0 | | |
| OpenShift | Production | 4.11-4.17 | >= 3.11.0 | | |
| | EOL | 4.2-4.11 | 3.9.0-3.10.0 | | |
| | NotSupported | < 4.2 | < 3.8.0 | | |
| BareMetal (kubeadm) | Production | 1.28-1.31 | >= 3.11.0 | | |
| | EOL | 1.25-1.27 | 3.9.0-3.10.0 | | |
| | NotSupported | < 1.25 | < 3.8.0 | | |
| Minikube | Devel Only | 1.28-1.31 | >= 3.11.0 | | |
| | EOL | 1.25-1.27 | 3.9.0-3.10.0 | | |
| | NotSupported | < 1.25 | < 3.8.0 | | |
| Other | Production | 1.28-1.31 | >= 3.11.0 | | |
| | EOL | 1.25-1.27 | 3.9.0-3.10.0 | | |
| | NotSupported | < 1.25 | < 3.8.0 | | |

[END_INJECT]: # (kubernetesVersionsTable)

Expand Down
16 changes: 16 additions & 0 deletions chart/kube-arangodb-arm64/templates/crd/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,32 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
release: {{ .Release.Name }}
rules:
{{ if .Values.operator.features.analytics -}}
# analytics.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "graphanalyticsengines.analytics.arangodb.com"
{{- end }}
{{ if .Values.operator.features.apps -}}
# apps.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangojobs.apps.arangodb.com"
{{- end }}
{{ if .Values.operator.features.backup -}}
# backup.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangobackuppolicies.backup.arangodb.com"
- "arangobackups.backup.arangodb.com"
{{- end }}
{{ if .Values.operator.features.deployment -}}
# database.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
Expand All @@ -41,6 +48,8 @@ rules:
- "arangodeployments.database.arangodb.com"
- "arangomembers.database.arangodb.com"
- "arangotasks.database.arangodb.com"
{{- end }}
{{ if .Values.operator.features.ml -}}
# ml.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
Expand All @@ -50,18 +59,24 @@ rules:
- "arangomlcronjobs.ml.arangodb.com"
- "arangomlextensions.ml.arangodb.com"
- "arangomlstorages.ml.arangodb.com"
{{- end }}
{{ if .Values.operator.features.networking -}}
# networking.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangoroutes.networking.arangodb.com"
{{- end }}
{{ if .Values.operator.features.deploymentReplications -}}
# replication.database.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangodeploymentreplications.replication.database.arangodb.com"
{{- end }}
{{ if .Values.operator.features.scheduler -}}
# scheduler.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
Expand All @@ -72,6 +87,7 @@ rules:
- "arangoschedulerdeploymets.scheduler.arangodb.com"
- "arangoschedulerbatchjobs.scheduler.arangodb.com"
- "arangoschedulercronjobs.scheduler.arangodb.com"
{{- end }}

{{- end }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,32 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
release: {{ .Release.Name }}
rules:
{{ if .Values.operator.features.analytics -}}
# analytics.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "graphanalyticsengines.analytics.arangodb.com"
{{- end }}
{{ if .Values.operator.features.apps -}}
# apps.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangojobs.apps.arangodb.com"
{{- end }}
{{ if .Values.operator.features.backup -}}
# backup.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangobackuppolicies.backup.arangodb.com"
- "arangobackups.backup.arangodb.com"
{{- end }}
{{ if .Values.operator.features.deployment -}}
# database.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
Expand All @@ -41,6 +48,8 @@ rules:
- "arangodeployments.database.arangodb.com"
- "arangomembers.database.arangodb.com"
- "arangotasks.database.arangodb.com"
{{- end }}
{{ if .Values.operator.features.ml -}}
# ml.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
Expand All @@ -50,18 +59,24 @@ rules:
- "arangomlcronjobs.ml.arangodb.com"
- "arangomlextensions.ml.arangodb.com"
- "arangomlstorages.ml.arangodb.com"
{{- end }}
{{ if .Values.operator.features.networking -}}
# networking.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangoroutes.networking.arangodb.com"
{{- end }}
{{ if .Values.operator.features.deploymentReplications -}}
# replication.database.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch", "update", "delete"]
resourceNames:
- "arangodeploymentreplications.replication.database.arangodb.com"
{{- end }}
{{ if .Values.operator.features.scheduler -}}
# scheduler.arangodb.com
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
Expand All @@ -72,6 +87,7 @@ rules:
- "arangoschedulerdeploymets.scheduler.arangodb.com"
- "arangoschedulerbatchjobs.scheduler.arangodb.com"
- "arangoschedulercronjobs.scheduler.arangodb.com"
{{- end }}

{{- end }}
{{- end }}
Expand Down
Loading