gateway api v1.1.1 experimental

HTTPRoute.spec.rules.sessionPersistence.cookieConfig

CookieConfig provides configuration settings that are specific to cookie-based session persistence. Support: Core

1 fields
HTTPRoute.spec.rules.sessionPersistence.cookieConfig fields and descriptions
Field / TypeDescription
lifetimeType
string

LifetimeType specifies whether the cookie has a permanent or session-based lifetime. A permanent cookie persists until its specified expiry time, defined by the Expires or Max-Age cookie attributes, while a session cookie is deleted when the current session ends. When set to "Permanent", AbsoluteTimeout indicates the cookie's lifetime via the Expires or Max-Age cookie attributes and is required. When set to "Session", AbsoluteTimeout indicates the absolute lifetime of the cookie tracked by the gateway and is optional. Support: Core for "Session" type Support: Extended for "Permanent" type

  • enum: ["Permanent","Session"]
  • default: "Session"