Kong Operator supports a set of konghq.com/* annotations on Kubernetes Service resources. These annotations configure how Kong Gateway communicates with the upstream service — including protocols, timeouts, retries, host headers, and TLS settings.
Annotations are placed on the Service object that is referenced as a backendRef in an HTTPRoute. For example:
apiVersion: v1
kind: Service
metadata:
name: my-service
namespace: kong
annotations:
konghq.com/connect-timeout: "3000"
konghq.com/read-timeout: "10000"
konghq.com/retries: "3"
spec:
ports:
- port: 80