TCP
The TCP check verifies that a network port is reachable.
tcp.yamlapiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: tcp-check
spec:
schedule: "*/1 * * * *"
tcp:
- name: "flanksource website"
endpoint: www.flanksource.com:443
icon: https://flanksource.com/docs/img/flanksource-icon.png
thresholdMillis: 1200
display:
template: Success
| Field | Description | Scheme |
|---|---|---|
endpoint* | Hostname or IPv4 address and port in |
|
name* | Name of the check, must be unique within the canary |
|
thresholdMillis | Connection timeout in milliseconds. When unset or | int64 |
dependsOn | Checks that must complete before this check runs |
|
description | Description for the check |
|
display | Expression to change the formatting of the display | |
icon | Icon for overwriting default icon on the dashboard | |
labels | Labels for check |
|
markFailOnEmpty | If a transformation or datasource returns empty results, the check should fail |
|
metrics | Metrics to export from | |
namespace | Namespace to insert the check result into when it differs from the canary namespace |
|
relationships | Relationships that link check results to components or configs | Relationship |
test | Evaluate whether a check is healthy | |
transform | Transform data from a check into multiple individual checks | |
transformDeleteStrategy | Status to apply to transformed checks when the source check no longer returns them |
|