Additional TLS settings

Use an AgentgatewayPolicy resource to configure additional TLS settings for your listeners, such as the minimum and maximum TLS version, supported cipher suites, APN protocols, and the TLS handshake timeout.

kubectl apply -f - <<EOF
apiVersion: agentgateway.dev/v1alpha1
kind: AgentgatewayPolicy
metadata:
  name: tls-settings
  namespace: agentgateway-system
  labels:
    app: agentgateway
spec:
  targetRefs:
  - group: gateway.networking.k8s.io
    kind: Gateway
    name: agentgateway-proxy
  frontend: 
    tls: 
      alpnProtocols: ["h2"]
      cipherSuites: ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"]
      maxProtocolVersion: "1.3"
      minProtocolVersion: "1.2"
      handshakeTimeout: 5s
EOF

The following settings are supported:

SettingDescription
alpnProtocolsA comma-delimited list of the application protocol that the agentgateway proxy can use during a TLS handshake. In this example, HTTP/2 is used.
cipherSuitesA comma-delimited list of the cipher suites that the agentgateway proxy can use during a TLS handshake. The example shows the TLSv1_2 and TLSv1_3 cipher suites.
minProtocolVersionEnforce a minimum TLS version for the listener to use. In this example, TLS version 1.2 is used. Supported values are 1.2 and 1.3.
maxProtocolVersionEnforce a maximum TLS version for the Gateway to use. In this example, TLS version 1.3 is used. Supported values are 1.2 and 1.3.
handshakeTimeoutThe time it can take for the TLS handshake to complete in seconds. If not set, defaults to 15 seconds.
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.