From 65f716182bb8aff68df3d995bdfb066ab67254d3 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Mon, 15 Apr 2019 13:30:58 +0300 Subject: [PATCH] Add default selectors to docs --- docs/gitbook/how-it-works.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/gitbook/how-it-works.md b/docs/gitbook/how-it-works.md index 598e299a..2b325e50 100644 --- a/docs/gitbook/how-it-works.md +++ b/docs/gitbook/how-it-works.md @@ -96,6 +96,9 @@ spec: app: podinfo ``` +Besides `app` Flagger supports `name` and `app.kubernetes.io/name` selectors. If you use a different +convention you can specify your label with the `-selector-labels` flag. + The target deployment should expose a TCP port that will be used by Flagger to create the ClusterIP Service and the Istio Virtual Service. The container port from the target deployment should match the `service.port` value.