Add FAQ section regarding naming port convention (#1393)

This commit is contained in:
Julien Senon 2018-05-31 19:36:44 +02:00 committed by Martin Taillefer
parent da42e92238
commit 1811057b0d
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
---
title: What is the naming convention for port name inside my application deployment file?
weight: 50
---
Named ports: Service ports must be named.
The port names must be of the form `protocol`-`suffix` with http, http2, grpc, mongo, or redis as the `protocol` in order to take advantage of Istios routing features.
For example, `name: http2-foo` or `name: http` are valid port names, but `name: http2foo` is not. If the port name does not begin with a recognized prefix or if the port is unnamed, traffic on the port will be treated as plain TCP traffic (unless the port explicitly uses Protocol: UDP to signify a UDP port).