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
allow disabling Service creation, falling back on user to create the service (easiest)
something like a boolean serviceEnabled
allow setting Service type to NodePort, without trying to set ClusterIP to None (preferred)
serviceType property that can be set to:
headless (default)
clusterIP
nodePort
allow setting Ingress parameters and useServiceLoadBalancer at the same time (this is not currently possible as the useServiceLoadBalancer takes precedence over Ingress parameters)
The text was updated successfully, but these errors were encountered:
Regarding the workaround, your proposal is valid, but as of v1.14.0 I would still need to create another Ingress object than the one created by mattermost-operator, leaving me with:
a Service object of type ClusterIP, created by operator, which will never be used
an Ingress object, created by operator and forever stuck in Scheduled for sync state
another Service object of type NodePort, created manually
another Ingress object, created manually and bound to the manually created Service
It will be even better when the next version is released (with better Ingress management), then I would only need to disable the Ingress creation by mattermost-operator and create a NodePort Service object as well as a custom Ingress object, leaving me only with a ClusterIP Service which will never be used.
This is fine for now, but I’m looking forward to have this feature implemented 🙂
Summary
Currently the CRD doesn’t allow defining the Service type, defaulting to a type of
ClusterIP
.This is needed in order to support GKE Ingress, which do not allow to bound to a Service of type
ClusterIP
when container native load balancing is not used.Steps to reproduce
Operator version used:
1.14.0
Mattermost version used:
5.37.2
Environment:
GKE
Expected behavior
Being able to specify mattermost Service type, GKE Ingress would work.
Possible fixes
I’m not a Go developer, but I think this is the relevant code.
I thought at first that this feature might be enabled by the recent changes to Ingress management allowing to disable Ingress creation (triggered from this issue), but the problem is that the operator will continue to set a service of
ClusterIP
type.Possible solutions that I can think of:
serviceEnabled
NodePort
, without trying to setClusterIP
toNone
(preferred)serviceType
property that can be set to:headless
(default)clusterIP
nodePort
useServiceLoadBalancer
at the same time (this is not currently possible as theuseServiceLoadBalancer
takes precedence over Ingress parameters)The text was updated successfully, but these errors were encountered: