Skip to content

Commit

Permalink
[api] support custom node affinity per-isogroup
Browse files Browse the repository at this point in the history
Previously we had been using the name of an IsolationGroup as its
the value selector in a StatefulSet's NodeAffinity, with the key
hardcoded to `failure-domain.beta.kubernetes.io/zone`. This meant that
users had to have clusters across 3 unique zones.

This relaxes those constraints and allows users to specify the
NodeAffinity selectors they wish to use, meaning they can have clusters
within a single zone or other failure domain.
  • Loading branch information
schallert committed Mar 14, 2019
1 parent 388a045 commit 8f87089
Show file tree
Hide file tree
Showing 23 changed files with 571 additions and 345 deletions.
16 changes: 8 additions & 8 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ common: &common
manual: true

steps:
- name: Unit
command: .buildkite/test.sh
plugins:
docker-compose#v2.5.1:
run: app
config: .buildkite/docker-compose.yml
workdir: /go/src/github.com/m3db/m3db-operator
<<: *common
- name: "Check for :docker: build"
command: ".ci/docker/check_do_docker.sh"
agents:
Expand All @@ -27,3 +19,11 @@ steps:
automatic:
limit: 1
manual: true
- name: Unit
command: .buildkite/test.sh
plugins:
docker-compose#v2.5.1:
run: app
config: .buildkite/docker-compose.yml
workdir: /go/src/github.com/m3db/m3db-operator
<<: *common
Loading

0 comments on commit 8f87089

Please sign in to comment.