AllegroGraph version 7.0.4 Docker image, Kubernetes and Helm features extended #2
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.
Development/Release Notes
Author: Robert Wydler; LinkedIn: Profile
Below, an excerpt of the attached "README.md" file (the original can be found under README-original.md):
Introduction
Based on
This is an extension of the product "AllegroGraph for Multi-Master Replication" and is based on https://github.com/franzinc/agraph-examples.
Goals
Creating a docker image like Docker and AllegroGraph 7.0.4 but for Multi-Master Replication in AllegroGraph 7.0.4 based on Welcome to AllegroGraph examples.
Run standardized Multi-master Replication in AllegroGraph 7.0.4 using Google Kubernetes Engine, GKE.
Make it available for semantic AI research studies with help of Google's Free Tier and AllegroGraph's Free Editon and to learn more about both products.
Setup a Kubernetes namespace
agraph-ns, KubernetesUpdate-Strategyand theHorizontal Pod AutoScaler, HPAe.g. usingGoogle's Cluster Autoscaler.Affected Parts
Therefore, only the clustering parts of docker (folders:
clustering/kubernetes/mmr/agmmr/*), kubernetes and helm (folders:clustering/kubernetes/mmr/helm/*) has been changed.Important Constraints !!!
Currently ...
StateFullcopy read onlypodstoDeploymentcopy read onlypods) and Kubernetes'Horizontal Pod Autoscalerhad been defined added (hpa.yaml).Known Issue
After deployment, sometimes it may happen, that the repositories are not reachable by the
agraph-mmr-copy-loadbalancer. That's because theagraph-mmr-controllingstateful set has to run before theagraph-mmr-copydeployment. I haven't figured out yet, how to arrange a sequential start in Helm.You can circumvent the issue by deleting the
agraph-mmr-copypods in the Google Cloud Console or you can perform a graceful pod deletion with the following command:kubectl delete pods <pod>The
agraph-mmr-copypods will be recreated automatically by the deploment.ToDo's for a Reliable Release
agraph-mmr-controllingbefore theagraph-mmr-copydeployment.For a reliable release of the Docker Image 7.0.4 together with Kubernetes and Helm, it's important to validate and test ...
copy-ssl.yamlpods after the change fromStatefulSetto KubernetesDeploymentpods.hpa.yaml) and of the Kubernetes cluster (e.g. GKE) in an operational environment with high query loads.Overview of Changes
... you can find more about in the attached README.md file.