Configuration reference
TCP CRD
Selected version
TCP CRD Configuration reference
Available since version 3.0
The TCP custom resource extends the Kubernetes API. It add TCP listening ports to the ingress controller and enables load balancing over TCP to your applications. The TCP custom resource supports many options that apply to the frontend
within the rendered configuration.
Install the TCP custom resource Jump to heading
Info
If you installed the ingress controller with Helm, this CRD is installed and updated automatically. If you installed with kubectl, follow these instructions for installation. Once installed, to perform updates on this CRD see: Update CRDs.
Before you can use the TCP custom resource, you must install its definition into your Kubernetes cluster.
-
Download the v3-0 Tcp custom resource file.
-
Install the custom resource definition with
kubectl apply
:nixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yamlnixkubectl apply -f ingress.v1.haproxy.org_tcps.yaml -
Verify that the installation worked by listing custom resources defined in your cluster:
nixkubectl get crdnixkubectl get crdoutputtextNAME CREATED ATtcps.ingress.v1.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.ingress.v1.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.ingress.v1.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.ingress.v1.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31ZoutputtextNAME CREATED ATtcps.core.haproxy.org 2022-01-21T20:00:31Z
Use the TCP custom resource Jump to heading
With the TCP custom resource, you can add listeners for TCP traffic and route that traffic to backend services.
-
Create a YAML file that declares a
TCP
resource and add properties to itsspec
section.tcp-customresource.yamlyamlapiVersion: ingress.v1.haproxy.org/v1kind: TCPmetadata:name: example-service1-tcpspec:- name: example-tcpfrontend:name: example-frontendbinds:- name: bind1port: 2000service:name: example-service1port: 3000tcp-customresource.yamlyamlapiVersion: ingress.v1.haproxy.org/v1kind: TCPmetadata:name: example-service1-tcpspec:- name: example-tcpfrontend:name: example-frontendbinds:- name: bind1port: 2000service:name: example-service1port: 3000In this example:
- The
frontend
section configure a new frontend in the ingress controller. You can add other frontend arguments, described on this page. - The
binds
section sets TCP port on which to listen for incoming connections. - The
service
section sets the Kubernetes service to relay requests to.
For an extended example, see Load balance TCP services.
- The
Frontend
-
CRD version:
3.0
-
API version:
ingress.v1.haproxy.org/v1
accept_invalid_http_request
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: accept_invalid_http_request: String allowed values are enableddisabled
acl_list
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp acl_list: - acl_name: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp acl_list: - criterion: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp acl_list: - index: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp acl_list: - value: String
backend_switching_rule_list
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp backend_switching_rule_list: - cond: String allowed values are ifunless
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp backend_switching_rule_list: - cond_test: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp backend_switching_rule_list: - index: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp backend_switching_rule_list: - name: String allowed pattern: ^[^\s]+$
backlog
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: backlog: Integer
bind_process
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: bind_process: String allowed pattern: ^[^\s]+$
binds
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - accept_netscaler_cip: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - accept_proxy: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - address: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - allow_0rtt: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - alpn: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - backlog: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ca_ignore_err: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ca_sign_file: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ca_sign_pass: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ca_verify_file: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ciphers: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ciphersuites: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - client_sigalgs: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - crl_file: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - crt_ignore_err: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - crt_list: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - curves: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - defer_accept: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ecdhe: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - expose_fd_listeners: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - force_sslv3: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - force_tlsv10: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - force_tlsv11: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - force_tlsv12: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - force_tlsv13: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - generate_certificates: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - gid: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - group: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - id: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - interface: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - level: String allowed values are useroperatoradmin
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - maxconn: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - mode: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - mss: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - name: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - namespace: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - nbconn: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - nice: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_alpn: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_ca_names: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_sslv3: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_tls_tickets: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_tlsv10: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_tlsv11: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_tlsv12: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - no_tlsv13: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - npn: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - port: Integer Minimum: 1 Maximum: 65535
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - port-range-end: Integer Minimum: 1 Maximum: 65535
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - prefer_client_ciphers: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - process: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - proto: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - quic-cc-algo: String allowed values are cubicnewreno
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - quic-force-retry: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - quic-socket: String allowed values are connectionlistener
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - severity_output: String allowed values are nonenumberstring
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - sigalgs: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ssl: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ssl_cafile: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ssl_certificate: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ssl_max_ver: String allowed values are SSLv3TLSv1.0TLSv1.1TLSv1.2TLSv1.3
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - ssl_min_ver: String allowed values are SSLv3TLSv1.0TLSv1.1TLSv1.2TLSv1.3
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - strict_sni: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - tcp_user_timeout: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - tfo: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - thread: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - tls_ticket_keys: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - transparent: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - uid: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - user: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - v4v6: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - v6only: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp binds: - verify: String allowed values are noneoptionalrequired
capture_list
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp capture_list: - index: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp capture_list: - length: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp capture_list: - type: String allowed values are requestresponse
clflog
[boolean]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: clflog: Boolean
client_fin_timeout
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: client_fin_timeout: Integer
client_timeout
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: client_timeout: Integer
clitcpka
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: clitcpka: String allowed values are enableddisabled
clitcpka_cnt
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: clitcpka_cnt: Integer
clitcpka_idle
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: clitcpka_idle: Integer
clitcpka_intvl
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: clitcpka_intvl: Integer
compression
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: compression:
algo-req: String allowed values are identitygzipdeflateraw-deflate
algorithms: Array of String
algos-res: Array of String
direction: String allowed values are requestresponseboth
offload: Boolean
types: Array of String
types-req: Array of String
types-res: Array of String
contstats
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: contstats: String allowed values are enabled
default_backend
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: default_backend: String allowed pattern: ^[A-Za-z0-9-_.:]+$
description
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: description: String
disable_h2_upgrade
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: disable_h2_upgrade: String allowed values are enableddisabled
disabled
[boolean]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: disabled: Boolean
dontlog_normal
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: dontlog_normal: String allowed values are enableddisabled
dontlognull
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: dontlognull: String allowed values are enableddisabled
email_alert
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: email_alert:
from: String allowed pattern: ^\S+@\S+$
level: String allowed values are emergalertcriterrwarningnoticeinfodebug
mailers: String
myhostname: String
to: String allowed pattern: ^\S+@\S+$
enabled
[boolean]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: enabled: Boolean
error_files
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp error_files: - code: Integer 200400401403404405407408410413425429500501502503504
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp error_files: - file: String
error_log_format
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: error_log_format: String
errorfiles_from_http_errors
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp errorfiles_from_http_errors: - codes: Array of Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp errorfiles_from_http_errors: - name: String
errorloc302
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: errorloc302:
code: Integer 200400401403404405407408410413425429500501502503504
url: String
errorloc303
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: errorloc303:
code: Integer 200400401403404405407408410413425429500501502503504
url: String
filter_list
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - app_name: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - bandwidth_limit_name: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - cache_name: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - default_limit: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - default_period: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - index: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - key: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - limit: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - min_size: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - spoe_config: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - spoe_engine: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - table: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - trace_hexdump: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - trace_name: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - trace_rnd_forwarding: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - trace_rnd_parsing: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp filter_list: - type: String allowed values are tracecompressionspoecachefcgi-appbwlim-inbwlim-out
forwardfor
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: forwardfor:
enabled: String allowed values are enabled
except: String allowed pattern: ^[^\s]+$
header: String allowed pattern: ^[^\s]+$
ifnone: Boolean
from
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: from: String allowed pattern: ^[A-Za-z0-9-_.:]+$
h1_case_adjust_bogus_client
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: h1_case_adjust_bogus_client: String allowed values are enableddisabled
http-buffer-request
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http-buffer-request: String allowed values are enableddisabled
http-use-htx
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http-use-htx: String allowed values are enableddisabled
http_connection_mode
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http_connection_mode: String allowed values are httpclosehttp-server-closehttp-keep-alive
http_ignore_probes
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http_ignore_probes: String allowed values are enableddisabled
http_keep_alive_timeout
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http_keep_alive_timeout: Integer
http_no_delay
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http_no_delay: String allowed values are enableddisabled
http_request_timeout
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http_request_timeout: Integer
http_restrict_req_hdr_names
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http_restrict_req_hdr_names: String allowed values are preservedeletereject
http_use_proxy_header
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: http_use_proxy_header: String allowed values are enableddisabled
httplog
[boolean]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: httplog: Boolean
httpslog
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: httpslog: String allowed values are enableddisabled
id
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: id: Integer
idle_close_on_response
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: idle_close_on_response: String allowed values are enableddisabled
independent_streams
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: independent_streams: String allowed values are enableddisabled
log_format
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: log_format: String
log_format_sd
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: log_format_sd: String
log_separate_errors
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: log_separate_errors: String allowed values are enableddisabled
log_tag
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: log_tag: String allowed pattern: ^[A-Za-z0-9-_.:]+$
log_target_list
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - address: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - facility: String allowed values are kernusermaildaemonauthsysloglprnewsuucpcronauth2ftpntpauditalertcron2local0local1local2local3local4local5local6local7
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - format: String allowed values are localrfc3164rfc5424priorityshorttimedisoraw
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - global: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - index: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - length: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - level: String allowed values are emergalertcriterrwarningnoticeinfodebug
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - minlevel: String allowed values are emergalertcriterrwarningnoticeinfodebug
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - nolog: Boolean
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - sample_range: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp log_target_list: - sample_size: Integer
logasap
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: logasap: String allowed values are enableddisabled
maxconn
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: maxconn: Integer
mode
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: mode: String allowed values are httptcp
monitor_fail
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: monitor_fail:
cond: String allowed values are ifunless
cond_test: String
monitor_uri
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: monitor_uri: String
name
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: name: String allowed pattern: ^[A-Za-z0-9-_.:]+$
nolinger
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: nolinger: String allowed values are enableddisabled
originalto
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: originalto:
enabled: String allowed values are enabled
except: String allowed pattern: ^[^\s]+$
header: String allowed pattern: ^[^\s]+$
socket_stats
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: socket_stats: String allowed values are enableddisabled
splice_auto
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: splice_auto: String allowed values are enableddisabled
splice_request
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: splice_request: String allowed values are enableddisabled
splice_response
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: splice_response: String allowed values are enableddisabled
stats_options
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: stats_options:
stats_admin: Boolean
stats_admin_cond: String allowed values are ifunless
stats_admin_cond_test: String
stats_auths:
passwd: String
user: String
stats_enable: Boolean
stats_hide_version: Boolean
stats_http_requests:
cond: String
cond_test: String
realm: String
type: String allowed values are allowdenyauth
stats_maxconn: Integer Minimum: 1
stats_realm: Boolean
stats_realm_realm: String
stats_refresh_delay: Integer
stats_show_desc: String
stats_show_legends: Boolean
stats_show_modules: Boolean
stats_show_node_name: String allowed pattern: ^[^\s]+$
stats_uri_prefix: String allowed pattern: ^[^\s]+$
stick_table
[object]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: stick_table:
expire: Integer
keylen: Integer
nopurge: Boolean
peers: String allowed pattern: ^[^\s]+$
size: Integer
srvkey: String allowed values are addrname
store: String allowed pattern: ^[^\s]+$
type: String allowed values are ipipv6integerstringbinary
write_to: String allowed pattern: ^[^\s]+$
tarpit_timeout
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: tarpit_timeout: Integer
tcp_request_rule_list
[array]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - action: String allowed values are acceptattach-srvcapturedo-resolveexpect-netscaler-cipexpect-proxyrejectsc-add-gpcsc-inc-gpcsc-inc-gpc0sc-inc-gpc1sc-set-gpt0send-spoe-groupset-dst-portset-dstset-priorityset-srcset-varsilent-droptrack-sc0track-sc1track-sc2track-scunset-varuse-serviceluaset-bandwidth-limitset-src-portset-markset-tosset-var-fmtset-log-levelset-niceswitch-mode
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - bandwidth_limit_limit: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - bandwidth_limit_name: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - bandwidth_limit_period: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - capture_len: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - capture_sample: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - cond: String allowed values are ifunless
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - cond_test: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - expr: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - gpt_value: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - index: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - log_level: String allowed values are emergalertcriterrwarningnoticeinfodebugsilent
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - lua_action: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - lua_params: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - mark_value: String allowed pattern: ^(0x[0-9A-Fa-f]+|[0-9]+)$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - nice_value: Integer Minimum: -1024 Maximum: 1024
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - priority_type: String allowed values are classoffset
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - resolve_protocol: String allowed values are ipv4ipv6
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - resolve_resolvers: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - resolve_var: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - sc_idx: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - sc_inc_id: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - sc_int: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - server_name: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - service_name: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - spoe_engine_name: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - spoe_group_name: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - switch_mode_proto: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - timeout: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - tos_value: String allowed pattern: ^(0x[0-9A-Fa-f]+|[0-9]+)$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - track_key: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - track_stick_counter: Integer
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - track_table: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - type: String allowed values are connectioncontentinspect-delaysession
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - var_format: String
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - var_name: String allowed pattern: ^[^\s]+$
apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp tcp_request_rule_list: - var_scope: String allowed pattern: ^[^\s]+$
tcp_smart_accept
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: tcp_smart_accept: String allowed values are enableddisabled
tcpka
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: tcpka: String allowed values are enableddisabled
tcplog
[boolean]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: tcplog: Boolean
unique_id_format
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: unique_id_format: String
unique_id_header
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp frontend: unique_id_header: String
Service
-
CRD version:
3.0
-
API version:
ingress.v1.haproxy.org/v1
name
[string]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp service: name: String
port
[integer]apiVersion: "ingress.v1.haproxy.org/v1" kind: TCP metadata: name: example-tcp spec: - name: example-tcp service: port: Integer Minimum: 1 Maximum: 65535
Do you have any suggestions on how we can improve the content of this page?