Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Specify "loki" in podAntiAffinity matchLabels #14419

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions production/helm/loki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,8 @@ gateway:
- labelSelector:
matchLabels:
app.kubernetes.io/component: gateway
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- DNS config for gateway pods
dnsConfig: {}
Expand Down Expand Up @@ -1310,6 +1312,8 @@ singleBinary:
- labelSelector:
matchLabels:
app.kubernetes.io/component: single-binary
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- DNS config for single binary pods
dnsConfig: {}
Expand Down Expand Up @@ -1432,6 +1436,8 @@ write:
- labelSelector:
matchLabels:
app.kubernetes.io/component: write
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- DNS config for write pods
dnsConfig: {}
Expand Down Expand Up @@ -1546,6 +1552,8 @@ read:
- labelSelector:
matchLabels:
app.kubernetes.io/component: read
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- DNS config for read pods
dnsConfig: {}
Expand Down Expand Up @@ -1651,6 +1659,8 @@ backend:
- labelSelector:
matchLabels:
app.kubernetes.io/component: backend
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- DNS config for backend pods
dnsConfig: {}
Expand Down Expand Up @@ -1785,6 +1795,8 @@ ingester:
- labelSelector:
matchLabels:
app.kubernetes.io/component: ingester
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
Expand Down Expand Up @@ -1947,6 +1959,8 @@ distributor:
- labelSelector:
matchLabels:
app.kubernetes.io/component: distributor
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
Expand Down Expand Up @@ -2050,6 +2064,8 @@ querier:
- labelSelector:
matchLabels:
app.kubernetes.io/component: querier
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
Expand Down Expand Up @@ -2157,6 +2173,8 @@ queryFrontend:
- labelSelector:
matchLabels:
app.kubernetes.io/component: query-frontend
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
Expand Down Expand Up @@ -2220,6 +2238,8 @@ queryScheduler:
- labelSelector:
matchLabels:
app.kubernetes.io/component: query-scheduler
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: 1
Expand Down Expand Up @@ -2284,6 +2304,8 @@ indexGateway:
- labelSelector:
matchLabels:
app.kubernetes.io/component: index-gateway
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
Expand Down Expand Up @@ -2345,6 +2367,8 @@ compactor:
- labelSelector:
matchLabels:
app.kubernetes.io/component: compactor
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Labels for compactor service
serviceLabels: {}
Expand Down Expand Up @@ -2453,6 +2477,8 @@ bloomGateway:
- labelSelector:
matchLabels:
app.kubernetes.io/component: bloom-gateway
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Labels for bloom-gateway service
serviceLabels: {}
Expand Down Expand Up @@ -2552,6 +2578,8 @@ bloomPlanner:
- labelSelector:
matchLabels:
app.kubernetes.io/component: bloom-planner
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Labels for bloom-planner service
serviceLabels: {}
Expand Down Expand Up @@ -2698,6 +2726,8 @@ bloomBuilder:
- labelSelector:
matchLabels:
app.kubernetes.io/component: bloom-builder
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
Expand Down Expand Up @@ -2741,6 +2771,8 @@ patternIngester:
- labelSelector:
matchLabels:
app.kubernetes.io/component: pattern-ingester
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Labels for pattern ingester service
serviceLabels: {}
Expand Down Expand Up @@ -2873,6 +2905,8 @@ ruler:
- labelSelector:
matchLabels:
app.kubernetes.io/component: ruler
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- Pod Disruption Budget maxUnavailable
maxUnavailable: null
Expand Down Expand Up @@ -3561,6 +3595,8 @@ tableManager:
- labelSelector:
matchLabels:
app.kubernetes.io/component: table-manager
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
topologyKey: kubernetes.io/hostname
# -- DNS config table-manager pods
dnsConfig: {}
Expand Down