Repository navigation
Conversation
Move setup-ha-cluster-k8s under clustering/high-availability/kubernetes/ as helm-chart, with a redirect, and add an overview page that compares the memgraph-high-availability chart with the operator. Document operator 1.1.0: install, quickstart, conditions, scaling, flags, license, rolling restarts and upgrades, storage, external access, TLS, monitoring, scheduling, pod settings, CSV import, AWS credentials, backup and restore, Events and limitations.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…the chart Covers memgraph/kubernetes-operator#83 (kind MemgraphDBCluster, short name mgdbc, CRD memgraphdbclusters.memgraph.com) and #80 (helm upgrade updates the CRD, crds.enabled). Drops the operator 1.1.0 references: the operator is pre-release.
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Groups Memgraph HA on Kubernetes under Clustering → High availability → Memgraph HA in K8s, with two pages under it: Memgraph HA Helm chart (the old "Set up HA cluster with K8s" page, moved) and a new Memgraph K8s operator page that documents operator 1.1.0.
clustering/high-availability/kubernetes.mdx: a new overview that compares the chart and the operator, and says how to move between them.clustering/high-availability/kubernetes/helm-chart.mdx: moved fromsetup-ha-cluster-k8s.mdx. Only the title, the description, the H1 and an intro paragraph pointing to the operator changed. There's a redirect from the old URL, and the 10 inbound links on 8 pages now point to the new URL. The anchors are unchanged.clustering/high-availability/kubernetes/operator.mdx: new. It covers install and upgrade of the operator, the quickstart, conditions and reasons, scaling, flags and coordinator settings, license renewal, rolling restarts and Memgraph upgrades, storage, external access, TLS, monitoring, scheduling, pod settings, OpenShift, CSV import, AWS credentials, backup and restore, Events, and limitations.getting-started/install-memgraph/kubernetes.mdxandclustering/high-availability.mdx: links to the new pages.Draft until the chart is published:
helm search repo memgraph/memgraph-operatorfinds nothing inmemgraph.github.io/helm-chartsyet, so the page'shelm install memgraph/memgraph-operatordoesn't work untilmemgraph/helm-chartspublishes the operator chart.Product PR
The operator is pre-release, so the page documents
mainof memgraph/kubernetes-operator, with no version notes. Covered:v1.1.0, the first tag: the feature set.docs/where the check below found them wrong, and requires Kubernetes 1.29.helm upgradenow updates the CRD, the chart keeps it on uninstall, and there's a newcrds.enabledvalue. The "Upgrade the operator" section no longer asks you to apply the CRD by hand.RegistrationFailedon Events.MemgraphClustertoMemgraphDBCluster, the short name frommgctomgdbc, and the CRD tomemgraphdbclusters.memgraph.com, on every page.secrets.nameorawsCredentialsrestarts nothing, and every AWS Secret key is optional.Checklist
featureorbugfixlabel addedHow it was checked:
ConvergedreportsCoordinatorUnreachable("No coordinator answered SHOW INSTANCES"), andLicenseAppliedreportsLicensePending("the Secret memgraph-secrets does not exist").awsCredentialsand changingsecrets.nameleave both StatefulSets at generation 1.--dry-run=server.kubectl apply --dry-run=serveragainst thememgraphdbclusters.memgraph.comCRD frommain(f6f4b7f) on Kind.kubectl get mgdbclists the cluster, and the CRD carries the short namemgdbcand the categorymemgraph. No operator image with the rename exists yet, so only the CRD was installed for this check. The checks below ran earlier against 1.1.0, under the old names.api/v1alpha1/memgraphcluster_types.go, the generated CRD andinternal/atv1.1.0, not from the operator'sdocs/.MemgraphClustermanifests on the page (the quickstart, plus each fragment merged into it) passkubectl apply --dry-run=serveragainst operator 1.1.0 on Kind (Kubernetes 1.35), with the chart installed from the repository atv1.1.0.tls.intraCluster, changinglibStorageClassName, shrinkinglibPVCSize, addingcoreDumps.data, an even coordinator count,bolt-portin flags, two spellings of one flag, a lowercaselog-level, a data hostname without{ordinal},dataPortBase7000) are rejected on a live resource. Two it says are allowed (growinglibPVCSize, addingtls.bolt) are accepted.kubectl get mgccolumns, the object names, the claim labels, the CRD upgrade command and the missing-license-Secret message come from that cluster.Choices to review:
image.tag: "3.13.2", the newest release. The operator's e2e suite runs 3.13.0, and its CRD default is3.13.0-relwithdebinfo.Left out: core dump uploader details, Vector label mapping, the per-flag run-time settings table, CoreDNS tuning for faster restarts, and the operator's own metrics endpoint. These are in the operator repo's
docs/.Couldn't confirm from the operator repo (Memgraph core or third-party behavior, taken from the operator docs or existing docs pages): that the metrics endpoint switches to HTTPS with Bolt TLS (the operator's e2e test checks it), Vector appending
/loki/api/v1/push, Gateway API 1.6 and Envoy Gateway 1.9 versions, and the roughly 30 s DNS delay per restart on managed Kubernetes.