Skip to content

Commit

Permalink
Merge pull request #26 from rqlite/topic/update-arch-affinity
Browse files Browse the repository at this point in the history
Add support for arm, arm64, and 386 architectures
  • Loading branch information
jtackaberry authored Jun 2, 2024
2 parents 2c7eba7 + 52a8239 commit 0b75c19
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions charts/rqlite/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,12 @@ tolerations: []
#
# https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
#
# The default chart value ensures rqlite is only scheduled on amd64 nodes. This is because
# rqlite's image on Docker Hub currently only supports amd64, so scheduling rqlite pods on
# other architectures will only result in CrashLoopBackoff.
# The default chart value ensures pods are only scheduled on nodes with architectures
# supported by rqlite's official container image.
#
# If you're using your own non-amd64 container images, then in addition to updating the
# image map above, you will also need to replace the affinity field to override the chart
# default. (Reminder that setting a Helm map value to null will override the chart
# default. If you specify a map value it will be merged, which may not be the desired
# outcome.)
#
# Once rqlite supports multi-arch images this will be updated accordingly. See also
# https://github.com/rqlite/rqlite/issues/1077
# If you've build your own custom rqlite image for other architectures, then in addition
# to updating the image map above, you will also need to replace the affinity field to
# override the chart default.
#
# This value is inherited by read-only nodes but may be overridden (see "readonly" below).
affinity:
Expand All @@ -189,6 +183,9 @@ affinity:
operator: In
values:
- amd64
- "386"
- arm
- arm64

# Topology spread constraints influence how pods are scheduled across the cluster.
#
Expand Down

0 comments on commit 0b75c19

Please sign in to comment.