2021-03-03 14:32:04 +00:00
---
apiVersion : apiextensions.k8s.io/v1
kind : CustomResourceDefinition
metadata :
annotations :
2021-09-02 12:40:08 +00:00
controller-gen.kubebuilder.io/version : v0.6.2
2021-03-03 14:32:04 +00:00
creationTimestamp : null
name : traefikservices.traefik.containo.us
spec :
group : traefik.containo.us
names :
kind : TraefikService
listKind : TraefikServiceList
plural : traefikservices
singular : traefikservice
scope : Namespaced
versions :
- name : v1alpha1
schema :
openAPIV3Schema :
2022-06-24 10:40:08 +00:00
description : 'TraefikService is the CRD implementation of a Traefik Service.
2022-07-19 16:38:09 +00:00
TraefikService object allows to : - Apply weight to Services on load-balancing
- Mirror traffic on services More info : https://doc.traefik.io/traefik/v2.8/routing/providers/kubernetes-crd/#kind-traefikservice'
2021-03-03 14:32:04 +00:00
properties :
apiVersion :
2021-05-05 15:50:04 +00:00
description : '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'
2021-03-03 14:32:04 +00:00
type : string
kind :
2021-05-05 15:50:04 +00:00
description : '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'
2021-03-03 14:32:04 +00:00
type : string
metadata :
type : object
spec :
2022-06-24 10:40:08 +00:00
description : TraefikServiceSpec defines the desired state of a TraefikService.
2021-03-03 14:32:04 +00:00
properties :
mirroring :
2022-06-24 10:40:08 +00:00
description : Mirroring defines the Mirroring service configuration.
2021-03-03 14:32:04 +00:00
properties :
kind :
2022-06-24 10:40:08 +00:00
description : Kind defines the kind of the Service.
2021-03-03 14:32:04 +00:00
enum :
- Service
- TraefikService
type : string
maxBodySize :
2022-06-24 10:40:08 +00:00
description : MaxBodySize defines the maximum size allowed for
the body of the request. If the body is larger, the request
is not mirrored. Default value is -1, which means unlimited
size.
2021-03-03 14:32:04 +00:00
format : int64
type : integer
mirrors :
2022-06-24 10:40:08 +00:00
description : Mirrors defines the list of mirrors where Traefik
will duplicate the traffic.
2021-03-03 14:32:04 +00:00
items :
2022-06-24 10:40:08 +00:00
description : MirrorService holds the mirror configuration.
2021-03-03 14:32:04 +00:00
properties :
kind :
2022-06-24 10:40:08 +00:00
description : Kind defines the kind of the Service.
2021-03-03 14:32:04 +00:00
enum :
- Service
- TraefikService
type : string
name :
2022-06-24 10:40:08 +00:00
description : Name defines the name of the referenced Kubernetes
Service or TraefikService. The differentiation between
the two is specified in the Kind field.
2021-03-03 14:32:04 +00:00
type : string
namespace :
2022-06-24 10:40:08 +00:00
description : Namespace defines the namespace of the referenced
Kubernetes Service or TraefikService.
2021-03-03 14:32:04 +00:00
type : string
passHostHeader :
2022-06-24 10:40:08 +00:00
description : PassHostHeader defines whether the client Host
header is forwarded to the upstream Kubernetes Service.
By default, passHostHeader is true.
2021-03-03 14:32:04 +00:00
type : boolean
percent :
2022-06-24 10:40:08 +00:00
description : 'Percent defines the part of the traffic to
mirror. Supported values : 0 to 100.'
2021-03-03 14:32:04 +00:00
type : integer
port :
anyOf :
- type : integer
- type : string
2022-06-24 10:40:08 +00:00
description : Port defines the port of a Kubernetes Service.
This can be a reference to a named port.
2021-03-03 14:32:04 +00:00
x-kubernetes-int-or-string : true
responseForwarding :
2022-06-24 10:40:08 +00:00
description : ResponseForwarding defines how Traefik forwards
the response from the upstream Kubernetes Service to the
client.
2021-03-03 14:32:04 +00:00
properties :
flushInterval :
2022-06-24 10:40:08 +00:00
description : 'FlushInterval defines the interval, in
milliseconds, in between flushes to the client while
copying the response body. A negative value means
to flush immediately after each write to the client.
This configuration is ignored when ReverseProxy recognizes
a response as a streaming response; for such responses,
writes are flushed to the client immediately. Default :
100ms'
2021-03-03 14:32:04 +00:00
type : string
type : object
scheme :
2022-06-24 10:40:08 +00:00
description : Scheme defines the scheme to use for the request
to the upstream Kubernetes Service. It defaults to https
when Kubernetes Service port is 443, http otherwise.
2021-03-03 14:32:04 +00:00
type : string
serversTransport :
2022-06-24 10:40:08 +00:00
description : ServersTransport defines the name of ServersTransport
resource to use. It allows to configure the transport
between Traefik and your servers. Can only be used on
a Kubernetes Service.
2021-03-03 14:32:04 +00:00
type : string
sticky :
2022-06-24 10:40:08 +00:00
description : 'Sticky defines the sticky sessions configuration.
2022-06-29 15:38:37 +00:00
More info : https://doc.traefik.io/traefik/v2.8/routing/services/#sticky-sessions'
2021-03-03 14:32:04 +00:00
properties :
cookie :
2022-06-24 10:40:08 +00:00
description : Cookie defines the sticky cookie configuration.
2021-03-03 14:32:04 +00:00
properties :
httpOnly :
2022-06-24 10:40:08 +00:00
description : HTTPOnly defines whether the cookie
can be accessed by client-side APIs, such as JavaScript.
2021-03-03 14:32:04 +00:00
type : boolean
name :
2022-06-24 10:40:08 +00:00
description : Name defines the Cookie name.
2021-03-03 14:32:04 +00:00
type : string
sameSite :
2022-06-24 10:40:08 +00:00
description : 'SameSite defines the same site policy.
More info : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite'
2021-03-03 14:32:04 +00:00
type : string
secure :
2022-06-24 10:40:08 +00:00
description : Secure defines whether the cookie can
only be transmitted over an encrypted connection
(i.e. HTTPS).
2021-03-03 14:32:04 +00:00
type : boolean
type : object
type : object
strategy :
2022-06-24 10:40:08 +00:00
description : Strategy defines the load balancing strategy
between the servers. RoundRobin is the only supported
value at the moment.
2021-03-03 14:32:04 +00:00
type : string
weight :
2022-06-24 10:40:08 +00:00
description : Weight defines the weight and should only be
specified when Name references a TraefikService object
(and to be precise, one that embeds a Weighted Round Robin).
2021-03-03 14:32:04 +00:00
type : integer
required :
- name
type : object
type : array
name :
2022-06-24 10:40:08 +00:00
description : Name defines the name of the referenced Kubernetes
Service or TraefikService. The differentiation between the two
is specified in the Kind field.
2021-03-03 14:32:04 +00:00
type : string
namespace :
2022-06-24 10:40:08 +00:00
description : Namespace defines the namespace of the referenced
Kubernetes Service or TraefikService.
2021-03-03 14:32:04 +00:00
type : string
passHostHeader :
2022-06-24 10:40:08 +00:00
description : PassHostHeader defines whether the client Host header
is forwarded to the upstream Kubernetes Service. By default,
passHostHeader is true.
2021-03-03 14:32:04 +00:00
type : boolean
port :
anyOf :
- type : integer
- type : string
2022-06-24 10:40:08 +00:00
description : Port defines the port of a Kubernetes Service. This
can be a reference to a named port.
2021-03-03 14:32:04 +00:00
x-kubernetes-int-or-string : true
responseForwarding :
2022-06-24 10:40:08 +00:00
description : ResponseForwarding defines how Traefik forwards the
response from the upstream Kubernetes Service to the client.
2021-03-03 14:32:04 +00:00
properties :
flushInterval :
2022-06-24 10:40:08 +00:00
description : 'FlushInterval defines the interval, in milliseconds,
in between flushes to the client while copying the response
body. A negative value means to flush immediately after
each write to the client. This configuration is ignored
when ReverseProxy recognizes a response as a streaming response;
for such responses, writes are flushed to the client immediately.
Default : 100ms'
2021-03-03 14:32:04 +00:00
type : string
type : object
scheme :
2022-06-24 10:40:08 +00:00
description : Scheme defines the scheme to use for the request
to the upstream Kubernetes Service. It defaults to https when
Kubernetes Service port is 443, http otherwise.
2021-03-03 14:32:04 +00:00
type : string
serversTransport :
2022-06-24 10:40:08 +00:00
description : ServersTransport defines the name of ServersTransport
resource to use. It allows to configure the transport between
Traefik and your servers. Can only be used on a Kubernetes Service.
2021-03-03 14:32:04 +00:00
type : string
sticky :
2022-06-24 10:40:08 +00:00
description : 'Sticky defines the sticky sessions configuration.
2022-06-29 15:38:37 +00:00
More info : https://doc.traefik.io/traefik/v2.8/routing/services/#sticky-sessions'
2021-03-03 14:32:04 +00:00
properties :
cookie :
2022-06-24 10:40:08 +00:00
description : Cookie defines the sticky cookie configuration.
2021-03-03 14:32:04 +00:00
properties :
httpOnly :
2022-06-24 10:40:08 +00:00
description : HTTPOnly defines whether the cookie can be
accessed by client-side APIs, such as JavaScript.
2021-03-03 14:32:04 +00:00
type : boolean
name :
2022-06-24 10:40:08 +00:00
description : Name defines the Cookie name.
2021-03-03 14:32:04 +00:00
type : string
sameSite :
2022-06-24 10:40:08 +00:00
description : 'SameSite defines the same site policy. More
info : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite'
2021-03-03 14:32:04 +00:00
type : string
secure :
2022-06-24 10:40:08 +00:00
description : Secure defines whether the cookie can only
be transmitted over an encrypted connection (i.e. HTTPS).
2021-03-03 14:32:04 +00:00
type : boolean
type : object
type : object
strategy :
2022-06-24 10:40:08 +00:00
description : Strategy defines the load balancing strategy between
the servers. RoundRobin is the only supported value at the moment.
2021-03-03 14:32:04 +00:00
type : string
weight :
2022-06-24 10:40:08 +00:00
description : Weight defines the weight and should only be specified
when Name references a TraefikService object (and to be precise,
one that embeds a Weighted Round Robin).
2021-03-03 14:32:04 +00:00
type : integer
required :
- name
type : object
weighted :
2022-06-24 10:40:08 +00:00
description : Weighted defines the Weighted Round Robin configuration.
2021-03-03 14:32:04 +00:00
properties :
services :
2022-06-24 10:40:08 +00:00
description : Services defines the list of Kubernetes Service and/or
TraefikService to load-balance, with weight.
2021-03-03 14:32:04 +00:00
items :
2022-06-24 10:40:08 +00:00
description : Service defines an upstream HTTP service to proxy
traffic to.
2021-03-03 14:32:04 +00:00
properties :
kind :
2022-06-24 10:40:08 +00:00
description : Kind defines the kind of the Service.
2021-03-03 14:32:04 +00:00
enum :
- Service
- TraefikService
type : string
name :
2022-06-24 10:40:08 +00:00
description : Name defines the name of the referenced Kubernetes
Service or TraefikService. The differentiation between
the two is specified in the Kind field.
2021-03-03 14:32:04 +00:00
type : string
namespace :
2022-06-24 10:40:08 +00:00
description : Namespace defines the namespace of the referenced
Kubernetes Service or TraefikService.
2021-03-03 14:32:04 +00:00
type : string
passHostHeader :
2022-06-24 10:40:08 +00:00
description : PassHostHeader defines whether the client Host
header is forwarded to the upstream Kubernetes Service.
By default, passHostHeader is true.
2021-03-03 14:32:04 +00:00
type : boolean
port :
anyOf :
- type : integer
- type : string
2022-06-24 10:40:08 +00:00
description : Port defines the port of a Kubernetes Service.
This can be a reference to a named port.
2021-03-03 14:32:04 +00:00
x-kubernetes-int-or-string : true
responseForwarding :
2022-06-24 10:40:08 +00:00
description : ResponseForwarding defines how Traefik forwards
the response from the upstream Kubernetes Service to the
client.
2021-03-03 14:32:04 +00:00
properties :
flushInterval :
2022-06-24 10:40:08 +00:00
description : 'FlushInterval defines the interval, in
milliseconds, in between flushes to the client while
copying the response body. A negative value means
to flush immediately after each write to the client.
This configuration is ignored when ReverseProxy recognizes
a response as a streaming response; for such responses,
writes are flushed to the client immediately. Default :
100ms'
2021-03-03 14:32:04 +00:00
type : string
type : object
scheme :
2022-06-24 10:40:08 +00:00
description : Scheme defines the scheme to use for the request
to the upstream Kubernetes Service. It defaults to https
when Kubernetes Service port is 443, http otherwise.
2021-03-03 14:32:04 +00:00
type : string
serversTransport :
2022-06-24 10:40:08 +00:00
description : ServersTransport defines the name of ServersTransport
resource to use. It allows to configure the transport
between Traefik and your servers. Can only be used on
a Kubernetes Service.
2021-03-03 14:32:04 +00:00
type : string
sticky :
2022-06-24 10:40:08 +00:00
description : 'Sticky defines the sticky sessions configuration.
2022-06-29 15:38:37 +00:00
More info : https://doc.traefik.io/traefik/v2.8/routing/services/#sticky-sessions'
2021-03-03 14:32:04 +00:00
properties :
cookie :
2022-06-24 10:40:08 +00:00
description : Cookie defines the sticky cookie configuration.
2021-03-03 14:32:04 +00:00
properties :
httpOnly :
2022-06-24 10:40:08 +00:00
description : HTTPOnly defines whether the cookie
can be accessed by client-side APIs, such as JavaScript.
2021-03-03 14:32:04 +00:00
type : boolean
name :
2022-06-24 10:40:08 +00:00
description : Name defines the Cookie name.
2021-03-03 14:32:04 +00:00
type : string
sameSite :
2022-06-24 10:40:08 +00:00
description : 'SameSite defines the same site policy.
More info : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite'
2021-03-03 14:32:04 +00:00
type : string
secure :
2022-06-24 10:40:08 +00:00
description : Secure defines whether the cookie can
only be transmitted over an encrypted connection
(i.e. HTTPS).
2021-03-03 14:32:04 +00:00
type : boolean
type : object
type : object
strategy :
2022-06-24 10:40:08 +00:00
description : Strategy defines the load balancing strategy
between the servers. RoundRobin is the only supported
value at the moment.
2021-03-03 14:32:04 +00:00
type : string
weight :
2022-06-24 10:40:08 +00:00
description : Weight defines the weight and should only be
specified when Name references a TraefikService object
(and to be precise, one that embeds a Weighted Round Robin).
2021-03-03 14:32:04 +00:00
type : integer
required :
- name
type : object
type : array
sticky :
2022-06-24 10:40:08 +00:00
description : 'Sticky defines whether sticky sessions are enabled.
2022-06-29 15:38:37 +00:00
More info : https://doc.traefik.io/traefik/v2.8/routing/providers/kubernetes-crd/#stickiness-and-load-balancing'
2021-03-03 14:32:04 +00:00
properties :
cookie :
2022-06-24 10:40:08 +00:00
description : Cookie defines the sticky cookie configuration.
2021-03-03 14:32:04 +00:00
properties :
httpOnly :
2022-06-24 10:40:08 +00:00
description : HTTPOnly defines whether the cookie can be
accessed by client-side APIs, such as JavaScript.
2021-03-03 14:32:04 +00:00
type : boolean
name :
2022-06-24 10:40:08 +00:00
description : Name defines the Cookie name.
2021-03-03 14:32:04 +00:00
type : string
sameSite :
2022-06-24 10:40:08 +00:00
description : 'SameSite defines the same site policy. More
info : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite'
2021-03-03 14:32:04 +00:00
type : string
secure :
2022-06-24 10:40:08 +00:00
description : Secure defines whether the cookie can only
be transmitted over an encrypted connection (i.e. HTTPS).
2021-03-03 14:32:04 +00:00
type : boolean
type : object
type : object
type : object
type : object
required :
- metadata
- spec
type : object
served : true
storage : true
status :
acceptedNames :
kind : ""
plural : ""
conditions : [ ]
storedVersions : [ ]