Back to Talos

TCPProbeConfig

website/content/v1.13/reference/configuration/network/tcpprobeconfig.md

1.13.01.5 KB
Original Source
<!-- markdownlint-disable -->

{{< highlight yaml >}} apiVersion: v1alpha1 kind: TCPProbeConfig name: proxy-check # Name of the probe. interval: 1s # Interval between probe attempts. failureThreshold: 3 # Number of consecutive failures for the probe to be considered failed after having succeeded. endpoint: proxy.example.com:3128 # Endpoint to probe in the format host:port. timeout: 10s # Timeout for the probe. {{< /highlight >}}

FieldTypeDescriptionValue(s)
namestringName of the probe. <details><summary>Show example(s)</summary>{{< highlight yaml >}}
name: proxy-check
{{< /highlight >}}</details>
intervalDurationInterval between probe attempts.
Defaults to 1s. <details><summary>Show example(s)</summary>{{< highlight yaml >}}
interval: 1s
{{< /highlight >}}</details>
failureThresholdintNumber of consecutive failures for the probe to be considered failed after having succeeded.
Defaults to 0 (immediately fail on first failure). <details><summary>Show example(s)</summary>{{< highlight yaml >}}
failureThreshold: 3
{{< /highlight >}}</details>
endpointstringEndpoint to probe in the format host:port. <details><summary>Show example(s)</summary>{{< highlight yaml >}}
endpoint: proxy.example.com:3128
{{< /highlight >}}</details>
timeoutDurationTimeout for the probe.
Defaults to 10s. <details><summary>Show example(s)</summary>{{< highlight yaml >}}
timeout: 10s
{{< /highlight >}}</details>