Sha256: ce0392c7ef4c8457e8c6910d6f1311d12be4430e6a44673fedb6caa187560802
Contents?: true
Size: 841 Bytes
Versions: 12
Compression:
Stored size: 841 Bytes
Contents
--- title: BackendConfig categories: dsl --- A BackendConfig is [custom resource definitions (CRDs)](https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/) that allow you to further customize the load balancer. Here's an example of a BackendConfig. .kubes/resources/web/backend-config.rb ```ruby name "backendconfig" spec( timeoutSec: 40, connectionDraining: { drainingTimeoutSec: 60, }, sessionAffinity: { affinityType: "CLIENT_IP", } ) ``` Produces: .kubes/output/web/backend-config.yaml ```yaml --- apiVersion: cloud.google.com/v1 kind: BackendConfig metadata: name: my-bsc-backendconfig spec: timeoutSec: 40 connectionDraining: drainingTimeoutSec: 60 sessionAffinity: affinityType: CLIENT_IP ``` ## DSL Methods {% include dsl/methods.md name="backend_config" %}
Version data entries
12 entries across 12 versions & 1 rubygems