-
Notifications
You must be signed in to change notification settings - Fork 20
helm
Mehrdad Arshad Rad edited this page Dec 18, 2020
·
4 revisions
helm install tcpprobe tcpprobe
- 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
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