-
Bug
-
Resolution: Done
-
Major
-
OSSM 2.1.0
-
None
-
2
-
False
-
None
-
False
Readiness criteria
OSSM-1211 is closed
----------------------------
OSSM Federation failover Doc Update Example yaml contents
After reviewing our failover doc section [1], we found some contents need to be update.
Suggested example updates:
- Example ImportServiceSet resource
kind: ImportedServiceSet apiVersion: federation.maistra.io/v1 metadata: name: red-mesh #name of mesh that exported the service namespace: green-mesh-system #mesh namespace that service is being imported into spec: importRules: # first matching rule is used # import ratings.bookinfo as ratings.bookinfo - type: NameSelector importAsLocal: true nameSelector: namespace: bookinfo name: ratings alias: # service will be imported as ratings.bookinfo.svc.cluster.local namespace: bookinfo name: ratings #Locality within which imported services should be associated. locality: region: us-west
- Example DestinationRule.
There is a typo in apiVersion (missing '1')
namespace need an update.
host need an update.
outlierDetection values need an update.
apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: default-failover namespace: bookinfo spec: host: "ratings.bookinfo.svc.cluster.local" trafficPolicy: loadBalancer: localityLbSetting: enabled: true failover: - from: us-east to: us-west outlierDetection: consecutive5xxErrors: 3 interval: 10s baseEjectionTime: 1m
- Step 4 need an update
$ oc create -n <application namespace> -f <DestinationRule.yaml>
and the following "For example:"
$ oc create -n bookinfo -f green-mesh-us-west-DestinationRule.yaml