You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying a cluster via Helm chart, defining affinity under dashboards or under one of the nodePools is not taken into account. Checking the Dashboards Deployment or the Node Pool StatefulSet shows that the pods do not have any affinity settings at all.
If the cluster is deployed by using kubectl apply on the OpenSearchCluster manifest, affinity is applied to the pods.
How can one reproduce the bug?
Create a values.yaml file where under nodePools: the following exists:
I have also prepared PR #640 with a fully refactored helm chart that solves such kind of issues (not only affinity but in general issues with missing templated configuration)
What is the bug?
When deploying a cluster via Helm chart, defining
affinity
underdashboards
or under one of thenodePools
is not taken into account. Checking the Dashboards Deployment or the Node Pool StatefulSet shows that the pods do not have any affinity settings at all.If the cluster is deployed by using
kubectl apply
on theOpenSearchCluster
manifest, affinity is applied to the pods.How can one reproduce the bug?
Create a
values.yaml
file where undernodePools:
the following exists:What is the expected behavior?
When checking the
cluster-managers
StatefulSet definition:we expect to see the affinity settings:
However, there is no
affinity
key at all underspec
.What is your host/environment?
Opensearch k8s operator version: 2.4.0
Opensearch version: 2.8.0
The text was updated successfully, but these errors were encountered: