Skip to content
Mehrdad Arshad Rad edited this page Dec 18, 2020 · 4 revisions

Helm Chart


Helm install

helm install tcpprobe tcpprobe

Reference

  • namespace (string: default) - The default kubernetes namespace.
  • interval: (string: 20s) - Time to wait after each request
  • timeout: (string: 5s) - Timeout for dialing to targets
  • httpTimeout: (string: 30s) - Timeout for HTTP
  • ipTypeOfService: (int: 0) - Set the IP type of service (zero means: depends on the OS)
  • ipTimeToLive: (int: 0) - Set the IP time to live (zero means: depends on the OS)
  • tcpMSS: (int: 0) - TCP max segment size (default: 0 (zero means: depends on the OS)
  • tcpMaxSocketSendBuf: (int: 0) - Maximum socket send buffer in bytes (zero means: depends on the OS)
  • tcpMaxSocketRecvBuf: (int: 0) - Maximum socket receive buffer (zero means: depends on the OS)
  • tcpNoDelayDisable: (bool: false) - Disable Nagle's algorithm
  • tcpQuickAckDiable: (bool: false) - Disable quickack mode
  • debug: (bool: false) - Enable/Disable probing logging

TCPProbe annotations

Annotations on pods allow a fine control of the probing process.

  • tcpprobe/targets
  • tcpprobe/interval (optional)
  • tcpprobe/labels (optional)
  • target's delimiter is double-semicolon
apiVersion: apps/v1 
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 1
  template:
    metadata:
      labels:
        app: nginx
      annotations:
        tcpprobe/targets: "http://PODIP:80"
        tcpprobe/interval: "10s"
        tcpprobe/labels: '{"app": "nginx"}'
    spec:
      containers:
        - name: nginx
          image: nginx:latest
          ports:
            - containerPort: 80
Clone this wiki locally