Skip to content

Commit

Permalink
add podAntiAffinity for masters in demo cfg, fix yqlAgent count for 0…
Browse files Browse the repository at this point in the history
….9.1
  • Loading branch information
o-gulyaev committed Nov 14, 2024
1 parent 966edf8 commit f0b9e9c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/samples/0.9.1/cluster_v1_demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ spec:
primaryMasters:
instanceCount: 3
cellTag: 1
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: yt_component
operator: In
values:
- ytdemo-yt-master
topologyKey: "kubernetes.io/hostname"
volumeMounts:
- name: master-data
mountPath: /yt/master-data
Expand Down Expand Up @@ -90,6 +100,7 @@ spec:
image: ghcr.io/ytsaurus/query-tracker:0.0.6-relwithdebinfo

yqlAgents:
instanceCount: 1
image: ghcr.io/ytsaurus/query-tracker:0.0.6-relwithdebinfo

schedulers:
Expand Down
10 changes: 10 additions & 0 deletions config/samples/cluster_v1_demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ spec:
primaryMasters:
instanceCount: 3
cellTag: 1
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: yt_component
operator: In
values:
- ytdemo-yt-master
topologyKey: "kubernetes.io/hostname"
volumeMounts:
- name: master-data
mountPath: /yt/master-data
Expand Down

0 comments on commit f0b9e9c

Please sign in to comment.