Is it possible to configure the outlier detection with Global Mesh Options? I am asking, because we want to enable locality based load balancing mesh-wide, but locality only seems to work with configured outlier detection.
My (simplified) operator config looks like this, but it does not seem to have any effect:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: istio-system
name: defaut
spec:
profile: default
meshConfig:
localityLbSetting:
enabled: true
Having a specific DestinationRule with an outlier detection works:
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
name: app
spec:
host: app.default.svc.cluster.local
trafficPolicy:
outlierDetection:
consecutive5xxErrors: 10
interval: 1s
baseEjectionTime: 1m
maxEjectionPercent: 40
loadBalancer:
simple: ROUND_ROBIN
localityLbSetting:
enabled: true