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

Add K8 operator #38

Closed
wants to merge 102 commits into from
Closed

Add K8 operator #38

wants to merge 102 commits into from

Conversation

as51340
Copy link
Collaborator

@as51340 as51340 commented Jul 10, 2024

Depends on memgraph/kubernetes-operator#1

helm install kubernetes-operator charts/kubernetes-operator
kubectl apply -f config/samples/memgraph_v1_memgraphha.yaml

antejavor and others added 25 commits April 25, 2024 12:00
Add pre-commit hook to the repository.
* fix(storage): use volumeClaimTemplates instead of static PVCs - fixes #11

* feat(storage): enable specifying non-default storage class

* delete the extra volume claims.

* update README.md and bump up the version.

---------

Co-authored-by: Ante Javor <[email protected]>
Add Memgraph-lab helm chart.
In this PR we are introducing the first version of Memgraph in HA config. Memgraph HA cluster includes 3 coordinators, 2 data instances by default. The cluster setup is performed via the cluster-setup job.
---------

Co-authored-by: Andi Skrgat <[email protected]>
* Grammar updates.
The URL `/` is really slow to be used for the liveness/readiness of the Lab because it loads the front end and returns the full code along with the HTML application code.

Url `/check` is the one that should be used instead because it is simple, fast, and does no processing at all.
Fix: Add correct url for liveness/readiness of Lab
Injected a license to a test for HA.

Separated the actions for testing since HA will require a special setup.
Introduce init containers that should fix an issue with volume ownership. This enables Memgraph not being run as a root in k8s.
"{{ .Release.Name }}-memgraph-test" does not generate a unique name, which is required when a helm chart includes multiple instances of the memgraph chart.
Added features: 

NodeAffinity
ImagePullSecrets
Version bump to 2.17
Added User, Password ENV
Added Enterprise License and Organization ENV
Probes (Liveliness, readiness, and startup)

---------

Co-authored-by: Ante Javor <[email protected]>
* Add docker-compose example for running HA via compose sample.
* Add coordinator hostname solution
---------

Co-authored-by: Ante Javor <[email protected]>
@as51340 as51340 marked this pull request as ready for review July 11, 2024 06:48
@as51340 as51340 closed this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants