Skip to content

Commit

Permalink
Updated affinity default to true.
Browse files Browse the repository at this point in the history
  • Loading branch information
antejavor committed Aug 13, 2024
1 parent c1e764f commit 9c060ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint-test-high-availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
run: |
helm install mem-ha-test ./charts/memgraph-high-availability \
--set memgraph.env.MEMGRAPH_ENTERPRISE_LICENSE=$MEMGRAPH_ENTERPRISE_LICENSE \
--set memgraph.env.MEMGRAPH_ORGANIZATION_NAME=$MEMGRAPH_ORGANIZATION_NAME
--set memgraph.env.MEMGRAPH_ORGANIZATION_NAME=$MEMGRAPH_ORGANIZATION_NAME \
--set memgraph.affinity.enabled=false
- name: Wait for Memgraph setup to complete
if: steps.list-changed.outputs.changed == 'true'
Expand Down
2 changes: 1 addition & 1 deletion charts/memgraph-high-availability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The following table lists the configurable parameters of the Memgraph chart and
| `memgraph.coordinators.volumeClaim.storagePVCSize` | Size of the storage PVC for coordinators | `1Gi` |
| `memgraph.coordinators.volumeClaim.logPVC` | Enable log PVC for coordinators | `false` |
| `memgraph.coordinators.volumeClaim.logPVCSize` | Size of the log PVC for coordinators | `256Mi` |
| `memgraph.affinity.enabled` | Enables affinity so each instance is deployed to unique node | `false` |
| `memgraph.affinity.enabled` | Enables affinity so each instance is deployed to unique node | `true` |
| `data` | Configuration for data instances | See `data` section |
| `coordinators` | Configuration for coordinator instances | See `coordinators` section |

Expand Down
2 changes: 1 addition & 1 deletion charts/memgraph-high-availability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ memgraph:
logPVC: true
logPVCSize: "256Mi"
affinity:
enabled: false
enabled: true


data:
Expand Down

0 comments on commit 9c060ca

Please sign in to comment.