diff --git a/docs/gitbook/faq.md b/docs/gitbook/faq.md index ebf5b284..354da08b 100644 --- a/docs/gitbook/faq.md +++ b/docs/gitbook/faq.md @@ -79,9 +79,12 @@ spec: Based on the canary spec service, Flagger generates the following Kubernetes ClusterIP service: -* `..vc.cluster.local` with selector `app=-primary` -* `-primary..vc.cluster.local` with selector `app=-primary` -* `-canary..vc.cluster.local` with selector `app=` +* `..svc.cluster.local` + selector `app=-primary` +* `-primary..svc.cluster.local` + selector `app=-primary` +* `-canary..svc.cluster.local` + selector `app=` This ensures that traffic coming from a namespace outside the mesh to `podinfo.test:9898` will be routed to the latest stable release of your app. @@ -101,6 +104,34 @@ spec: port: 9898 protocol: TCP targetPort: http +--- +apiVersion: v1 +kind: Service +metadata: + name: podinfo-primary +spec: + type: ClusterIP + selector: + app: podinfo-primary + ports: + - name: http + port: 9898 + protocol: TCP + targetPort: http +--- +apiVersion: v1 +kind: Service +metadata: + name: podinfo-canary +spec: + type: ClusterIP + selector: + app: podinfo + ports: + - name: http + port: 9898 + protocol: TCP + targetPort: http ``` The `podinfo-canary.test:9898` address is available only during the