Skip to content

Commit

Permalink
Update description and update cli/doc
Browse files Browse the repository at this point in the history
Signed-off-by: Matei David <[email protected]>
  • Loading branch information
mateiidavid committed Oct 26, 2023
1 parent e22c124 commit 573112b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/linkerd-control-plane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Kubernetes: `>=1.21.0-0`
| proxy.opaquePorts | string | `"25,587,3306,4444,5432,6379,9300,11211"` | Default set of opaque ports - SMTP (25,587) server-first - MYSQL (3306) server-first - Galera (4444) server-first - PostgreSQL (5432) server-first - Redis (6379) server-first - ElasticSearch (9300) server-first - Memcached (11211) clients do not issue any preamble, which breaks detection |
| proxy.outboundConnectTimeout | string | `"1000ms"` | Maximum time allowed for the proxy to establish an outbound TCP connection |
| proxy.outboundDiscoveryCacheUnusedTimeout | string | `"5s"` | Maximum time allowed before an unused outbound discovery result is evicted from the cache |
| proxy.outboundProtocolDetectTimeout | string | `"10s"` | Maximum time allowed for the proxy to determine the client's protocol by peeking from the socket |
| proxy.outboundProtocolDetectTimeout | string | `"10s"` | Maximum time allowed for the proxy to determine an outbound connection's protocol by peeking from the socket |
| proxy.ports.admin | int | `4191` | Admin port for the proxy container |
| proxy.ports.control | int | `4190` | Control port for the proxy container |
| proxy.ports.inbound | int | `4143` | Inbound port for the proxy container |
Expand Down
4 changes: 2 additions & 2 deletions charts/linkerd-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ proxy:
# -- Maximum time allowed before an unused inbound discovery result
# is evicted from the cache
inboundDiscoveryCacheUnusedTimeout: "90s"
# -- Maximum time allowed for the proxy to determine the client's protocol by
# peeking from the socket
# -- Maximum time allowed for the proxy to determine an outbound connection's
# protocol by peeking from the socket
outboundProtocolDetectTimeout: "10s"
# -- Maximum time allowed for the proxy to determine an incoming connection's
# protocol by peeking from the socket
Expand Down
8 changes: 8 additions & 0 deletions cli/cmd/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,14 @@ func generateAnnotationsDocs() []annotationDoc {
Name: k8s.ProxyInboundDiscoveryCacheUnusedTimeout,
Description: "Maximum time allowed before an unused inbound discovery result is evicted from the cache. Defaults to `90s`",
},
{
Name: k8s.ProxyOutboundProtocolDetectTimeout,
Description: "Maximum time allowed for the proxy to determine an outbound connection's protocol by peeking from the socket",
},
{
Name: k8s.ProxyInboundProtocolDetectTimeout,
Description: "Maximum time allowed for the proxy to determine an inbound connection's protocol by peeking from the socket",
},
{
Name: k8s.ProxyWaitBeforeExitSecondsAnnotation,
Description: "The proxy sidecar will stay alive for at least the given period after receiving SIGTERM signal from Kubernetes but no longer than pod's `terminationGracePeriodSeconds`. Defaults to `0`",
Expand Down

0 comments on commit 573112b

Please sign in to comment.