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
[BUG]Unable to define a static IP address for the service type LoadBalancer in dashborad configuration strict decoding error: unknown field "spec.dashboards.service.LoadBalancer"
#945
Closed
febi881 opened this issue
Jan 23, 2025
· 1 comment
RockyLinux 9,
LAB Kubernetes
opensearch-operator chart version 2.7.0
Openserach Version installed: 2.18.0
Do you have any screenshots?
Error: strict decoding error: unknown field "spec.dashboards.service.LoadBalancer"
Do you have any additional context?
The Opensearch cluster ins installed and currently up and running but patching with a static LoadBalancer IP creates the problem, I am manually able to edit the dashboard service and set the LoadBalancer IP
The text was updated successfully, but these errors were encountered:
Hi @febi881. The operator does not expose the full range of configuration options available for services. The helm chart you have linked is not for the operator, so what is possible there is irrelevant.
The intended usage is to expose opensearch and dashboards via an ingress controller for proper certificate and routing handling. If you want to really expose Dashboards directly via service type Loadbalancer please create and apply your own service manifest alongside the cluster spec.
What is the bug?
[BUG]Unable to define a static IP address for the service type LoadBalancer
How can one reproduce the bug?
Use the following config in dashboard section
dashboards: enable: true service: #externalTrafficPolicy: Local type: LoadBalancer LoadBalancerIP: "10,x,x,x"
What is the expected behavior?
As per the https://artifacthub.io/packages/helm/opensearch-project-helm-charts/opensearch-dashboards/1.26.0 given chart details the above confi should provision a LoadBalance type service and assign the defined IP
What is your host/environment?
RockyLinux 9,
LAB Kubernetes
opensearch-operator chart version 2.7.0
Openserach Version installed: 2.18.0
Do you have any screenshots?
Error: strict decoding error: unknown field "spec.dashboards.service.LoadBalancer"
Do you have any additional context?
The Opensearch cluster ins installed and currently up and running but patching with a static LoadBalancer IP creates the problem, I am manually able to edit the dashboard service and set the LoadBalancer IP
The text was updated successfully, but these errors were encountered: