-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add command line argument to manually disable IPV6 listeners for unsupported clusters #3040
Conversation
1a7fba6
to
1b6fa61
Compare
@@ -243,6 +243,7 @@ Parameter | Description | Default | |||
`controller.enableLatencyMetrics` | Enable collection of latency metrics for upstreams. Requires `prometheus.create`. | false | |||
`controller.minReadySeconds` | Specifies the minimum number of seconds for which a newly created Pod should be ready without any of its containers crashing, for it to be considered available. [docs](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds) | 0 | |||
`controller.strategy` | Specifies the strategy used to replace old Pods by new ones. [docs](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy) | {} | |||
`controller.disableIPV6` | Disable IPV6 listeners explicitly for nodes that do not support the IPV6 stack. | false |
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 entry needs to go into docs/content/installation/installation-with-helm.md
also
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.
Documentation updated.
{{if $upstream.LBMethod }}{{$upstream.LBMethod}};{{end}} | ||
{{range $server := $upstream.UpstreamServers}} |
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.
Why is this indentation being changed? It was correct the way it was (it should be inline with the upstream block opened on line 3)
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 was caused by the linter in my IDE. Will revert the change.
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.
fixed
{{ if $u.LoadBalancingMethod }} | ||
{{ $u.LoadBalancingMethod }}; | ||
{{ end }} | ||
|
||
{{ range $s := $u.Servers }} | ||
{{ range $s := $u.Servers }} |
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.
Same comment as above - this indentation should not be changed.
{{ if $u.LoadBalancingMethod }} | ||
{{ $u.LoadBalancingMethod }}; | ||
{{ end }} | ||
|
||
{{ range $s := $u.Servers }} | ||
{{ range $s := $u.Servers }} | ||
server {{ $s.Address }} max_fails={{ $s.MaxFails }} fail_timeout={{ $s.FailTimeout }} max_conns={{ $s.MaxConnections }}; | ||
{{ end }} | ||
{{ end }} |
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.
Ditto re: indentation
1b6fa61
to
e99b551
Compare
Codecov Report
@@ Coverage Diff @@
## main #3040 +/- ##
==========================================
- Coverage 52.31% 52.31% -0.01%
==========================================
Files 58 58
Lines 15995 16006 +11
==========================================
+ Hits 8368 8373 +5
- Misses 7350 7356 +6
Partials 277 277
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
e99b551
to
ad42eb5
Compare
ad42eb5
to
2fc0064
Compare
a8eab57
to
23ee4e5
Compare
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.
👍🏼
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.
👍🏻
Proposed changes
Add command line argument to manually disable IPV6 listeners for clusters that support IPV4 only.
Checklist
Before creating a PR, run through this checklist and mark each as complete.