Skip to search

BackendConfig

cloud.google.com / v1

apiVersion: cloud.google.com/v1 kind: BackendConfig metadata: name: example
View raw schema
apiVersion string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
spec object
BackendConfigSpec is the spec for a BackendConfig resource
cdn object
CDNConfig contains configuration for CDN-enabled backends.
bypassCacheOnRequestHeaders []object
headerName string
The header field name to match on when bypassing cache. Values are case-insensitive.
cacheMode string
cachePolicy object
CacheKeyPolicy contains configuration for how requests to a CDN-enabled backend are cached.
includeHost boolean
If true, requests to different hosts will be cached separately.
includeProtocol boolean
If true, http and https requests will be cached separately.
includeQueryString boolean
If true, query string parameters are included in the cache key according to QueryStringBlacklist and QueryStringWhitelist. If neither is set, the entire query string is included and if false the entire query string is excluded.
queryStringBlacklist []string
Names of query strint parameters to exclude from cache keys. All other parameters are included. Either specify QueryStringBlacklist or QueryStringWhitelist, but not both.
queryStringWhitelist []string
Names of query string parameters to include in cache keys. All other parameters are excluded. Either specify QueryStringBlacklist or QueryStringWhitelist, but not both.
clientTtl integer
format: int64
defaultTtl integer
format: int64
enabled boolean required
maxTtl integer
format: int64
negativeCaching boolean
negativeCachingPolicy []object
code integer
The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.
format: int64
ttl integer
The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.
format: int64
requestCoalescing boolean
serveWhileStale integer
format: int64
signedUrlCacheMaxAgeSec integer
format: int64
signedUrlKeys []object
keyName string
KeyName: Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
keyValue string
KeyValue: 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.
secretName string
The name of a k8s secret which stores the 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string
connectionDraining object
ConnectionDrainingConfig contains configuration for connection draining. For now the draining timeout. May manage more settings in the future.
drainingTimeoutSec integer
Draining timeout in seconds.
format: int64
customRequestHeaders object
CustomRequestHeadersConfig contains configuration for custom request headers
headers []string
customResponseHeaders object
CustomResponseHeadersConfig contains configuration for custom response headers
headers []string
healthCheck object
HealthCheckConfig contains configuration for the health check.
checkIntervalSec integer
CheckIntervalSec is a health check parameter. See https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
format: int64
healthyThreshold integer
HealthyThreshold is a health check parameter. See https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
format: int64
port integer
Port is a health check parameter. See https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks. If Port is used, the controller updates portSpecification as well
format: int64
requestPath string
RequestPath is a health check parameter. See https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
timeoutSec integer
TimeoutSec is a health check parameter. See https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
format: int64
type string
Type is a health check parameter. See https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
unhealthyThreshold integer
UnhealthyThreshold is a health check parameter. See https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks.
format: int64
iap object
IAPConfig contains configuration for IAP-enabled backends.
enabled boolean required
oauthclientCredentials object
OAuthClientCredentials contains credentials for a single IAP-enabled backend.
clientID string
Direct reference to OAuth client id.
clientSecret string
Direct reference to OAuth client secret.
secretName string required
The name of a k8s secret which stores the OAuth client id & secret.
logging object
LogConfig contains configuration for logging.
enable boolean
This field denotes whether to enable logging for the load balancer traffic served by this backend service.
sampleRate number
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
format: double
securityPolicy object
SecurityPolicyConfig contains configuration for CloudArmor-enabled backends. If not specified, the controller will not reconcile the security policy configuration. In other words, users can make changes in GCE without the controller overwriting them.
name string required
Name of the security policy that should be associated. If set to empty, the existing security policy on the backend will be removed.
sessionAffinity object
SessionAffinityConfig contains configuration for stickiness parameters.
affinityCookieTtlSec integer
format: int64
affinityType string
timeoutSec integer
format: int64
status object

No matches. Try .spec.cdn for an exact path