-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tune haproxy configuration #740
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,13 +33,16 @@ type ConfigData struct { | |
// DefaultConfigTemplate is the loadbalancer config template | ||
const DefaultConfigTemplate = `# generated by kind | ||
global | ||
stats socket /var/run/haproxy.sock mode 600 level admin | ||
stats timeout 2m | ||
log /dev/log local0 | ||
log /dev/log local1 notice | ||
daemon | ||
|
||
defaults | ||
log global | ||
mode tcp | ||
option tcpka | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm still seeing the same behavior with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🤔 seems that 🤷♂
|
||
option dontlognull | ||
# TODO: tune these | ||
timeout connect 5000 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is useful for debugging, installint socat or netcat in the haproxy container, you can check the sessions status per example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM