Skip to content

Commit

Permalink
Fix Consul affinity in HA test (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjpryor authored Dec 8, 2023
1 parent 7b80ac8 commit 2d34f24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
repository: ${{ github.repository }}
ref: ${{ github.ref }}
config-environment: ci-ha
# Use the configured Docker Hub mirror for the HA cluster for now
extra-vars: |
capi_cluster_registry_mirrors:
docker.io:
- "${{ secrets.DOCKER_HUB_MIRROR_URL }}"

- name: Provision Azimuth
uses: ./.github/actions/provision
Expand Down
7 changes: 7 additions & 0 deletions environments/ci-ha/inventory/group_vars/all/variables.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Unset the network ID so that a network + router are provisioned
infra_network_id:

# Flavor auto-detection picks the wrong flavors on Arcus, so override them
# The flavor to use for the seed VM (vm.ska.cpu.general.small)
infra_flavor_id: c8b72062-5d52-4590-9d7a-68a670b44442
Expand All @@ -9,3 +12,7 @@ capi_cluster_worker_flavor: vm.ska.cpu.general.eighth
# So one control plane node and two workers is sufficient for that
capi_cluster_control_plane_count: 1
capi_cluster_worker_count: 2
# Disable affinity for the Consul server so we can have 3 pods on two nodes
consul_release_overrides:
server:
affinity: ""

0 comments on commit 2d34f24

Please sign in to comment.