Skip to content

Commit 2cba42e

Browse files
authoredJan 18, 2024
fix: remove loki gateway anti-affinity (#111)
## Description It was discovered in test that the anti-affinity set on the gateway is problematic during upgrades. This is partially because we are on a single node for k3d, but in general the anti-affinity does not make sense to have here since the gateway is a single replica setup. ## Related Issue N/A ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [x] Test, docs, adr added or updated as needed - [x] [Contributor Guide Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request) followed
1 parent d504c30 commit 2cba42e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/loki/values/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,8 @@ monitoring:
110110
enabled: false
111111
gateway:
112112
enabled: true
113+
# Remove default anti-affinity since this is a 1-replica setup
114+
affinity: ""
115+
# Temporary addition to handle upgrade scenarios removing affinity
116+
deploymentStrategy:
117+
type: Recreate

0 commit comments

Comments
 (0)
Please sign in to comment.