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
ECK manages a set of services per Elasticsearch cluster that users can configure. By default, the operator configures the http service with typeClusterIP. If a user configures it with type LoadBalancer and later completely deletes it from the es resource definition, the service is never reconfigured to the default typeClusterIP.
Step to reproduce:
Deploy an Elasticsearch with a LoadBalancer service:
We have a function to applyServerSideValues for several reasons, to decide if we need to recreate or update the service, where we retrieve and restore the current reconciled type.
ECK manages a set of services per Elasticsearch cluster that users can configure. By default, the operator configures the http service with type
ClusterIP
. If a user configures it with typeLoadBalancer
and later completely deletes it from the es resource definition, the service is never reconfigured to the default typeClusterIP
.Step to reproduce:
LoadBalancer
service:LoadBalancer
:Why?
We have a function to set the defaults, but we don't set the
type
there:cloud-on-k8s/pkg/controller/common/defaults/service.go
Line 14 in 645f750
We have a function to
applyServerSideValues
for several reasons, to decide if we need to recreate or update the service, where we retrieve and restore the current reconciled type.cloud-on-k8s/pkg/controller/common/service_control.go
Lines 53 to 54 in 645f750
The text was updated successfully, but these errors were encountered: