gateway api v1.1.1 experimental

BackendLBPolicy.spec.sessionPersistence.cookieConfig.lifetimeType

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

1 fields
BackendLBPolicy.spec.sessionPersistence.cookieConfig.lifetimeType fields and descriptions
Field / TypeDescription
BackendLBPolicy.spec.sessionPersistence.cookieConfig.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"